java.lang.Object
net.sf.basedb.clients.web.extensions.DynamicActionAttributeSupport
net.sf.basedb.clients.web.extensions.login.FieldInfo
All Implemented Interfaces:
DynamicActionAttributes

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

    • 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
    • clazz

      private String clazz
    • style

      private String style
    • hiddenCharacters

      private boolean hiddenCharacters
  • Constructor Details

    • FieldInfo

      public FieldInfo()
    • FieldInfo

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

    • 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)