java.lang.Object
javafx.scene.control.SkinBase<ComboBoxBase<T>>
javafx.scene.control.skin.ComboBoxBaseSkin<T>
javafx.scene.control.skin.ComboBoxPopupControl<T>
- Type Parameters:
- T- The type of the ComboBox-like control.
- All Implemented Interfaces:
- Skin<ComboBoxBase<T>>
- Direct Known Subclasses:
- ColorPickerSkin,- ComboBoxListViewSkin,- DatePickerSkin
public abstract class ComboBoxPopupControl<T> extends ComboBoxBaseSkin<T>
An abstract class that extends the functionality of 
ComboBoxBaseSkin
 to include API related to showing ComboBox-like controls as popups.- Since:
- 9
- 
Constructor SummaryConstructors Constructor Description ComboBoxPopupControl(ComboBoxBase<T> control)Creates a new instance of ComboBoxPopupControl, although note that this instance does not handle any behavior / input mappings - this needs to be handled appropriately by subclasses.
- 
Method SummaryModifier and Type Method Description protected abstract StringConverter<T>getConverter()Subclasses are responsible for getting the converter.protected abstract TextFieldgetEditor()Subclasses are responsible for getting the editor.protected abstract NodegetPopupContent()This method should return the Node that will be displayed when the user clicks on the ComboBox 'button' area.Methods declared in class javafx.scene.control.skin.ComboBoxBaseSkingetDisplayNode, hide, showMethods declared in class javafx.scene.control.SkinBasecomputeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, layoutChildren, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListenersMethods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface javafx.scene.control.Skindispose, getNode, getSkinnable
- 
Constructor Details- 
ComboBoxPopupControlCreates a new instance of ComboBoxPopupControl, although note that this instance does not handle any behavior / input mappings - this needs to be handled appropriately by subclasses.- Parameters:
- control- The control that this skin should be installed onto.
 
 
- 
- 
Method Details- 
getPopupContentThis method should return the Node that will be displayed when the user clicks on the ComboBox 'button' area.- Returns:
- the Node that will be displayed when the user clicks on the ComboBox 'button' area
 
- 
getEditorSubclasses 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.- Returns:
- the editor
 
- 
getConverterSubclasses 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.- Returns:
- the string converter
 
 
-