- java.lang.Object
-
- javafx.scene.control.SkinBase<T>
-
- javafx.scene.control.skin.TextInputControlSkin<TextField>
-
- javafx.scene.control.skin.TextFieldSkin
-
- impl.org.controlsfx.skin.CustomTextFieldSkin
-
public abstract class CustomTextFieldSkin extends TextFieldSkin
-
-
Property Summary
Properties Type Property Description abstract ObjectProperty<Node>leftabstract ObjectProperty<Node>right-
Properties inherited from class javafx.scene.control.skin.TextInputControlSkin
forwardBias, highlightFill, highlightTextFill, promptTextFill, textFill
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javafx.scene.control.skin.TextInputControlSkin
TextInputControlSkin.Direction, TextInputControlSkin.TextUnit
-
-
Constructor Summary
Constructors Constructor Description CustomTextFieldSkin(TextField control)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected doublecomputeMinHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)protected doublecomputeMinWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)protected doublecomputePrefHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)protected doublecomputePrefWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)HitInfogetIndex(double x, double y)protected voidlayoutChildren(double x, double y, double w, double h)abstract ObjectProperty<Node>leftProperty()abstract ObjectProperty<Node>rightProperty()-
Methods inherited from class javafx.scene.control.skin.TextFieldSkin
addHighlight, computeBaselineOffset, computeMaxHeight, deleteChar, dispose, getCharacterBounds, getMenuPosition, getRangeShape, getUnderlineShape, maskText, moveCaret, positionCaret, queryAccessibleAttribute, removeHighlight, replaceText
-
Methods inherited from class javafx.scene.control.skin.TextInputControlSkin
executeAccessibleAction, forwardBiasProperty, getClassCssMetaData, getCssMetaData, getHighlightFill, getHighlightTextFill, getInsertionPoint, getPromptTextFill, getTextFill, handleInputMethodEvent, highlightFillProperty, highlightTextFillProperty, invalidateMetrics, isForwardBias, promptTextFillProperty, scrollCharacterToVisible, setCaretAnimating, setForwardBias, setHighlightFill, setHighlightTextFill, setPromptTextFill, setTextFill, textFillProperty, updateHighlightFill, updateHighlightTextFill, updateTextFill
-
Methods inherited from class javafx.scene.control.SkinBase
computeMaxWidth, consumeMouseEvents, getChildren, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, registerChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners
-
-
-
-
Property Detail
-
left
public abstract ObjectProperty<Node> leftProperty
-
right
public abstract ObjectProperty<Node> rightProperty
-
-
Constructor Detail
-
CustomTextFieldSkin
public CustomTextFieldSkin(TextField control)
-
-
Method Detail
-
leftProperty
public abstract ObjectProperty<Node> leftProperty()
-
rightProperty
public abstract ObjectProperty<Node> rightProperty()
-
layoutChildren
protected void layoutChildren(double x, double y, double w, double h)- Overrides:
layoutChildrenin classTextFieldSkin
-
getIndex
public HitInfo getIndex(double x, double y)
- Overrides:
getIndexin classTextFieldSkin
-
computePrefWidth
protected double computePrefWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)- Overrides:
computePrefWidthin classTextFieldSkin
-
computePrefHeight
protected double computePrefHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)- Overrides:
computePrefHeightin classTextFieldSkin
-
computeMinWidth
protected double computeMinWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)- Overrides:
computeMinWidthin classSkinBase<TextField>
-
computeMinHeight
protected double computeMinHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)- Overrides:
computeMinHeightin classTextFieldSkin
-
-