DatePicker control.
DatePicker
| Modifier and Type | Field and Description |
|---|---|
| private final DatePickerBehavior | |
| private final DatePicker | |
| private DatePickerContent | |
| private TextField |
| Access | Constructor and Description |
|---|---|
| public | DatePickerSkin(final DatePicker
The control that this skin should be installed onto. control)Creates a new DatePickerSkin instance, installing the necessary child
nodes into the Control |
| Modifier and Type | Method and Description |
|---|---|
| protected double | computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
Overrides javafx. Computes the minimum allowable width of the Skin, based on the provided height. |
| public void | dispose()
Overrides javafx. Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| pack-priv void | |
| pack-priv ComboBoxBaseBehavior | |
| protected StringConverter | getConverter()
Implements abstract javafx. Subclasses are responsible for getting the converter. |
| public Node | getDisplayNode()
Implements abstract javafx. This method should return a Node that will be positioned within the ComboBox 'button' area. |
| protected TextField | getEditor()
Implements abstract javafx. Subclasses are responsible for getting the editor. |
| public Node | getPopupContent()
Implements abstract javafx. This method should return the Node that will be displayed when the user clicks on the ComboBox 'button' area. |
| public void | show()
Overrides javafx. This method will be called when the ComboBox popup should be displayed. |
| behavior | back to summary |
|---|---|
| private final DatePickerBehavior behavior | |
| datePicker | back to summary |
|---|---|
| private final DatePicker datePicker | |
| datePickerContent | back to summary |
|---|---|
| private DatePickerContent datePickerContent | |
| displayNode | back to summary |
|---|---|
| private TextField displayNode Hides javafx. | |
| DatePickerSkin | back to summary |
|---|---|
| public DatePickerSkin(final DatePicker control) Creates a new DatePickerSkin instance, installing the necessary child
nodes into the Control
| |
| computeMinWidth | back to summary |
|---|---|
| protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) Overrides javafx. Doc from javafx. Computes the minimum allowable width of the Skin, based on the provided height.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. Called when a previously installed skin is about to be removed from its associated control.
This allows the skin to do clean up, like removing listeners and bindings, and undo any changes
to the control's properties.
After this method completes,
Calling
| |
| focusLost | back to summary |
|---|---|
| pack-priv void focusLost() Overrides javafx.
| |
| getBehavior | back to summary |
|---|---|
| pack-priv ComboBoxBaseBehavior Overrides javafx.
| |
| getConverter | back to summary |
|---|---|
| protected StringConverter Implements abstract javafx. Doc from javafx. Subclasses are responsible for getting the converter. This will be removed in FX 9 when the converter property is moved up to ComboBoxBase with JDK-8130354.
| |
| getDisplayNode | back to summary |
|---|---|
| public Node getDisplayNode() Implements abstract javafx. Doc from javafx. This method should return a Node that will be positioned within the ComboBox 'button' area.
| |
| getEditor | back to summary |
|---|---|
| protected TextField getEditor() Implements abstract javafx. Doc from javafx. Subclasses are responsible for getting the editor. This will be removed in FX 9 when the editor property is moved up to ComboBoxBase with JDK-8130354 Note: ComboBoxListViewSkin should return null if editable is false, even if the ComboBox does have an editor set.
| |
| getPopupContent | back to summary |
|---|---|
| public Node getPopupContent() Implements abstract javafx. Doc from javafx. This method should return the Node that will be displayed when the user clicks on the ComboBox 'button' area.
| |
| show | back to summary |
|---|---|
| public void show() Overrides javafx. Doc from javafx. This method will be called when the ComboBox popup should be displayed. It is up to specific skin implementations to determine how this is handled.
| |