- java.lang.Object
-
- impl.org.controlsfx.skin.AutoCompletePopupSkin<T>
-
- All Implemented Interfaces:
javafx.scene.control.Skin<AutoCompletePopup<T>>
public class AutoCompletePopupSkin<T> extends Object implements javafx.scene.control.Skin<AutoCompletePopup<T>>
-
-
Constructor Summary
Constructors Constructor Description AutoCompletePopupSkin(AutoCompletePopup<T> control)AutoCompletePopupSkin(AutoCompletePopup<T> control, javafx.util.Callback<javafx.scene.control.ListView<T>,javafx.scene.control.ListCell<T>> cellFactory)AutoCompletePopupSkin(AutoCompletePopup<T> control, javafx.util.StringConverter<T> displayConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()javafx.scene.NodegetNode()AutoCompletePopup<T>getSkinnable()
-
-
-
Constructor Detail
-
AutoCompletePopupSkin
public AutoCompletePopupSkin(AutoCompletePopup<T> control)
-
AutoCompletePopupSkin
public AutoCompletePopupSkin(AutoCompletePopup<T> control, javafx.util.StringConverter<T> displayConverter)
- Parameters:
control- The popup to be skinneddisplayConverter- An alternateStringConverterto use. This way, you can show autocomplete suggestions that when applied will fill in a different text than displayed. For example, you may previewFiles.newBufferedReader(Path: path) - Bufferedreaderbut only fill inFiles.newBufferedReader(
-
AutoCompletePopupSkin
public AutoCompletePopupSkin(AutoCompletePopup<T> control, javafx.util.Callback<javafx.scene.control.ListView<T>,javafx.scene.control.ListCell<T>> cellFactory)
- Parameters:
control- The popup to be skinnedcellFactory- Set a custom cell factory for the suggestions.
-
-
Method Detail
-
getNode
public javafx.scene.Node getNode()
- Specified by:
getNodein interfacejavafx.scene.control.Skin<T>
-
getSkinnable
public AutoCompletePopup<T> getSkinnable()
- Specified by:
getSkinnablein interfacejavafx.scene.control.Skin<T>
-
dispose
public void dispose()
- Specified by:
disposein interfacejavafx.scene.control.Skin<T>
-
-