| Modifier and Type | Class and Description |
|---|---|
| public static enum | LocalTimePicker.
An enum used to distinguish between AM and PM times. |
| Modifier and Type | Field and Description |
|---|---|
| private final ObjectProperty | hourCellFactory
The cell factory used by the segment that displays the hours. |
| private final ObjectProperty | meridiemCellFactory
The cell factory used by the segment that displays the meridiem ("AM", "PM"). |
| private final ObjectProperty | minuteCellFactory
The cell factory used by the segment that displays the minutes. |
| private final ObjectProperty | timeFormat
Specifies whether we want to display time in 24 hour time format or 12 hour time format with AM and PM indicator. |
| Access | Constructor and Description |
|---|---|
| public |
| hourCellFactory | back to summary |
|---|---|
| private final ObjectProperty<Callback<Segment<LocalTime, Integer>, SegmentCell<Integer>>> hourCellFactory The cell factory used by the segment that displays the hours. | |
| meridiemCellFactory | back to summary |
|---|---|
| private final ObjectProperty<Callback<Segment<LocalTime, LocalTimePicker. The cell factory used by the segment that displays the meridiem ("AM", "PM"). | |
| minuteCellFactory | back to summary |
|---|---|
| private final ObjectProperty<Callback<Segment<LocalTime, Integer>, SegmentCell<Integer>>> minuteCellFactory The cell factory used by the segment that displays the minutes. | |
| timeFormat | back to summary |
|---|---|
| private final ObjectProperty<TimeFormat> timeFormat Specifies whether we want to display time in 24 hour time format or 12 hour time format with AM and PM indicator. | |
| LocalTimePicker | back to summary |
|---|---|
| public LocalTimePicker() | |
| 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 | |
| getHourCellFactory | back to summary |
|---|---|
| public final Callback | |
| getMeridiemCellFactory | back to summary |
|---|---|
| public final Callback | |
| getMinuteCellFactory | back to summary |
|---|---|
| public final Callback | |
| getTimeFormat | back to summary |
|---|---|
| public final TimeFormat getTimeFormat() | |
| 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.
| |
| hourCellFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| meridiemCellFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| minuteCellFactoryProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| setHourCellFactory | back to summary |
|---|---|
| public final void setHourCellFactory(Callback<Segment<LocalTime, Integer>, SegmentCell<Integer>> factory) | |
| setMeridiemCellFactory | back to summary |
|---|---|
| public final void setMeridiemCellFactory(Callback<Segment<LocalTime, LocalTimePicker. | |
| setMinuteCellFactory | back to summary |
|---|---|
| public final void setMinuteCellFactory(Callback<Segment<LocalTime, Integer>, SegmentCell<Integer>> factory) | |
| setTimeFormat | back to summary |
|---|---|
| public final void setTimeFormat(TimeFormat timeFormat) | |
| timeFormatProperty | back to summary |
|---|---|
| public final ObjectProperty | |
| Modifier and Type | Field and Description |
|---|---|
| public static final LocalTimePicker. | |
| public static final LocalTimePicker. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LocalTimePicker. | |
| public static LocalTimePicker. |
| AM | back to summary |
|---|---|
| public static final LocalTimePicker. | |
| PM | back to summary |
|---|---|
| public static final LocalTimePicker. | |
| Meridiem | back to summary |
|---|---|
| private Meridiem() | |
| valueOf | back to summary |
|---|---|
| public static LocalTimePicker. | |
| values | back to summary |
|---|---|
| public static LocalTimePicker. | |