- 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>
left
abstract 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 double
computeMinHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computeMinWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computePrefHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)
protected double
computePrefWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)
HitInfo
getIndex(double x, double y)
protected void
layoutChildren(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:
layoutChildren
in classTextFieldSkin
-
getIndex
public HitInfo getIndex(double x, double y)
- Overrides:
getIndex
in classTextFieldSkin
-
computePrefWidth
protected double computePrefWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computePrefWidth
in classTextFieldSkin
-
computePrefHeight
protected double computePrefHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computePrefHeight
in classTextFieldSkin
-
computeMinWidth
protected double computeMinWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMinWidth
in classSkinBase<TextField>
-
computeMinHeight
protected double computeMinHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)
- Overrides:
computeMinHeight
in classTextFieldSkin
-
-