Class CustomTextFieldSkin

java.lang.Object
javafx.scene.control.SkinBase<javafx.scene.control.TextField>
javafx.scene.control.skin.TextInputControlSkin<javafx.scene.control.TextField>
javafx.scene.control.skin.TextFieldSkin
impl.org.controlsfx.skin.CustomTextFieldSkin
All Implemented Interfaces:
javafx.scene.control.Skin<javafx.scene.control.TextField>

public abstract class CustomTextFieldSkin extends javafx.scene.control.skin.TextFieldSkin
  • Property Summary

    Properties
    Type
    Property
    Description
    abstract javafx.beans.property.ObjectProperty<javafx.scene.Node>
     
    abstract javafx.beans.property.ObjectProperty<javafx.scene.Node>
     

    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

    javafx.scene.control.skin.TextInputControlSkin.Direction, javafx.scene.control.skin.TextInputControlSkin.TextUnit
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomTextFieldSkin(javafx.scene.control.TextField control)
     
  • Method Summary

    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)
     
    javafx.scene.text.HitInfo
    getIndex(double x, double y)
     
    protected void
    layoutChildren(double x, double y, double w, double h)
     
    abstract javafx.beans.property.ObjectProperty<javafx.scene.Node>
     
    abstract javafx.beans.property.ObjectProperty<javafx.scene.Node>
     

    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, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Property Details

    • left

      public abstract javafx.beans.property.ObjectProperty<javafx.scene.Node> leftProperty
      See Also:
    • right

      public abstract javafx.beans.property.ObjectProperty<javafx.scene.Node> rightProperty
      See Also:
  • Constructor Details

    • CustomTextFieldSkin

      public CustomTextFieldSkin(javafx.scene.control.TextField control)
  • Method Details

    • leftProperty

      public abstract javafx.beans.property.ObjectProperty<javafx.scene.Node> leftProperty()
      Returns:
      the left property
    • rightProperty

      public abstract javafx.beans.property.ObjectProperty<javafx.scene.Node> rightProperty()
      Returns:
      the right property
    • layoutChildren

      protected void layoutChildren(double x, double y, double w, double h)
      Overrides:
      layoutChildren in class javafx.scene.control.skin.TextFieldSkin
    • getIndex

      public javafx.scene.text.HitInfo getIndex(double x, double y)
      Overrides:
      getIndex in class javafx.scene.control.skin.TextFieldSkin
    • computePrefWidth

      protected double computePrefWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computePrefWidth in class javafx.scene.control.skin.TextFieldSkin
    • computePrefHeight

      protected double computePrefHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computePrefHeight in class javafx.scene.control.skin.TextFieldSkin
    • computeMinWidth

      protected double computeMinWidth(double h, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computeMinWidth in class javafx.scene.control.SkinBase<javafx.scene.control.TextField>
    • computeMinHeight

      protected double computeMinHeight(double w, double topInset, double rightInset, double bottomInset, double leftInset)
      Overrides:
      computeMinHeight in class javafx.scene.control.skin.TextFieldSkin