Class CustomTextFieldSkin

  • All Implemented Interfaces:
    javafx.scene.control.Skin<javafx.scene.control.TextField>

    public abstract class CustomTextFieldSkin
    extends javafx.scene.control.skin.TextFieldSkin
    • 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

      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)  
      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> leftProperty()  
      abstract javafx.beans.property.ObjectProperty<javafx.scene.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, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners
    • Constructor Detail

      • CustomTextFieldSkin

        public CustomTextFieldSkin​(javafx.scene.control.TextField control)
    • Method Detail

      • leftProperty

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

        public abstract javafx.beans.property.ObjectProperty<javafx.scene.Node> rightProperty()
      • 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