-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #187 Changing date will leave all events visible from previous …
…date range
- Loading branch information
1 parent
8f249da
commit 91ee07a
Showing
4 changed files
with
64 additions
and
263 deletions.
There are no files selected for viewing
224 changes: 0 additions & 224 deletions
224
CalendarFXView/src/main/java/impl/com/calendarfx/view/resources/ResourcesContainer.java
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
CalendarFXView/src/main/java/impl/com/calendarfx/view/resources/ResourcesViewContainer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
|
Oops, something went wrong.