Skip to content

Commit

Permalink
Fixes #187 Changing date will leave all events visible from previous …
Browse files Browse the repository at this point in the history
…date range
  • Loading branch information
dlemmermann committed Sep 27, 2022
1 parent 8f249da commit 91ee07a
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 263 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package impl.com.calendarfx.view.resources;

import com.calendarfx.view.DayViewBase;
import com.calendarfx.view.resources.Resource;
import com.calendarfx.view.resources.ResourcesView;
import javafx.scene.control.Skin;

public class ResourcesViewContainer<T extends Resource<?>> extends DayViewBase {

private final ResourcesView<T> resourcesView;

public ResourcesViewContainer(ResourcesView<T> view) {
this.resourcesView = view;
getStyleClass().add("resources-view-container");
setShowToday(false);
}

@Override
protected Skin<?> createDefaultSkin() {
return new ResourcesViewContainerSkin<>(this);
}

public final ResourcesView<T> getResourcesView() {
return resourcesView;
}
}

Loading

0 comments on commit 91ee07a

Please sign in to comment.