Module com.flexganttfx.model
Package com.flexganttfx.model
Interface Calendar<A extends CalendarActivity>
- Type Parameters:
A
- the type of the calendar activities shown by the calendar
- All Superinterfaces:
ActivityRepository<A>
,EventTarget
- All Known Implementing Classes:
CalendarBase
,WeekendCalendar
A calendar is an extension of an activity repository with the additions of a
name and a visibility property. Calendars can be added to the whole Gantt
chart or to individual rows within the Gantt chart.
- Since:
- 1.0
- See Also:
-
Property Summary
PropertiesTypePropertyDescriptionReturns the property used to store the name of the calendar.Returns the property used to store the visibility flag of the calendar. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property used to store the name of the calendar.Returns the property used to store the visibility flag of the calendar.Methods inherited from interface com.flexganttfx.model.ActivityRepository
addEventHandler, getActivities, getEarliestTimeUsed, getLatestTimeUsed, removeEventHandler
Methods inherited from interface javafx.event.EventTarget
buildEventDispatchChain
-
Property Details
-
name
StringProperty namePropertyReturns the property used to store the name of the calendar. The name might be displayed by the UI (e.g. in a context menu).- Since:
- 1.0
- See Also:
-
visible
BooleanProperty visiblePropertyReturns the property used to store the visibility flag of the calendar. Calendars can be shown / hidden by the user.- Since:
- 1.0
- See Also:
-
-
Method Details
-
nameProperty
StringProperty nameProperty()Returns the property used to store the name of the calendar. The name might be displayed by the UI (e.g. in a context menu).- Returns:
- the name of the calendar, for example ("Weekends")
- Since:
- 1.0
-
visibleProperty
BooleanProperty visibleProperty()Returns the property used to store the visibility flag of the calendar. Calendars can be shown / hidden by the user.- Returns:
- the calendar's visibility
- Since:
- 1.0
-