Returns the weekday that is considered the "first day of the week". In Germany the first day of the week is "Monday", in the US it is "Sunday". This is, for example, relevant for displaying grid lines correctly (between weeks).
the first day of week
Returns the time at the current pointer location.
the time at the current pointer location
The model of the dateline control. The model provides information about the list of supported resolutions, available time zones, number of scales inside the dateline.
the dateline model
Returns the "primary" temporal unit, which is the unit shown at the bottom of the dateline. Example: the dateline shows "Year / Month" at the top and "Days" at the bottom. In this case "Days" will be the primary temporal unit. The primary temporal unit is always passed to the activity repositories when querying for the activities inside the visible time range. This allows the repository to return more or less activities. Example: calendars can decide to not return weekend days if the user is currently looking at "Years".
the currently shown primary temporal unit
Returns the list of the currently displayed resolutions within the various scales of the dateline. Example: when the dateline displays "Month" at the top, "Days" in the middle, and "Hours" at the bottom, then the list will have three entries, each entry representing the resolution of its scale.
the list of currently showing resolutions
A list of the currently selected time intervals. This list is the "selection model" of the dateline. The difference to
the selectedTimeIntervalProperty()
is that these selections are permanent while the single selected time interval is
only used to highlight a section within the dateline for zoom in / out operations. This list of selected time intervals
however represents days or weeks that the user clicked on while pressing the command key (on Mac) or the CTRL key (on Windows / Linux).
the list of selected time intervals
The currently selected time interval. The value of this property gets updated whenever the user performs a time interval selection by dragging the pointer inside the timeline.
the currently selected time interval
Returns the selection mode applied by the dateline when the user adds time interval selections. The value of this property enables the application to switch between a single selection model and a multi selection model.
the selection mode (single, multi)
Returns the parent timeline container / node.
the parent timeline
Returns the width of the dateline
the width of the dateline
Returns the time zone that is currently shown by the dateline. In this framework the dateline and each row can have their own time zones.
the time zone ID
Returns the visibility of the time zone name. The dateline is capable of displaying the time zone that it represents in its upper right corner.
true if the time zone ID shall be shown to the user
The zoom lasso allows the user to select a time range inside the dateline so that the dateline will zoom in as much as needed in order to make the range completely fill the visible area.
true if the zoom lasso is enabled
Sets the first day of week.
the first day of week
Sets the model of the dateline control.
the dateline model
Sets the selection mode (single, multi).
the selection mode (single, multi)
Sets the width of the dateline.
Sets the time zone ID.
the time zone ID
Sets visibility of the time zone ID.
true if the time zone ID shall be shown to the user
Sets the value of zoomLassoEnabledProperty().
if true then the zoom lasso is enabled
The dateline is a control that displays the actual dates (Mo, Tu, We, ...) in cells in one or more rows. The dateline is timezone aware (see
setZoneId(ZoneId)
), keeps track of currently selected time intervals (getSelectedIntervals()
) and fires events of typeDatelineScrollingEvent
whenever the visible time range changes (seesetOnVisibleRangeChanged(EventHandler)
). Furthermore the dateline control constantly updates thehoverTimeIntervalProperty()
whenever the pointer moves over it.1.0