public class DatePickerSkin extends ComboBoxPopupControl<java.time.LocalDate>
DatePicker
control.DatePicker
Modifier and Type | Field and Description |
---|---|
private DatePickerBehavior |
behavior |
private DatePicker |
datePicker
*
Private fields *
*
|
private DatePickerContent |
datePickerContent |
private TextField |
displayNode |
popup
arrow, arrowButton
Constructor and Description |
---|
DatePickerSkin(DatePicker control)
Creates a new DatePickerSkin instance, installing the necessary child
nodes into the Control
children list, as
well as the necessary input mappings for handling key, mouse, etc events. |
Modifier and Type | Method and Description |
---|---|
protected double |
computeMinWidth(double height,
double topInset,
double rightInset,
double bottomInset,
double leftInset) |
void |
dispose() |
(package private) void |
focusLost() |
(package private) ComboBoxBaseBehavior |
getBehavior()
*
Private implementation *
*
|
protected <any> |
getConverter()
Subclasses are responsible for getting the converter.
|
Node |
getDisplayNode()
This method should return a Node that will be positioned within the
ComboBox 'button' area.
|
protected TextField |
getEditor()
Subclasses are responsible for getting the editor.
|
Node |
getPopupContent()
This method should return the Node that will be displayed when the user
clicks on the ComboBox 'button' area.
|
void |
show()
This method will be called when the ComboBox popup should be displayed.
|
getEditableInputNode, getPopup, hide, reconfigurePopup, setTextFromTextFieldIntoComboBoxValue, updateDisplayNode, updateEditable
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computePrefHeight, computePrefWidth, getMode, layoutChildren, setMode, updateDisplayArea
private final DatePicker datePicker
private TextField displayNode
private DatePickerContent datePickerContent
private final DatePickerBehavior behavior
public DatePickerSkin(DatePicker control)
children
list, as
well as the necessary input mappings for handling key, mouse, etc events.control
- The control that this skin should be installed onto.public void dispose()
public Node getPopupContent()
getPopupContent
in class ComboBoxPopupControl<java.time.LocalDate>
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset)
public void show()
show
in class ComboBoxPopupControl<java.time.LocalDate>
protected TextField getEditor()
getEditor
in class ComboBoxPopupControl<java.time.LocalDate>
protected <any> getConverter()
getConverter
in class ComboBoxPopupControl<java.time.LocalDate>
public Node getDisplayNode()
getDisplayNode
in class ComboBoxBaseSkin<java.time.LocalDate>
void focusLost()
focusLost
in class ComboBoxBaseSkin<java.time.LocalDate>
ComboBoxBaseBehavior getBehavior()
getBehavior
in class ComboBoxBaseSkin<java.time.LocalDate>