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
public interface Calendar<A extends CalendarActivity> extends ActivityRepository<A>
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:
Row.getCalendars()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringProperty
nameProperty()
Returns the property used to store the name of the calendar.BooleanProperty
visibleProperty()
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
-
-
-
-
Method Detail
-
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
-
-