Class FieldInfo
- java.lang.Object
-
- net.sf.basedb.clients.web.extensions.login.FieldInfo
-
public class FieldInfo extends Object
Information about a the login/password fields on the login form.- Since:
- 3.3
- Author:
- Nicklas
-
-
Field Summary
Fields Modifier and Type Field Description private String
clazz
static FieldInfo
DEFAULT_LOGIN
This is the default login field.static FieldInfo
DEFAULT_PASSWORD
This is the default password field.private boolean
hiddenCharacters
private String
placeHolder
private String
prompt
private String
style
private String
tooltip
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClazz()
Get a class attribute that can used to style the input field.String
getPlaceHolder()
Get a placeholder text that is displayed in the field when it is empty.String
getPrompt()
Get the prompt that is associated with the field.String
getStyle()
Get a style attribute that can used to style the input field.String
getTooltip()
Get a tooltip text that is displayed when the user holds the mouse over the input field.boolean
hasHiddenCharacters()
If set, the input fields has hidden characters, otherwise they are visible.void
setClazz(String clazz)
void
setHasHiddenCharacters(boolean hiddenCharacters)
void
setPlaceHolder(String placeHolder)
void
setPrompt(String prompt)
void
setStyle(String style)
void
setTooltip(String tooltip)
-
-
-
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
-
clazz
private String clazz
-
style
private String style
-
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)
-
-