CalendarView instances.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final StringProperty | |
| private final StringProperty | |
| private CalendarView | |
| private static final PseudoClass | |
| private final ObjectProperty | |
| private ObjectProperty | |
| private final ObservableList | |
| private final ObjectProperty | |
| private final StringProperty | |
| private final CalendarView. | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private CalendarView | |
| private final StringProperty | |
| private final ObjectProperty | |
| private static final PseudoClass |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final StringProperty | |
| public final StringProperty | |
| private CalendarView | |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| private DateRangePreset | |
| private DateRangePreset | |
| private DateRangePreset | |
| private DateRangePreset | |
| private DateRangePreset | |
| public final String | |
| public final String | |
| public static List | Returns: theCssMetaDataHides javafx. Gets the |
| public List | getControlCssMetaData()
Overrides javafx. Gets the unmodifiable list of the control's CSS-styleable properties. |
| public CalendarView | Returns: the calendar view for the end date selectionReturns the |
| public final Runnable | |
| public final Orientation | |
| public final ObservableList | |
| public final Side | |
| public final String | |
| public final CalendarView. | Returns: the shared calendar selection modelReturns the selection model used and shared by the two calendar picker instances. |
| public CalendarView | Returns: the calendar view for the start date selectionReturns the |
| public final String | |
| public String | getUserAgentStylesheet()
Overrides javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. |
| public final DateRange | |
| public final boolean | |
| public final boolean | |
| public final ObjectProperty | Returns: the closing callbackA runnable callback that will be invoked when the user closes the control. |
| public final ObjectProperty | Returns: the layout orientation of the two calendar viewsDetermines how the start and end calendars will be laid out, either next to each other (horizontal), or one on top of the other (vertical). |
| public final ObjectProperty | Returns: the location of the presetsDefines where the presets will be shown relative to the two calendar views. |
| public final StringProperty | Returns: the title for the preset sectionThe name used for the title label of the presets section. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final BooleanProperty | Returns: true if the buttons will be shownShows or hides the cancel and the apply buttons. |
| public final BooleanProperty | Returns: controls visibility of the presets sectionControls whether the presets will be shown by the control |
| public final StringProperty | Returns: the text for the "to" labelThe text shown on the label between the two calendar views. |
| public final ObjectProperty |
| applyText | back to summary |
|---|---|
| private final StringProperty applyText | |
| cancelText | back to summary |
|---|---|
| private final StringProperty cancelText | |
| endCalendarView | back to summary |
|---|---|
| private CalendarView endCalendarView | |
| HORIZONTAL_PSEUDOCLASS_STATE | back to summary |
|---|---|
| private static final PseudoClass HORIZONTAL_PSEUDOCLASS_STATE | |
| onClose | back to summary |
|---|---|
| private final ObjectProperty<Runnable> onClose | |
| orientation | back to summary |
|---|---|
| private ObjectProperty<Orientation> orientation | |
| presets | back to summary |
|---|---|
| private final ObservableList<DateRangePreset> presets | |
| presetsLocation | back to summary |
|---|---|
| private final ObjectProperty<Side> presetsLocation | |
| presetTitle | back to summary |
|---|---|
| private final StringProperty presetTitle | |
| selectionModel | back to summary |
|---|---|
| private final CalendarView. | |
| showCancelAndApplyButton | back to summary |
|---|---|
| private final BooleanProperty showCancelAndApplyButton | |
| showPresets | back to summary |
|---|---|
| private final BooleanProperty showPresets | |
| startCalendarView | back to summary |
|---|---|
| private CalendarView startCalendarView | |
| toText | back to summary |
|---|---|
| private final StringProperty toText | |
| value | back to summary |
|---|---|
| private final ObjectProperty<DateRange> value | |
| VERTICAL_PSEUDOCLASS_STATE | back to summary |
|---|---|
| private static final PseudoClass VERTICAL_PSEUDOCLASS_STATE | |
| DateRangeView | back to summary |
|---|---|
| public DateRangeView() Constructs a new date range view. | |
| applyTextProperty | back to summary |
|---|---|
| public final StringProperty applyTextProperty() The text used for the apply button.
| |
| cancelTextProperty | back to summary |
|---|---|
| public final StringProperty cancelTextProperty() The text used for the cancel button.
| |
| createCalendar | back to summary |
|---|---|
| private CalendarView createCalendar() | |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS
| |
| createLastMonthPreset | back to summary |
|---|---|
| private DateRangePreset createLastMonthPreset() | |
| createThisMonthPreset | back to summary |
|---|---|
| private DateRangePreset createThisMonthPreset() | |
| createThisWeekPreset | back to summary |
|---|---|
| private DateRangePreset createThisWeekPreset() | |
| createTodayRangePreset | back to summary |
|---|---|
| private DateRangePreset createTodayRangePreset() | |
| createYesterdayPreset | back to summary |
|---|---|
| private DateRangePreset createYesterdayPreset() | |
| getApplyText | back to summary |
|---|---|
| public final String getApplyText() | |
| getCancelText | back to summary |
|---|---|
| public final String getCancelText() | |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides javafx. Gets the
| |
| getControlCssMetaData | back to summary |
|---|---|
| public List Overrides javafx. Doc from javafx. Gets the unmodifiable list of the control's CSS-styleable properties.
| |
| getEndCalendarView | back to summary |
|---|---|
| public CalendarView getEndCalendarView() Returns the
| |
| getOnClose | back to summary |
|---|---|
| public final Runnable getOnClose() | |
| getOrientation | back to summary |
|---|---|
| public final Orientation getOrientation() | |
| getPresets | back to summary |
|---|---|
| public final ObservableList The list of currently available presets.
| |
| getPresetsLocation | back to summary |
|---|---|
| public final Side getPresetsLocation() | |
| getPresetTitle | back to summary |
|---|---|
| public final String getPresetTitle() | |
| getSelectionModel | back to summary |
|---|---|
| public final CalendarView. Returns the selection model used and shared by the two calendar picker instances.
| |
| getStartCalendarView | back to summary |
|---|---|
| public CalendarView getStartCalendarView() Returns the
| |
| getToText | back to summary |
|---|---|
| public final String getToText() | |
| getUserAgentStylesheet | back to summary |
|---|---|
| public String getUserAgentStylesheet() Overrides javafx. Doc from javafx. An implementation may specify its own user-agent styles for this Region, and its children, by overriding this method. These styles are used in addition to whatever user-agent stylesheets are in use. This provides a mechanism for third parties to introduce styles for custom controls. The URL is a hierarchical URI of the form [scheme:][//authority][path]. If the URL does not have a [scheme:] component, the URL is considered to be the [path] component only. Any leading '/' character of the [path] is ignored and the [path] is treated as a path relative to the root of the application's classpath. Subclasses overriding this method should not assume any particular implementation approach as to the number and frequency with which it is called. For this reason, attempting any kind of dynamic implementation (i.e. returning different user agent stylesheet values) based on some state change is highly discouraged, as there is no guarantee when, or even if, this method will be called. Some JavaFX CSS implementations may choose to cache this response for an indefinite period of time, and therefore there should be no expectation around when this method is called.
For additional information about using CSS with the scene graph,
see the CSS Reference Guide.
| |
| getValue | back to summary |
|---|---|
| public final DateRange getValue() | |
| isShowCancelAndApplyButton | back to summary |
|---|---|
| public final boolean isShowCancelAndApplyButton() | |
| isShowPresets | back to summary |
|---|---|
| public final boolean isShowPresets() | |
| onCloseProperty | back to summary |
|---|---|
| public final ObjectProperty A runnable callback that will be invoked when the user closes the control.
| |
| orientationProperty | back to summary |
|---|---|
| public final ObjectProperty Determines how the start and end calendars will be laid out, either next to each other (horizontal), or one on top of the other (vertical).
| |
| presetsLocationProperty | back to summary |
|---|---|
| public final ObjectProperty Defines where the presets will be shown relative to the two calendar views. Supports left and right side values.
| |
| presetTitleProperty | back to summary |
|---|---|
| public final StringProperty presetTitleProperty() The name used for the title label of the presets section. E.g. "Quick Selection".
| |
| setApplyText | back to summary |
|---|---|
| public final void setApplyText(String applyText) | |
| setCancelText | back to summary |
|---|---|
| public final void setCancelText(String cancelText) | |
| setOnClose | back to summary |
|---|---|
| public final void setOnClose(Runnable onClose) | |
| setOrientation | back to summary |
|---|---|
| public final void setOrientation(Orientation value) | |
| setPresetsLocation | back to summary |
|---|---|
| public final void setPresetsLocation(Side presetsLocation) | |
| setPresetTitle | back to summary |
|---|---|
| public final void setPresetTitle(String presetTitle) | |
| setShowCancelAndApplyButton | back to summary |
|---|---|
| public final void setShowCancelAndApplyButton(boolean showCancelAndApplyButton) | |
| setShowPresets | back to summary |
|---|---|
| public final void setShowPresets(boolean showPresets) | |
| setToText | back to summary |
|---|---|
| public final void setToText(String toText) | |
| setValue | back to summary |
|---|---|
| public final void setValue(DateRange value) | |
| showCancelAndApplyButtonProperty | back to summary |
|---|---|
| public final BooleanProperty showCancelAndApplyButtonProperty() Shows or hides the cancel and the apply buttons.
| |
| showPresetsProperty | back to summary |
|---|---|
| public final BooleanProperty showPresetsProperty() Controls whether the presets will be shown by the control
| |
| toTextProperty | back to summary |
|---|---|
| public final StringProperty toTextProperty() The text shown on the label between the two calendar views.
| |
| valueProperty | back to summary |
|---|---|
| public final ObjectProperty Stores the currently selected / defined date range.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final CssMetaData | |
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| ORIENTATION | back to summary |
|---|---|
| private static final CssMetaData<DateRangeView, Orientation> ORIENTATION | |
| STYLEABLES | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> STYLEABLES | |
| StyleableProperties | back to summary |
|---|---|
| private StyleableProperties() | |