Class FieldInfo
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 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
-
Constructor Summary
-
Method Summary
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)
Methods inherited from class net.sf.basedb.clients.web.extensions.DynamicActionAttributeSupport
addAttributes, getAttributesString, getDynamicActionAttributes, setDynamicActionAttributesSource, setDynamicAttribute
-
Field Details
-
DEFAULT_LOGIN
This is the default login field. -
DEFAULT_PASSWORD
This is the default password field. -
prompt
-
tooltip
-
placeHolder
-
clazz
-
style
-
-
Constructor Details
-
FieldInfo
public FieldInfo() -
FieldInfo
-
-
Method Details
-
getPrompt
Get the prompt that is associated with the field. -
setPrompt
-
getTooltip
Get a tooltip text that is displayed when the user holds the mouse over the input field. -
setTooltip
-
getPlaceHolder
Get a placeholder text that is displayed in the field when it is empty. -
setPlaceHolder
-
getClazz
Get a class attribute that can used to style the input field. -
setClazz
-
getStyle
Get a style attribute that can used to style the input field. -
setStyle
-
hasHiddenCharacters
public boolean hasHiddenCharacters()If set, the input fields has hidden characters, otherwise they are visible. -
setHasHiddenCharacters
public void setHasHiddenCharacters(boolean hiddenCharacters)
-