Class PasswordTextFormatter.PasswordFilter

java.lang.Object
atlantafx.base.util.PasswordTextFormatter.PasswordFilter
All Implemented Interfaces:
Function<javafx.scene.control.TextFormatter.Change,javafx.scene.control.TextFormatter.Change>, UnaryOperator<javafx.scene.control.TextFormatter.Change>
Enclosing class:
PasswordTextFormatter

protected static class PasswordTextFormatter.PasswordFilter extends Object implements UnaryOperator<javafx.scene.control.TextFormatter.Change>
  • Field Details

    • password

      protected final javafx.beans.property.ReadOnlyStringWrapper password
    • revealPassword

      protected final javafx.beans.property.BooleanProperty revealPassword
    • sb

      protected final StringBuilder sb
    • bullet

      protected char bullet
  • Constructor Details

    • PasswordFilter

      protected PasswordFilter()
  • Method Details

    • apply

      public javafx.scene.control.TextFormatter.Change apply(javafx.scene.control.TextFormatter.Change change)
      Specified by:
      apply in interface Function<javafx.scene.control.TextFormatter.Change,javafx.scene.control.TextFormatter.Change>
    • setBullet

      protected void setBullet(char bullet)
    • maskText

      protected String maskText(int length)
    • setInitialText

      protected void setInitialText(String text)