Class ComboBoxBase<T>
- Type Parameters:
T- The type of the value that has been selected or otherwise entered in to this ComboBox.
- All Implemented Interfaces:
LayoutMeasurable,LayoutMeasurableMixin,HasBackgroundProperty,HasBlendModeProperty,HasBorderProperty,HasClipProperty,HasEffectProperty,HasHeightProperty,HasLayoutXProperty,HasLayoutYProperty,HasManagedProperty,HasMaxHeightProperty,HasMaxWidthProperty,HasMinHeightProperty,HasMinWidthProperty,HasMouseTransparentProperty,HasOnMouseClickedProperty,HasOpacityProperty,HasPaddingProperty,HasParentProperty,HasPrefHeightProperty,HasPrefWidthProperty,HasSnapToPixelProperty,HasVisibleProperty,HasWidthProperty,Styleable,EventTarget,Skinnable,INode,PreferenceResizableNode
show() and
hide() methods are called, however commonly this results in either
a popup or dialog appearing that allows for the user to provide the
required information.
A ComboBox has a value property that represents
the current user input. This may be based on a selection from a drop-down list,
or it may be from user input when the ComboBox is
editable.
An editable ComboBox is one which provides some
means for an end-user to provide input for values that are not otherwise
options available to them. For example, in the ComboBox implementation,
an editable ComboBox provides a TextField that may be typed into.
As mentioned above, when the user commits textual input into the textfield
(commonly by pressing the Enter keyboard key), the
value property will be updated.
The purpose of the separation between this class and, say, ComboBox
is to allow for ComboBox-like controls that do not necessarily pop up a list
of items. Examples of other implementations include color pickers, calendar
pickers, etc. The ComboBox class provides the default, and most commonly
expected implementation. Refer to that classes javadoc for more information.
- Since:
- JavaFX 2.1
- See Also:
-
ComboBox
-
Property Summary
PropertiesTypePropertyDescriptionIndicates that the ComboBox has been "armed" such that a mouse release will cause the ComboBoxshow()method to be invoked.Specifies whether the ComboBox allows for user input.final ObjectProperty<EventHandler<ActionEvent>>The ComboBox action, which is invoked whenever the ComboBoxvalueproperty is changed.final ObjectProperty<EventHandler<Event>>Called just after theComboBoxBasepopup/display has been hidden.final ObjectProperty<EventHandler<Event>>Called just prior to theComboBoxpopup/display being hidden.final ObjectProperty<EventHandler<Event>>Called just prior to theComboBoxBasepopup/display being shown.final ObjectProperty<EventHandler<Event>>Called just after theComboBoxBasepopup/display is shown.final StringPropertyTheComboBoxprompt text to display, or null if no prompt text is displayed.Represents the current state of the ComboBox popup, and whether it is currently visible on screen (although it may be hidden behind other windows).The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.Properties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties inherited from class javafx.scene.layout.Region
background, border, height, insets, maxHeight, maxWidth, minHeight, minWidth, padding, prefHeight, prefWidth, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
blendMode, cacheHint, cache, clip, cursor, disabled, disable, effect, eventDispatcher, focused, focusTraversable, hover, id, layoutBounds, layoutX, layoutY, managed, mouseTransparent, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragged, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onScroll, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, opacity, parent, pressed, rotate, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, visibleProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendModeProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clipProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effectProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
layoutXProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
layoutYProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
managedProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
mouseTransparentProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
onMouseClickedProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
opacityProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
parentProperties inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
visible -
Field Summary
FieldsModifier and TypeFieldDescriptionCalled when the ComboBox popup/display has been hidden.Called when the ComboBox popup/display will be hidden.Called prior to the ComboBox showing its popup/display after the user has clicked or otherwise interacted with the ComboBox.Called after the ComboBox has shown its popup/display.Fields inherited from interface javafx.scene.INode
BASELINE_OFFSET_SAME_AS_HEIGHTFields inherited from interface javafx.scene.layout.PreferenceResizableNode
USE_COMPUTED_SIZE, USE_PREF_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidarm()Arms the ComboBox.Indicates that the ComboBox has been "armed" such that a mouse release will cause the ComboBoxshow()method to be invoked.voiddisarm()Disarms the ComboBox.Specifies whether the ComboBox allows for user input.final EventHandler<ActionEvent>Gets the value of theonActionproperty.final EventHandler<Event>Gets the value of theonHiddenproperty.final EventHandler<Event>Gets the value of theonHidingproperty.final EventHandler<Event>Gets the value of theonShowingproperty.final EventHandler<Event>Gets the value of theonShownproperty.final StringGets the value of thepromptTextproperty.final TgetValue()Gets the value of thevalueproperty.voidhide()Closes the popup / dialog that was shown whenshow()was called.final booleanisArmed()final booleanfinal booleanfinal ObjectProperty<EventHandler<ActionEvent>>The ComboBox action, which is invoked whenever the ComboBoxvalueproperty is changed.final ObjectProperty<EventHandler<Event>>Called just after theComboBoxBasepopup/display has been hidden.final ObjectProperty<EventHandler<Event>>Called just prior to theComboBoxpopup/display being hidden.final ObjectProperty<EventHandler<Event>>Called just prior to theComboBoxBasepopup/display being shown.final ObjectProperty<EventHandler<Event>>Called just after theComboBoxBasepopup/display is shown.final StringPropertyTheComboBoxprompt text to display, or null if no prompt text is displayed.final voidsetEditable(boolean value) Sets the value of theeditableproperty.final voidsetOnAction(EventHandler<ActionEvent> value) Sets the value of theonActionproperty.final voidsetOnHidden(EventHandler<Event> value) Sets the value of theonHiddenproperty.final voidsetOnHiding(EventHandler<Event> value) Sets the value of theonHidingproperty.final voidsetOnShowing(EventHandler<Event> value) Sets the value of theonShowingproperty.final voidsetOnShown(EventHandler<Event> value) Sets the value of theonShownproperty.final voidsetPromptText(String value) Sets the value of thepromptTextproperty.final voidSets the value of thevalueproperty.voidshow()Requests that the ComboBox display the popup aspect of the user interface.Represents the current state of the ComboBox popup, and whether it is currently visible on screen (although it may be hidden behind other windows).The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.Methods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, createDefaultSkin, getBaselineOffset, getContextMenu, getSkin, getTooltip, layoutChildren, setContextMenu, setSkin, setTooltip, shouldUseLayoutMeasurable, skinProperty, tooltipPropertyMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, boundedSize, getInsets, heightProperty, impl_computeGeomBounds, impl_computeLayoutBounds, impl_maxHeight, impl_maxWidth, impl_minHeight, impl_minWidth, impl_prefHeight, impl_prefWidth, insetsProperty, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, paddingProperty, positionInArea, positionInArea, prefHeightProperty, prefWidthProperty, resize, setMaxSize, setMinSize, setPrefSize, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, isNeedsLayout, layout, needsLayoutProperty, requestLayout, requestParentLayout, setLayoutFlag, setNeedsLayout, setSceneRootMethods inherited from class javafx.scene.Node
addEventFilter, addEventHandler, autosize, blendModeProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, createLayoutMeasurable, cursorProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAllNodeTransforms, getBoundsInLocal, getCacheHint, getCursor, getEventDispatcher, getId, getLayoutMeasurable, getNodePeer, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseDragged, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnScroll, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOrCreateAndBindNodePeer, getProperties, getRotate, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleClass, getTransforms, getTranslateX, getTranslateY, getUserData, hasProperties, hoverProperty, idProperty, impl_getLayoutBounds, impl_isTreeVisible, impl_traverse, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isPressed, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToScene, localToScene, localToScreen, localToScreen, localToScreen, localToScreen, managedProperty, mouseTransparentProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDraggedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onNodePeerReady, onPeerSizeChanged, onScrollProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, opacityProperty, parentProperty, parentToLocal, pressedProperty, removeEventFilter, removeEventHandler, requestFocus, requestPeerFocus, rotateProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, setCache, setCacheHint, setCursor, setDisable, setDisabled, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setNodePeer, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseDragged, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnScroll, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setPressed, setRotate, setScaleX, setScaleY, setScaleZ, setScene, setStyle, setTranslateX, setTranslateY, setUserData, snapshot, startDragAndDrop, styleProperty, toBack, toFront, translateXProperty, translateYProperty, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBackgroundProperty
getBackground, setBackgroundMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBlendModeProperty
blendModeProperty, getBlendMode, setBlendModeMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasBorderProperty
getBorder, setBorderMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasClipProperty
clipProperty, getClip, setClipMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasEffectProperty
effectProperty, getEffect, setEffectMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasHeightProperty
getHeight, setHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutXProperty
getLayoutX, layoutXProperty, setLayoutXMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasLayoutYProperty
getLayoutY, layoutYProperty, setLayoutYMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasManagedProperty
isManaged, managedProperty, setManagedMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMaxHeightProperty
getMaxHeight, setMaxHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMaxWidthProperty
getMaxWidth, setMaxWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMinHeightProperty
getMinHeight, setMinHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMinWidthProperty
getMinWidth, setMinWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasMouseTransparentProperty
isMouseTransparent, mouseTransparentProperty, setMouseTransparentMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOnMouseClickedProperty
getOnMouseClicked, onMouseClickedProperty, setOnMouseClickedMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasOpacityProperty
getOpacity, opacityProperty, setOpacityMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPaddingProperty
getPadding, setPaddingMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasParentProperty
getParent, parentProperty, setParentMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPrefHeightProperty
getPrefHeight, setPrefHeightMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasPrefWidthProperty
getPrefWidth, setPrefWidthMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasSnapToPixelProperty
isSnapToPixel, setSnapToPixelMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasVisibleProperty
isVisible, setVisible, visiblePropertyMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.markers.HasWidthProperty
getWidth, setWidthMethods inherited from interface javafx.scene.INode
autosize, getAllNodeTransforms, getContentBias, getNodePeer, getOrCreateAndBindNodePeer, getProperties, getScene, getTransforms, hasProperties, relocate, resizeRelocateMethods inherited from interface dev.webfx.kit.mapper.peers.javafxgraphics.emul_coupling.LayoutMeasurableMixin
clearCache, getLayoutBounds, getLayoutMeasurable, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidthMethods inherited from interface javafx.scene.layout.PreferenceResizableNode
isResizable
-
Property Details
-
value
The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.- See Also:
-
editable
Specifies whether the ComboBox allows for user input. When editable is true, the ComboBox has a text input area that a user may type in to. This input is then available via thevalueproperty.Note that when the editable property changes, the value property is reset, along with any other relevant state.
- See Also:
-
showing
Represents the current state of the ComboBox popup, and whether it is currently visible on screen (although it may be hidden behind other windows).- See Also:
-
promptText
TheComboBoxprompt text to display, or null if no prompt text is displayed. Prompt text is not displayed in all circumstances, it is dependent upon the subclasses of ComboBoxBase to clarify when promptText will be shown. For example, in most cases prompt text will never be shown when a combo box is non-editable (that is, prompt text is only shown when user input is allowed via text input). -
armed
Indicates that the ComboBox has been "armed" such that a mouse release will cause the ComboBoxshow()method to be invoked. This is subtly different from pressed. Pressed indicates that the mouse has been pressed on a Node and has not yet been released.armhowever also takes into account whether the mouse is actually over the ComboBox and pressed.- See Also:
-
onAction
The ComboBox action, which is invoked whenever the ComboBoxvalueproperty is changed. This may be due to the value property being programmatically changed, when the user selects an item in a popup list or dialog, or, in the case ofeditableComboBoxes, it may be when the user provides their own input (be that via aTextFieldor some other input mechanism. -
onShowing
Called just prior to theComboBoxBasepopup/display being shown.- Since:
- JavaFX 2.2
- See Also:
-
onShown
Called just after theComboBoxBasepopup/display is shown.- Since:
- JavaFX 2.2
- See Also:
-
onHiding
Called just prior to theComboBoxpopup/display being hidden.- Since:
- JavaFX 2.2
- See Also:
-
onHidden
Called just after theComboBoxBasepopup/display has been hidden.- Since:
- JavaFX 2.2
- See Also:
-
-
Field Details
-
ON_SHOWING
Called prior to the ComboBox showing its popup/display after the user has clicked or otherwise interacted with the ComboBox.
- Since:
- JavaFX 2.2
-
ON_SHOWN
Called after the ComboBox has shown its popup/display.
- Since:
- JavaFX 2.2
-
ON_HIDING
Called when the ComboBox popup/display will be hidden.
- Since:
- JavaFX 2.2
-
ON_HIDDEN
Called when the ComboBox popup/display has been hidden.
- Since:
- JavaFX 2.2
-
-
Constructor Details
-
ComboBoxBase
public ComboBoxBase()Creates a default ComboBoxBase instance.
-
-
Method Details
-
valueProperty
The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.- Returns:
- the
valueproperty - See Also:
-
setValue
Sets the value of thevalueproperty.- Property description:
- The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.
- Parameters:
value- the value for thevalueproperty- See Also:
-
getValue
Gets the value of thevalueproperty.- Property description:
- The value of this ComboBox is defined as the selected item if the input is not editable, or if it is editable, the most recent user action: either the value input by the user, or the last selected item.
- Returns:
- the value of the
valueproperty - See Also:
-
editableProperty
Specifies whether the ComboBox allows for user input. When editable is true, the ComboBox has a text input area that a user may type in to. This input is then available via thevalueproperty.Note that when the editable property changes, the value property is reset, along with any other relevant state.
- Returns:
- the
editableproperty - See Also:
-
setEditable
public final void setEditable(boolean value) Sets the value of theeditableproperty.- Property description:
- Specifies whether the ComboBox allows for user input. When editable is
true, the ComboBox has a text input area that a user may type in to. This
input is then available via the
valueproperty.Note that when the editable property changes, the value property is reset, along with any other relevant state.
- Parameters:
value- the value for theeditableproperty- See Also:
-
isEditable
public final boolean isEditable() -
showingProperty
Represents the current state of the ComboBox popup, and whether it is currently visible on screen (although it may be hidden behind other windows).- Returns:
- the
showingproperty
-
isShowing
public final boolean isShowing() -
promptTextProperty
TheComboBoxprompt text to display, or null if no prompt text is displayed. Prompt text is not displayed in all circumstances, it is dependent upon the subclasses of ComboBoxBase to clarify when promptText will be shown. For example, in most cases prompt text will never be shown when a combo box is non-editable (that is, prompt text is only shown when user input is allowed via text input).- Returns:
- the
promptTextproperty - See Also:
-
getPromptText
Gets the value of thepromptTextproperty.- Property description:
- The
ComboBoxprompt text to display, or null if no prompt text is displayed. Prompt text is not displayed in all circumstances, it is dependent upon the subclasses of ComboBoxBase to clarify when promptText will be shown. For example, in most cases prompt text will never be shown when a combo box is non-editable (that is, prompt text is only shown when user input is allowed via text input). - Returns:
- the value of the
promptTextproperty - See Also:
-
setPromptText
Sets the value of thepromptTextproperty.- Property description:
- The
ComboBoxprompt text to display, or null if no prompt text is displayed. Prompt text is not displayed in all circumstances, it is dependent upon the subclasses of ComboBoxBase to clarify when promptText will be shown. For example, in most cases prompt text will never be shown when a combo box is non-editable (that is, prompt text is only shown when user input is allowed via text input). - Parameters:
value- the value for thepromptTextproperty- See Also:
-
armedProperty
Indicates that the ComboBox has been "armed" such that a mouse release will cause the ComboBoxshow()method to be invoked. This is subtly different from pressed. Pressed indicates that the mouse has been pressed on a Node and has not yet been released.armhowever also takes into account whether the mouse is actually over the ComboBox and pressed.- Returns:
- the
armedproperty
-
isArmed
public final boolean isArmed() -
onActionProperty
The ComboBox action, which is invoked whenever the ComboBoxvalueproperty is changed. This may be due to the value property being programmatically changed, when the user selects an item in a popup list or dialog, or, in the case ofeditableComboBoxes, it may be when the user provides their own input (be that via aTextFieldor some other input mechanism.- Returns:
- the
onActionproperty - See Also:
-
setOnAction
Sets the value of theonActionproperty.- Property description:
- The ComboBox action, which is invoked whenever the ComboBox
valueproperty is changed. This may be due to the value property being programmatically changed, when the user selects an item in a popup list or dialog, or, in the case ofeditableComboBoxes, it may be when the user provides their own input (be that via aTextFieldor some other input mechanism. - Parameters:
value- the value for theonActionproperty- See Also:
-
getOnAction
Gets the value of theonActionproperty.- Property description:
- The ComboBox action, which is invoked whenever the ComboBox
valueproperty is changed. This may be due to the value property being programmatically changed, when the user selects an item in a popup list or dialog, or, in the case ofeditableComboBoxes, it may be when the user provides their own input (be that via aTextFieldor some other input mechanism. - Returns:
- the value of the
onActionproperty - See Also:
-
onShowingProperty
Called just prior to theComboBoxBasepopup/display being shown.- Returns:
- the
onShowingproperty - Since:
- JavaFX 2.2
- See Also:
-
setOnShowing
Sets the value of theonShowingproperty.- Property description:
- Called just prior to the
ComboBoxBasepopup/display being shown. - Parameters:
value- the value for theonShowingproperty- Since:
- JavaFX 2.2
- See Also:
-
getOnShowing
Gets the value of theonShowingproperty.- Property description:
- Called just prior to the
ComboBoxBasepopup/display being shown. - Returns:
- the value of the
onShowingproperty - Since:
- JavaFX 2.2
- See Also:
-
onShownProperty
Called just after theComboBoxBasepopup/display is shown.- Returns:
- the
onShownproperty - Since:
- JavaFX 2.2
- See Also:
-
setOnShown
Sets the value of theonShownproperty.- Property description:
- Called just after the
ComboBoxBasepopup/display is shown. - Parameters:
value- the value for theonShownproperty- Since:
- JavaFX 2.2
- See Also:
-
getOnShown
Gets the value of theonShownproperty.- Property description:
- Called just after the
ComboBoxBasepopup/display is shown. - Returns:
- the value of the
onShownproperty - Since:
- JavaFX 2.2
- See Also:
-
onHidingProperty
Called just prior to theComboBoxpopup/display being hidden.- Returns:
- the
onHidingproperty - Since:
- JavaFX 2.2
- See Also:
-
setOnHiding
Sets the value of theonHidingproperty.- Property description:
- Called just prior to the
ComboBoxpopup/display being hidden. - Parameters:
value- the value for theonHidingproperty- Since:
- JavaFX 2.2
- See Also:
-
getOnHiding
Gets the value of theonHidingproperty.- Property description:
- Called just prior to the
ComboBoxpopup/display being hidden. - Returns:
- the value of the
onHidingproperty - Since:
- JavaFX 2.2
- See Also:
-
onHiddenProperty
Called just after theComboBoxBasepopup/display has been hidden.- Returns:
- the
onHiddenproperty - Since:
- JavaFX 2.2
- See Also:
-
setOnHidden
Sets the value of theonHiddenproperty.- Property description:
- Called just after the
ComboBoxBasepopup/display has been hidden. - Parameters:
value- the value for theonHiddenproperty- Since:
- JavaFX 2.2
- See Also:
-
getOnHidden
Gets the value of theonHiddenproperty.- Property description:
- Called just after the
ComboBoxBasepopup/display has been hidden. - Returns:
- the value of the
onHiddenproperty - Since:
- JavaFX 2.2
- See Also:
-
show
public void show()Requests that the ComboBox display the popup aspect of the user interface. As mentioned in theComboBoxBaseclass javadoc, what is actually shown when this method is called is undefined, but commonly it is some form of popup or dialog window. -
hide
public void hide()Closes the popup / dialog that was shown whenshow()was called. -
arm
public void arm()Arms the ComboBox. An armed ComboBox will show a popup list on the next expected UI gesture. -
disarm
public void disarm()Disarms the ComboBox. Seearm().
-