| Modifier and Type | Field and Description |
|---|---|
| private final IntegerProperty | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final IntegerProperty | |
| private final ObjectProperty | |
| private final ReadOnlyIntegerWrapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final IntegerProperty | |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ObjectProperty | Returns: the earliest yearThe earliest year that the user will be able to select in the view. |
| public final int | |
| public final Year | |
| public final Year | |
| public final int | |
| 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 Year | |
| public final int | |
| public final ObjectProperty | Returns: the earliest yearThe latest year that the user will be able to select in the view. |
| public final IntegerProperty | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final ObjectProperty | |
| public final ReadOnlyIntegerProperty | Returns: the year as an integer valueA read-only integer representation of the current value / year. |
| cols | back to summary |
|---|---|
| private final IntegerProperty cols | |
| earliestYear | back to summary |
|---|---|
| private final ObjectProperty<Year> earliestYear | |
| latestYear | back to summary |
|---|---|
| private final ObjectProperty<Year> latestYear | |
| rows | back to summary |
|---|---|
| private final IntegerProperty rows | |
| value | back to summary |
|---|---|
| private final ObjectProperty<Year> value | |
| year | back to summary |
|---|---|
| private final ReadOnlyIntegerWrapper year | |
| YearView | back to summary |
|---|---|
| public YearView() Constructs a new instance. | |
| colsProperty | back to summary |
|---|---|
| public final IntegerProperty colsProperty() Determines how many columns of years will be displayed. The number of columns multiplied with the number of rows determines the total number of years shown per "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
| |
| earliestYearProperty | back to summary |
|---|---|
| public final ObjectProperty The earliest year that the user will be able to select in the view.
| |
| getCols | back to summary |
|---|---|
| public final int getCols() | |
| getEarliestYear | back to summary |
|---|---|
| public final Year getEarliestYear() | |
| getLatestYear | back to summary |
|---|---|
| public final Year getLatestYear() | |
| getRows | back to summary |
|---|---|
| public final int getRows() | |
| 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 Year getValue() | |
| getYear | back to summary |
|---|---|
| public final int getYear() | |
| latestYearProperty | back to summary |
|---|---|
| public final ObjectProperty The latest year that the user will be able to select in the view.
| |
| rowsProperty | back to summary |
|---|---|
| public final IntegerProperty rowsProperty() Determines how many rows of years will be displayed. The number of columns multiplied with the number of rows determines the total number of years shown per "page".
| |
| setCols | back to summary |
|---|---|
| public final void setCols(int cols) | |
| setEarliestYear | back to summary |
|---|---|
| public final void setEarliestYear(Year earliestYear) | |
| setLatestYear | back to summary |
|---|---|
| public final void setLatestYear(Year latestYear) | |
| setRows | back to summary |
|---|---|
| public final void setRows(int rows) | |
| setValue | back to summary |
|---|---|
| public final void setValue(Year value) | |
| valueProperty | back to summary |
|---|---|
| public final ObjectProperty The currently selected value / year.
| |
| yearProperty | back to summary |
|---|---|
| public final ReadOnlyIntegerProperty yearProperty() A read-only integer representation of the current value / year.
| |