YearView. Alternatively the page can
also display months in columns via the MonthSheetView control. The
application can switch between these two views by calling setDisplayMode(DisplayMode).
| Modifier and Type | Class and Description |
|---|---|
| public static enum | YearPage.
An enum used for setting the display mode of the |
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectProperty | |
| private final ToggleButton | |
| private final MonthSheetView | |
| private final String | |
| private final YearView |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ObjectProperty | Returns: the display modeA property used to control whether the page should display the year in a grid format (with each cell containing a single month) or in a column format (each column representing one month). |
| public final YearPage. | |
| public final MonthSheetView | Returns: the month sheet viewReturns the |
| public final ViewType | getPrintViewType()
Implements abstract com. Returns the type of view used when printing this page. |
| public ObservableList | getPropertySheetItems()
Overrides com. Returns a list of property items that can be shown by the
|
| public Node | getToolBarControls()
Overrides com. Returns one or more controls that can be added to the toolbar by the
surrounding container, e.g. the |
| public final YearView | Returns: the year viewReturns the |
| public final void | goBack()
Overrides com. Makes the control go forward in time by removing one or more days from the current date. |
| public final void | goForward()
Overrides com. Makes the control go forward in time by adding one or more days to the current date. |
| public final void | |
| private void |
| displayMode | back to summary |
|---|---|
| private final ObjectProperty<YearPage. | |
| displayModeButton | back to summary |
|---|---|
| private final ToggleButton displayModeButton | |
| monthSheetView | back to summary |
|---|---|
| private final MonthSheetView monthSheetView | |
| YEAR_PAGE_CATEGORY | back to summary |
|---|---|
| private final String YEAR_PAGE_CATEGORY | |
| yearView | back to summary |
|---|---|
| private final YearView yearView | |
| YearPage | back to summary |
|---|---|
| public YearPage() Constructs a new year page. | |
| 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 | |
| displayModeProperty | back to summary |
|---|---|
| public final ObjectProperty A property used to control whether the page should display the year in a grid format (with each cell containing a single month) or in a column format (each column representing one month).
| |
| getDisplayMode | back to summary |
|---|---|
| public final YearPage. Returns the value of
| |
| getMonthSheetView | back to summary |
|---|---|
| public final MonthSheetView getMonthSheetView() Returns the
| |
| getPrintViewType | back to summary |
|---|---|
| public final ViewType getPrintViewType() Implements abstract com. Doc from com. Returns the type of view used when printing this page. | |
| getPropertySheetItems | back to summary |
|---|---|
| public ObservableList Overrides com. Doc from com. Returns a list of property items that can be shown by the
| |
| getToolBarControls | back to summary |
|---|---|
| public Node getToolBarControls() Overrides com. Doc from com. Returns one or more controls that can be added to the toolbar by the
surrounding container, e.g. the | |
| getYearView | back to summary |
|---|---|
| public final YearView getYearView() Returns the
| |
| goBack | back to summary |
|---|---|
| public final void goBack() Overrides com. Doc from com. Makes the control go forward in time by removing one or more days from
the current date. Subclasses override this method to adjust it to their
needs, e.g. the
| |
| goForward | back to summary |
|---|---|
| public final void goForward() Overrides com. Doc from com. Makes the control go forward in time by adding one or more days to the
current date. Subclasses override this method to adjust it to their
needs, e.g. the
| |
| setDisplayMode | back to summary |
|---|---|
| public final void setDisplayMode(YearPage. Sets the value of
| |
| updateDisplayModeIcon | back to summary |
|---|---|
| private void updateDisplayModeIcon() | |
YearPage. The
page can display the 12 months of a year in a grid or a column layout.
displayModeProperty()
| Modifier and Type | Field and Description |
|---|---|
| public static final YearPage. | |
| public static final YearPage. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static YearPage. | |
| public static YearPage. |
| COLUMNS | back to summary |
|---|---|
| public static final YearPage. | |
| GRID | back to summary |
|---|---|
| public static final YearPage. | |
| DisplayMode | back to summary |
|---|---|
| private DisplayMode() | |
| valueOf | back to summary |
|---|---|
| public static YearPage. | |
| values | back to summary |
|---|---|
| public static YearPage. | |