Class CustomPasswordField

  • All Implemented Interfaces:
    Styleable, EventTarget, Skinnable

    public class CustomPasswordField
    extends PasswordField
    A base class for people wanting to customize a PasswordField to contain nodes inside the input field area itself, without being on top of the users typed-in text.

    Whilst not exactly the same, refer to the CustomTextField javadoc for a screenshot and more detail. The obvious difference is that of course the CustomPasswordField masks the input from users, but in all other ways is equivalent to CustomTextField.

    See Also:
    CustomPasswordField, TextFields
    • Constructor Detail

      • CustomPasswordField

        public CustomPasswordField()
        Instantiates a default CustomPasswordField.
    • Method Detail

      • leftProperty

        public final ObjectProperty<Node> leftProperty()
        Property representing the Node that is placed on the left of the password field.
        Returns:
        An ObjectProperty.
      • getLeft

        public final Node getLeft()
        Returns:
        The Node that is placed on the left of the password field.
      • setLeft

        public final void setLeft​(Node value)
        Sets the Node that is placed on the left of the password field.
        Parameters:
        value -
      • getRight

        public final Node getRight()
        Returns:
        The Node that is placed on the right of the password field.
      • setRight

        public final void setRight​(Node value)
        Sets the Node that is placed on the right of the password field.
        Parameters:
        value -