- java.lang.Object
- 
- javafx.stage.Window
- 
- javafx.stage.PopupWindow
- 
- javafx.scene.control.PopupControl
- 
- impl.org.controlsfx.skin.AutoCompletePopup<T>
 
 
 
 
- 
- All Implemented Interfaces:
- Styleable,- EventTarget,- Skinnable
 
 public class AutoCompletePopup<T> extends PopupControl The auto-complete-popup provides an list of available suggestions in order to complete current user input.
- 
- 
Property SummaryProperties Type Property Description ObjectProperty<EventHandler<AutoCompletePopup.SuggestionEvent<T>>>onSuggestion* Properties * *IntegerPropertyvisibleRowCountThe maximum number of rows to be visible in the popup when it is showing.- 
Properties inherited from class javafx.scene.control.PopupControlid, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth, skin, style
 - 
Properties inherited from class javafx.stage.PopupWindowanchorLocation, anchorX, anchorY, autoFix, autoHide, consumeAutoHidingEvents, hideOnEscape, onAutoHide, ownerNode, ownerWindow
 - 
Properties inherited from class javafx.stage.WindoweventDispatcher, focused, forceIntegerRenderScale, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, opacity, outputScaleX, outputScaleY, renderScaleX, renderScaleY, scene, showing, width, x, y
 
- 
 - 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAutoCompletePopup.SuggestionEvent<TE>Represents an Event which is fired when the user has selected a suggestion for auto-complete- 
Nested classes/interfaces inherited from class javafx.scene.control.PopupControlPopupControl.CSSBridge
 - 
Nested classes/interfaces inherited from class javafx.stage.PopupWindowPopupWindow.AnchorLocation
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_STYLE_CLASS* Stylesheet Handling * *- 
Fields inherited from class javafx.scene.control.PopupControlbridge, USE_COMPUTED_SIZE, USE_PREF_SIZE
 
- 
 - 
Constructor SummaryConstructors Constructor Description AutoCompletePopup()Creates a new AutoCompletePopup
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Skin<?>createDefaultSkin()StringConverter<T>getConverter()Get the string converter used to turn a generic suggestion into a stringEventHandler<AutoCompletePopup.SuggestionEvent<T>>getOnSuggestion()Gets the value of the property onSuggestion.ObservableList<T>getSuggestions()Get the suggestions presented by this AutoCompletePopupintgetVisibleRowCount()Gets the value of the property visibleRowCount.ObjectProperty<EventHandler<AutoCompletePopup.SuggestionEvent<T>>>onSuggestionProperty()* Properties * *voidsetConverter(StringConverter<T> converter)Set the string converter used to turn a generic suggestion into a stringvoidsetOnSuggestion(EventHandler<AutoCompletePopup.SuggestionEvent<T>> value)Sets the value of the property onSuggestion.voidsetVisibleRowCount(int value)Sets the value of the property visibleRowCount.voidshow(Node node)Show this popup right below the given NodeIntegerPropertyvisibleRowCountProperty()The maximum number of rows to be visible in the popup when it is showing.- 
Methods inherited from class javafx.scene.control.PopupControlgetClassCssMetaData, getCssMetaData, getId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getPseudoClassStates, getSkin, getStyle, getStyleableNode, getStyleableParent, getStyleClass, getTypeSelector, idProperty, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, pseudoClassStateChanged, setId, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPrefHeight, setPrefSize, setPrefWidth, setSkin, setStyle, skinProperty, styleProperty
 - 
Methods inherited from class javafx.stage.PopupWindowanchorLocationProperty, anchorXProperty, anchorYProperty, autoFixProperty, autoHideProperty, consumeAutoHidingEventsProperty, getAnchorLocation, getAnchorX, getAnchorY, getConsumeAutoHidingEvents, getOnAutoHide, getOwnerNode, getOwnerWindow, hide, hideOnEscapeProperty, isAutoFix, isAutoHide, isHideOnEscape, onAutoHideProperty, ownerNodeProperty, ownerWindowProperty, setAnchorLocation, setAnchorX, setAnchorY, setAutoFix, setAutoHide, setConsumeAutoHidingEvents, setHideOnEscape, setOnAutoHide, setScene, show, show, show
 - 
Methods inherited from class javafx.stage.WindowaddEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, show, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
 
- 
 
- 
- 
- 
Property Detail- 
visibleRowCountpublic final IntegerProperty visibleRowCountProperty The maximum number of rows to be visible in the popup when it is showing. By default this value is 10, but this can be changed to increase or decrease the height of the popup.- See Also:
- getVisibleRowCount(),- setVisibleRowCount(int)
 
 - 
onSuggestionpublic final ObjectProperty<EventHandler<AutoCompletePopup.SuggestionEvent<T>>> onSuggestionProperty * Properties * *- See Also:
- getOnSuggestion(),- setOnSuggestion(EventHandler)
 
 
- 
 - 
Field Detail- 
DEFAULT_STYLE_CLASSpublic static final String DEFAULT_STYLE_CLASS * Stylesheet Handling * *- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getSuggestionspublic ObservableList<T> getSuggestions() Get the suggestions presented by this AutoCompletePopup- Returns:
 
 - 
showpublic void show(Node node) Show this popup right below the given Node- Parameters:
- node-
 
 - 
setConverterpublic void setConverter(StringConverter<T> converter) Set the string converter used to turn a generic suggestion into a string
 - 
getConverterpublic StringConverter<T> getConverter() Get the string converter used to turn a generic suggestion into a string
 - 
setVisibleRowCountpublic final void setVisibleRowCount(int value) Sets the value of the property visibleRowCount.- Property description:
- The maximum number of rows to be visible in the popup when it is showing. By default this value is 10, but this can be changed to increase or decrease the height of the popup.
 
 - 
getVisibleRowCountpublic final int getVisibleRowCount() Gets the value of the property visibleRowCount.- Property description:
- The maximum number of rows to be visible in the popup when it is showing. By default this value is 10, but this can be changed to increase or decrease the height of the popup.
 
 - 
visibleRowCountPropertypublic final IntegerProperty visibleRowCountProperty() The maximum number of rows to be visible in the popup when it is showing. By default this value is 10, but this can be changed to increase or decrease the height of the popup.- See Also:
- getVisibleRowCount(),- setVisibleRowCount(int)
 
 - 
onSuggestionPropertypublic final ObjectProperty<EventHandler<AutoCompletePopup.SuggestionEvent<T>>> onSuggestionProperty() * Properties * *- See Also:
- getOnSuggestion(),- setOnSuggestion(EventHandler)
 
 - 
setOnSuggestionpublic final void setOnSuggestion(EventHandler<AutoCompletePopup.SuggestionEvent<T>> value) Sets the value of the property onSuggestion.- Property description:
- * Properties * *
 
 - 
getOnSuggestionpublic final EventHandler<AutoCompletePopup.SuggestionEvent<T>> getOnSuggestion() Gets the value of the property onSuggestion.- Property description:
- * Properties * *
 
 - 
createDefaultSkinprotected Skin<?> createDefaultSkin() - Overrides:
- createDefaultSkinin class- PopupControl
 
 
- 
 
-