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()
-
Property Summary
Properties Type Property Description StringProperty
name
Returns the property used to store the name of the calendar.BooleanProperty
visible
Returns the property used to store the visibility flag of the calendar. -
Method Summary
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
-
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
-
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
-
-
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).- 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.- Since:
- 1.0
-