Class FieldInfo


  • public class FieldInfo
    extends Object
    Information about a the login/password fields on the login form.
    Since:
    3.3
    Author:
    Nicklas
    • Field Detail

      • DEFAULT_LOGIN

        public static final FieldInfo DEFAULT_LOGIN
        This is the default login field.
      • DEFAULT_PASSWORD

        public static final FieldInfo DEFAULT_PASSWORD
        This is the default password field.
      • prompt

        private String prompt
      • tooltip

        private String tooltip
      • placeHolder

        private String placeHolder
      • hiddenCharacters

        private boolean hiddenCharacters
    • Constructor Detail

      • FieldInfo

        public FieldInfo()
      • FieldInfo

        public FieldInfo​(String prompt,
                         boolean hiddenCharacters)
    • Method Detail

      • getPrompt

        public String getPrompt()
        Get the prompt that is associated with the field.
      • setPrompt

        public void setPrompt​(String prompt)
      • getTooltip

        public String getTooltip()
        Get a tooltip text that is displayed when the user holds the mouse over the input field.
      • setTooltip

        public void setTooltip​(String tooltip)
      • getPlaceHolder

        public String getPlaceHolder()
        Get a placeholder text that is displayed in the field when it is empty.
      • setPlaceHolder

        public void setPlaceHolder​(String placeHolder)
      • getClazz

        public String getClazz()
        Get a class attribute that can used to style the input field.
      • setClazz

        public void setClazz​(String clazz)
      • getStyle

        public String getStyle()
        Get a style attribute that can used to style the input field.
      • setStyle

        public void setStyle​(String style)
      • hasHiddenCharacters

        public boolean hasHiddenCharacters()
        If set, the input fields has hidden characters, otherwise they are visible.
      • setHasHiddenCharacters

        public void setHasHiddenCharacters​(boolean hiddenCharacters)