| Modifier and Type | Class and Description |
|---|---|
| public static enum | YearMonthView.
An enumerator to control the behaviour of the control when the user clicks on a date. |
| public static class | YearMonthView.
The base date cell implementation for month views. |
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectProperty | |
| private final ObjectProperty | |
| private static final String | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty | |
| private final BooleanProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | Returns: the cell factoryA factory for creating alternative content for the month view. |
| public final ObjectProperty | Returns: the click behaviourThe behaviour used when the user clicks on a date. |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final Callback | |
| public final YearMonthView. | |
| public ObservableList | getPropertySheetItems()
Overrides com. Returns a list of property items that can be shown by the
|
| public final boolean | |
| public final boolean | Returns: true if the arrows will be shownReturns the value of the |
| public final boolean | Returns: true if the button is shownReturns the value of the |
| public final boolean | Returns: true if the colors will be shownReturns the value of the |
| public final boolean | |
| public final boolean | Returns: true if the arrows will be shownReturns the value of the |
| public final void | setCellFactory(Callback<YearMonthView, YearMonthView.
the cell factory factorySets the value of |
| public final void | setClickBehaviour(YearMonthView.
the click behaviour behaviourSets the value of |
| public final void | |
| public final void | setShowMonthArrows(boolean
if true will show the arrows show)Sets the value of the |
| public final void | setShowTodayButton(boolean
if true will show the button show)Sets the value of the |
| public final void | setShowUsageColors(boolean
if true will show the colors show)Sets the value of |
| public final void | |
| public final void | setShowYearArrows(boolean
if true will show the arrows show)Sets the value of the |
| public final BooleanProperty | Returns: true if the arrows will be shownShows or hides the arrows to change the month. |
| public final BooleanProperty | |
| public final BooleanProperty | Returns: true if the button will be shownShow or hide a button to quickly go to today's date. |
| public final BooleanProperty | Returns: true if the usage colors will be shownShow or hide usage colors that are based on the number of entries on a given date. |
| public final BooleanProperty | Returns: true if the arrows will be shownShows or hides the arrows to change the year. |
| public final BooleanProperty |
| cellFactory | back to summary |
|---|---|
| private final ObjectProperty<Callback<YearMonthView, YearMonthView. | |
| clickBehaviour | back to summary |
|---|---|
| private final ObjectProperty<YearMonthView. | |
| MONTH_VIEW_CATEGORY | back to summary |
|---|---|
| private static final String MONTH_VIEW_CATEGORY Hides com. | |
| showMonth | back to summary |
|---|---|
| private final BooleanProperty showMonth | |
| showMonthArrows | back to summary |
|---|---|
| private final BooleanProperty showMonthArrows | |
| showTodayButton | back to summary |
|---|---|
| private final BooleanProperty showTodayButton | |
| showUsageColors | back to summary |
|---|---|
| private final BooleanProperty showUsageColors | |
| showYear | back to summary |
|---|---|
| private final BooleanProperty showYear | |
| showYearArrows | back to summary |
|---|---|
| private final BooleanProperty showYearArrows | |
| YearMonthView | back to summary |
|---|---|
| public YearMonthView() Constructs a new view. | |
| cellFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty A factory for creating alternative content for the month view. The image
below shows the
| |
| clickBehaviourProperty | back to summary |
|---|---|
| public final ObjectProperty The behaviour used when the user clicks on a date.
| |
| 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 | |
| getCellFactory | back to summary |
|---|---|
| public final Callback Returns the value of
| |
| getClickBehaviour | back to summary |
|---|---|
| public final YearMonthView. Returns the value of
| |
| getPropertySheetItems | back to summary |
|---|---|
| public ObservableList Overrides com. Doc from com. Returns a list of property items that can be shown by the
| |
| isShowMonth | back to summary |
|---|---|
| public final boolean isShowMonth() Returns the value of
| |
| isShowMonthArrows | back to summary |
|---|---|
| public final boolean isShowMonthArrows() Returns the value of the
| |
| isShowTodayButton | back to summary |
|---|---|
| public final boolean isShowTodayButton() Returns the value of the
| |
| isShowUsageColors | back to summary |
|---|---|
| public final boolean isShowUsageColors() Returns the value of the
| |
| isShowYear | back to summary |
|---|---|
| public final boolean isShowYear() Returns the value of
| |
| isShowYearArrows | back to summary |
|---|---|
| public final boolean isShowYearArrows() Returns the value of the
| |
| setCellFactory | back to summary |
|---|---|
| public final void setCellFactory(Callback<YearMonthView, YearMonthView. Sets the value of
| |
| setClickBehaviour | back to summary |
|---|---|
| public final void setClickBehaviour(YearMonthView. Sets the value of
| |
| setShowMonth | back to summary |
|---|---|
| public final void setShowMonth(boolean show) Sets the value of
| |
| setShowMonthArrows | back to summary |
|---|---|
| public final void setShowMonthArrows(boolean show) Sets the value of the
| |
| setShowTodayButton | back to summary |
|---|---|
| public final void setShowTodayButton(boolean show) Sets the value of the
| |
| setShowUsageColors | back to summary |
|---|---|
| public final void setShowUsageColors(boolean show) Sets the value of
| |
| setShowYear | back to summary |
|---|---|
| public final void setShowYear(boolean show) Sets the value of
| |
| setShowYearArrows | back to summary |
|---|---|
| public final void setShowYearArrows(boolean show) Sets the value of the
| |
| showMonthArrowsProperty | back to summary |
|---|---|
| public final BooleanProperty showMonthArrowsProperty() Shows or hides the arrows to change the month.
| |
| showMonthProperty | back to summary |
|---|---|
| public final BooleanProperty showMonthProperty() Show or hide the name of the month.
| |
| showTodayButtonProperty | back to summary |
|---|---|
| public final BooleanProperty showTodayButtonProperty() Show or hide a button to quickly go to today's date.
| |
| showUsageColorsProperty | back to summary |
|---|---|
| public final BooleanProperty showUsageColorsProperty() Show or hide usage colors that are based on the number of entries on a
given date. The image below shows those colors in action:
| |
| showYearArrowsProperty | back to summary |
|---|---|
| public final BooleanProperty showYearArrowsProperty() Shows or hides the arrows to change the year.
| |
| showYearProperty | back to summary |
|---|---|
| public final BooleanProperty showYearProperty() Show or hide the year.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final YearMonthView. | NONE
Do nothing when the user clicks on a date. |
| public static final YearMonthView. | PERFORM_SELECTION
A value used to make the control select the date on which the user clicked. |
| public static final YearMonthView. | SHOW_DETAILS
A value used to make the control show some kind of dialog or popover to show details about the clicked date. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static YearMonthView. | |
| public static YearMonthView. |
| NONE | back to summary |
|---|---|
| public static final YearMonthView. Do nothing when the user clicks on a date. | |
| PERFORM_SELECTION | back to summary |
|---|---|
| public static final YearMonthView. A value used to make the control select the date on which the user clicked. | |
| SHOW_DETAILS | back to summary |
|---|---|
| public static final YearMonthView. A value used to make the control show some kind of dialog or popover to show details about the clicked date. | |
| ClickBehaviour | back to summary |
|---|---|
| private ClickBehaviour() | |
| valueOf | back to summary |
|---|---|
| public static YearMonthView. | |
| values | back to summary |
|---|---|
| public static YearMonthView. | |
setCellFactory(Callback)
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final LocalDate | |
| public final void | |
| protected void |
| date | back to summary |
|---|---|
| private LocalDate date | |
| DateCell | back to summary |
|---|---|
| public DateCell() | |
| getDate | back to summary |
|---|---|
| public final LocalDate getDate() | |
| setDate | back to summary |
|---|---|
| public final void setDate(LocalDate date) | |
| update | back to summary |
|---|---|
| protected void update(LocalDate date) | |