| Modifier and Type | Field and Description |
|---|---|
| private final ObjectProperty | |
| private final ListProperty | |
| private final ObjectProperty | |
| private final ObjectProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final ObjectProperty | |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ListProperty | |
| public final Map | |
| public final ObservableList | |
| public final Duration | |
| public final Duration | |
| 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 ObjectProperty | Returns: the maximum durationStores the maximum duration that the picker can display. |
| public final ObjectProperty | Returns: the minimum durationStores the minimum duration that the picker can display. |
| public final void | setCellFactories(Map<ChronoUnit, Callback<Segment<LocalTime, Integer>, SegmentCell<Integer>>> cellFactories)
|
| public final void | |
| public final void | |
| public final void |
| cellFactories | back to summary |
|---|---|
| private final ObjectProperty<Map<ChronoUnit, Callback<Segment<LocalTime, Integer>, SegmentCell<Integer>>>> cellFactories | |
| fields | back to summary |
|---|---|
| private final ListProperty<ChronoUnit> fields | |
| maximumDuration | back to summary |
|---|---|
| private final ObjectProperty<Duration> maximumDuration | |
| minimumDuration | back to summary |
|---|---|
| private final ObjectProperty<Duration> minimumDuration | |
| DurationPicker | back to summary |
|---|---|
| public DurationPicker() | |
| cellFactoriesProperty | back to summary |
|---|---|
| public final ObjectProperty The cell factory used by the segment that displays the hours. | |
| 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 | |
| fieldsProperty | back to summary |
|---|---|
| public final ListProperty | |
| getCellFactories | back to summary |
|---|---|
| public final Map | |
| getFields | back to summary |
|---|---|
| public final ObservableList | |
| getMaximumDuration | back to summary |
|---|---|
| public final Duration getMaximumDuration() | |
| getMinimumDuration | back to summary |
|---|---|
| public final Duration getMinimumDuration() | |
| 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.
| |
| maximumDurationProperty | back to summary |
|---|---|
| public final ObjectProperty Stores the maximum duration that the picker can display. The default value is "99 days".
| |
| minimumDurationProperty | back to summary |
|---|---|
| public final ObjectProperty Stores the minimum duration that the picker can display. The minimum duration can not be negative.
| |
| setCellFactories | back to summary |
|---|---|
| public final void setCellFactories(Map<ChronoUnit, Callback<Segment<LocalTime, Integer>, SegmentCell<Integer>>> cellFactories) | |
| setFields | back to summary |
|---|---|
| public final void setFields(ObservableList<ChronoUnit> fields) | |
| setMaximumDuration | back to summary |
|---|---|
| public final void setMaximumDuration(Duration maximumDuration) | |
| setMinimumDuration | back to summary |
|---|---|
| public final void setMinimumDuration(Duration minimumDuration) | |