Top Fields Constructors Methods
com.dlsc.gemsfx.skins

public Class SearchFieldPopupSkin<T>

extends Object
implements Skin<SearchFieldPopup<T>>
Class Inheritance
All Implemented Interfaces
javafx.scene.control.Skin
Imports
com.dlsc.gemsfx.SearchField, javafx.collections.transformation.SortedList, javafx.scene.Node, javafx.scene.control.ListView, .Skin, javafx.scene.input.MouseButton, javafx.util.StringConverter, java.util.Comparator, .Objects, java.util.function.Consumer

Field Summary

Modifier and TypeField and Description
private final SearchFieldPopup<T>
private final ListView<T>
private final SearchField<T>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private Comparator<T>
public void
dispose()

Implements javafx.scene.control.Skin.dispose.

Called when a previously installed skin is about to be removed from its associated control.

public Node
getNode()

Implements javafx.scene.control.Skin.getNode.

Gets the Node which represents this Skin.

public SearchFieldPopup<T>
getSkinnable()

Implements javafx.scene.control.Skin.getSkinnable.

Gets the Skinnable to which this Skin is assigned.

private void
private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

controlback to summary
private final SearchFieldPopup<T> control
listViewback to summary
private final ListView<T> listView
searchFieldback to summary
private final SearchField<T> searchField

Constructor Detail

SearchFieldPopupSkinback to summary
public SearchFieldPopupSkin(SearchFieldPopup<T> control)

Method Detail

createInnerComparatorback to summary
private Comparator<T> createInnerComparator()
disposeback to summary
public void dispose()

Implements javafx.scene.control.Skin.dispose.

Doc from javafx.scene.control.Skin.dispose.

Called when a previously installed skin is about to be removed from its associated control. This allows the skin to do clean up, like removing listeners and bindings, and undo any changes to the control's properties. After this method completes, getSkinnable() and getNode() should return null.

Calling dispose() more than once has no effect.

getNodeback to summary
public Node getNode()

Implements javafx.scene.control.Skin.getNode.

Doc from javafx.scene.control.Skin.getNode.

Gets the Node which represents this Skin. This must never be null, except after a call to dispose(), and must never change except when changing to null.

getSkinnableback to summary
public SearchFieldPopup<T> getSkinnable()

Implements javafx.scene.control.Skin.getSkinnable.

Doc from javafx.scene.control.Skin.getSkinnable.

Gets the Skinnable to which this Skin is assigned. A Skin must be created for one and only one Skinnable. This value will only ever go from a non-null to null value when the Skin is removed from the Skinnable, and only as a consequence of a call to dispose().

The caller who constructs a Skinnable must also construct a Skin and properly establish the relationship between the Control and its Skin.

registerEventListenerback to summary
private void registerEventListener()
selectItemback to summary
private void selectItem()