public class DatePickerSkin extends ComboBoxPopupControl<java.time.LocalDate>
ComboBoxPopupControl.FakeFocusTextField| Modifier and Type | Field and Description |
|---|---|
private DatePicker |
datePicker |
private DatePickerContent |
datePickerContent |
private TextField |
displayNode |
COMBO_BOX_STYLE_CLASS, popuparrow, arrowButtonIS_TOUCH_SUPPORTED| Constructor and Description |
|---|
DatePickerSkin(DatePicker datePicker) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeMinWidth(double height,
double topInset,
double rightInset,
double bottomInset,
double leftInset)
Computes the minimum allowable width of the Skin, based on the provided
height.
|
protected void |
focusLost() |
protected StringConverter<java.time.LocalDate> |
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.
|
protected void |
handleControlPropertyChanged(java.lang.String p)
Handles changes to properties of the MenuButton.
|
void |
show()
This method will be called when the ComboBox popup should be displayed.
|
void |
syncWithAutoUpdate() |
getEditableInputNode, getPopup, hide, reconfigurePopup, setTextFromTextFieldIntoComboBoxValue, updateDisplayNode, updateEditablecomputeBaselineOffset, computeMaxHeight, computeMaxWidth, computePrefHeight, computePrefWidth, getMode, layoutChildren, setMode, updateDisplayAreadispose, getBehavior, registerChangeListener, unregisterChangeListenercomputeMinHeight, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpaceprivate DatePicker datePicker
private TextField displayNode
private DatePickerContent datePickerContent
public DatePickerSkin(DatePicker datePicker)
public Node getPopupContent()
ComboBoxPopupControlgetPopupContent in class ComboBoxPopupControl<java.time.LocalDate>protected double computeMinWidth(double height,
double topInset,
double rightInset,
double bottomInset,
double leftInset)
SkinBasecomputeMinWidth in class SkinBase<ComboBoxBase<java.time.LocalDate>>height - The height of the Skin, in case this value might dictate
the minimum width.topInset - the pixel snapped top insetrightInset - the pixel snapped right insetbottomInset - the pixel snapped bottom insetleftInset - the pixel snapped left insetprotected void focusLost()
focusLost in class ComboBoxBaseSkin<java.time.LocalDate>public void show()
ComboBoxBaseSkinshow in class ComboBoxPopupControl<java.time.LocalDate>protected void handleControlPropertyChanged(java.lang.String p)
ComboBoxBaseSkinhandleControlPropertyChanged in class ComboBoxBaseSkin<java.time.LocalDate>protected TextField getEditor()
ComboBoxPopupControlgetEditor in class ComboBoxPopupControl<java.time.LocalDate>protected StringConverter<java.time.LocalDate> getConverter()
ComboBoxPopupControlgetConverter in class ComboBoxPopupControl<java.time.LocalDate>public Node getDisplayNode()
ComboBoxBaseSkingetDisplayNode in class ComboBoxBaseSkin<java.time.LocalDate>public void syncWithAutoUpdate()