Interface MaskChar

All Known Implementing Classes:
SimpleMaskChar

public interface MaskChar
Provides basic API for defining an input mask.
  • Field Details

  • Method Details

    • isAllowed

      boolean isAllowed(char ch)
      Returns "true" if the character is allowed, "false" otherwise.
    • transform

      char transform(char ch)
      Transforms user input character before setting.
    • getPlaceholder

      char getPlaceholder()
      Returns the placeholder for the mask character.
    • isFixed

      boolean isFixed()
      Returns whether character is fixed (prefix, suffix or separator).