Top Fields Constructors Methods
com.dlsc.gemsfx.skins

public Class SearchFieldEditorSkin<T>

extends TextFieldSkin
Class Inheritance
Imports
com.dlsc.gemsfx.SearchField, javafx.css.PseudoClass, javafx.geometry.Bounds, .Pos, javafx.scene.Node, javafx.scene.control.Label, .TextField, javafx.scene.control.skin.TextFieldSkin, javafx.scene.layout.StackPane, javafx.scene.text.HitInfo, .Text, java.util.Optional, .Set

Field Summary

Modifier and TypeField and Description
private final Label
private final StackPane
private static final PseudoClass
private static final PseudoClass
private static final PseudoClass
private StackPane
private StackPane
private final SearchField<T>
private final StackPane

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public HitInfo
getIndex(double x, double y)

Overrides javafx.scene.control.skin.TextFieldSkin.getIndex.

Performs a hit test, mapping point to index in the content.

protected void
layoutChildren(double x, double y, double w, double h)

Overrides javafx.scene.control.skin.TextFieldSkin.layoutChildren.

Called during the layout pass of the scenegraph.

private void
private void
Inherited from javafx.scene.control.skin.TextFieldSkin:
addHighlightcomputeBaselineOffsetcomputeMaxHeightcomputeMinHeightcomputePrefHeightcomputePrefWidthdeleteChardisposegetCharacterBoundsgetMenuPositiongetRangeShapegetUnderlineShapemaskTextmoveCaretpositionCaretqueryAccessibleAttributeremoveHighlightreplaceText

Field Detail

autoCompletedTextLabelback to summary
private final Label autoCompletedTextLabel
graphicWrapperback to summary
private final StackPane graphicWrapper
HAS_LEFT_NODEback to summary
private static final PseudoClass HAS_LEFT_NODE
HAS_NO_SIDE_NODEback to summary
private static final PseudoClass HAS_NO_SIDE_NODE
HAS_RIGHT_NODEback to summary
private static final PseudoClass HAS_RIGHT_NODE
leftPaneback to summary
private StackPane leftPane
rightPaneback to summary
private StackPane rightPane
searchFieldback to summary
private final SearchField<T> searchField
searchGraphicWrapperback to summary
private final StackPane searchGraphicWrapper

Constructor Detail

SearchFieldEditorSkinback to summary
public SearchFieldEditorSkin(SearchField<T> searchField)

Method Detail

getIndexback to summary
public HitInfo getIndex(double x, double y)

Overrides javafx.scene.control.skin.TextFieldSkin.getIndex.

Doc from javafx.scene.control.skin.TextFieldSkin.getIndex.

Performs a hit test, mapping point to index in the content.

Annotations
@Override
layoutChildrenback to summary
protected void layoutChildren(double x, double y, double w, double h)

Overrides javafx.scene.control.skin.TextFieldSkin.layoutChildren.

Doc from javafx.scene.control.skin.TextFieldSkin.layoutChildren.

Called during the layout pass of the scenegraph.

Annotations
@Override
setupGraphicsback to summary
private void setupGraphics()
updateChildrenback to summary
private void updateChildren()