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
ConstructorsConstructorDescriptionAutoCompletePopupSkin(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
-
Constructor Details
-
AutoCompletePopupSkin
-
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 Details