Interface StringInput.StringInputContext

All Superinterfaces:
AbstractTextComponent.TextComponentContext<String,StringInput.StringInputContext>, ComponentContext<StringInput.StringInputContext>
Enclosing class:
StringInput

public static interface StringInput.StringInputContext extends AbstractTextComponent.TextComponentContext<String,StringInput.StringInputContext>
  • Method Details

    • getDefaultValue

      String getDefaultValue()
      Gets a default value.
      Returns:
      a default value
    • setDefaultValue

      void setDefaultValue(String defaultValue)
      Sets a default value.
      Parameters:
      defaultValue - the default value
    • setMaskCharacter

      void setMaskCharacter(Character maskCharacter)
      Sets a mask character.
      Parameters:
      maskCharacter - the mask character
    • getMaskedInput

      String getMaskedInput()
      Gets a masked input.
      Returns:
      a masked input
    • getMaskedResultValue

      String getMaskedResultValue()
      Gets a masked result value.
      Returns:
      masked result value
    • hasMaskCharacter

      boolean hasMaskCharacter()
      Returns flag if there is a mask character defined.
      Returns:
      true if mask character defined, false otherwise
    • getMaskCharacter

      Character getMaskCharacter()
      Gets a mask character.
      Returns:
      a mask character.
    • empty

      Returns:
      empty path input context
    • of

      static StringInput.StringInputContext of(String defaultValue, Character maskCharacter)
      Returns:
      path input context