public class FieldInfo extends Object
Modifier and Type | Field and 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 and Description |
---|
FieldInfo() |
FieldInfo(String prompt,
boolean hiddenCharacters) |
Modifier and Type | Method and 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) |
public static final FieldInfo DEFAULT_LOGIN
public static final FieldInfo DEFAULT_PASSWORD
private String prompt
private String tooltip
private String placeHolder
private String clazz
private String style
private boolean hiddenCharacters
public FieldInfo()
public FieldInfo(String prompt, boolean hiddenCharacters)
public String getPrompt()
public void setPrompt(String prompt)
public String getTooltip()
public void setTooltip(String tooltip)
public String getPlaceHolder()
public void setPlaceHolder(String placeHolder)
public String getClazz()
public void setClazz(String clazz)
public String getStyle()
public void setStyle(String style)
public boolean hasHiddenCharacters()
public void setHasHiddenCharacters(boolean hiddenCharacters)