public abstract class ComboBoxPopupControl<T> extends ComboBoxBaseSkin<T>
Modifier and Type | Class and Description |
---|---|
static class |
ComboBoxPopupControl.FakeFocusTextField
*
Support classes *
*
|
Modifier and Type | Field and Description |
---|---|
static String |
COMBO_BOX_STYLE_CLASS |
protected PopupControl |
popup |
arrow, arrowButton
IS_TOUCH_SUPPORTED
Constructor and Description |
---|
ComboBoxPopupControl(ComboBoxBase<T> comboBoxBase,
ComboBoxBaseBehavior<T> behavior) |
Modifier and Type | Method and Description |
---|---|
protected abstract StringConverter<T> |
getConverter()
Subclasses are responsible for getting the converter.
|
protected TextField |
getEditableInputNode() |
protected abstract TextField |
getEditor()
Subclasses are responsible for getting the editor.
|
protected PopupControl |
getPopup() |
protected abstract Node |
getPopupContent()
This method should return the Node that will be displayed when the user
clicks on the ComboBox 'button' area.
|
void |
hide()
This method will be called when the ComboBox popup should be hidden.
|
protected void |
setTextFromTextFieldIntoComboBoxValue() |
void |
show()
This method will be called when the ComboBox popup should be displayed.
|
protected void |
updateDisplayNode() |
protected void |
updateEditable() |
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computePrefHeight, computePrefWidth, focusLost, getDisplayNode, getMode, handleControlPropertyChanged, layoutChildren, setMode, updateDisplayArea
dispose, getBehavior, registerChangeListener, unregisterChangeListener
computeMinHeight, computeMinWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapSize, snapSpace
protected PopupControl popup
public static final String COMBO_BOX_STYLE_CLASS
public ComboBoxPopupControl(ComboBoxBase<T> comboBoxBase, ComboBoxBaseBehavior<T> behavior)
protected abstract Node getPopupContent()
protected PopupControl getPopup()
public void show()
ComboBoxBaseSkin
show
in class ComboBoxBaseSkin<T>
public void hide()
ComboBoxBaseSkin
hide
in class ComboBoxBaseSkin<T>
protected abstract TextField getEditor()
protected abstract StringConverter<T> getConverter()
protected TextField getEditableInputNode()
protected void setTextFromTextFieldIntoComboBoxValue()
protected void updateDisplayNode()
protected void updateEditable()
Copyright © 2020. All rights reserved.