public class PasswordField extends TextField
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
static String |
PASSWORD_PLACEHOLDER |
amber, green, highlightLinks, multiline, noValueText, red, richText, textAreaMinRows, textAreaWidthautoCapitalize, labelPlaceholder, maxLength, replaceBadUnicodeCharacters, size, stringValueaccessor, bulkCheckboxName, bulkChecked, colSpan, COPYRIGHT, EDITABLE_FIELD_CSS_CLASS, elementsConfiguration, enabled, errors, fieldCssClass, forceNewRow, FORM_LABEL_CSS_CLASS, help, href, id, INPUT_CONTAINER_CSS_CLASS, inputName, insertable, label, logger, mode, required, STATIC_VALUE_CSS_CLASS, title, updatable| Constructor and Description |
|---|
PasswordField(PropertyAccessor accessor,
Mode mode) |
PasswordField(PropertyAccessor accessor,
Mode mode,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfirmationValue() |
boolean |
isConfirmationRequired() |
void |
labelToXhtml(XhtmlBuffer xb) |
void |
labelToXhtml(XhtmlBuffer xb,
String actualHtmlId,
String actualLabel) |
void |
readFromObject(Object obj) |
void |
readFromRequest(HttpServletRequest req) |
void |
setConfirmationRequired(boolean confirmationRequired) |
void |
setConfirmationValue(String confirmationValue) |
void |
toXhtml(XhtmlBuffer xb) |
boolean |
validate() |
void |
valueToXhtml(XhtmlBuffer xb) |
void |
valueToXhtml(XhtmlBuffer xb,
String actualHtmlId,
String actualInputName,
String actualStringValue) |
protected void |
valueToXhtmlEdit(XhtmlBuffer xb,
String actualHtmlId,
String actualInputName,
String actualStringValue) |
protected void |
valueToXhtmlPreview(XhtmlBuffer xb,
String actualInputName,
String actualStringValue) |
protected void |
valueToXhtmlView(XhtmlBuffer xb) |
getDisplayValue, getNoValueText, getTextAreaMinRows, getTextAreaWidth, getValue, isHighlightLinks, isMultiline, isRichText, setHighlightLinks, setMultiline, setNoValueText, setRichText, setTextAreaMinRows, setTextAreaWidth, setValue, valueToXhtmlEdit, valueToXhtmlPreview, writeToObjectgetMaxLength, getSize, getStringValue, isAutoCapitalize, isLabelPlaceholder, isReplaceBadUnicodeCharacters, setAutoCapitalize, setLabelPlaceholder, setMaxLength, setReplaceBadUnicodeCharacters, setSize, setStringValuecloseVisibleField, errorsToXhtml, getColSpan, getErrors, getFieldCssClass, getHelp, getHref, getId, getInputName, getLabel, getMode, getPropertyAccessor, getText, getTitle, hasRequiredFields, helpToXhtml, isBlank, isEnabled, isForceNewRow, isInsertable, isReadOnly, isRequired, isUpdatable, isValid, maybeConvertValue, openVisibleField, readFrom, setColSpan, setEnabled, setErrors, setFieldCssClass, setForceNewRow, setHelp, setHref, setId, setInputName, setInsertable, setLabel, setRequired, setTitle, setUpdatable, writeTo, writeToObject, writeToObjectpublic static final String copyright
public static final String PASSWORD_PLACEHOLDER
public PasswordField(PropertyAccessor accessor, Mode mode)
public PasswordField(PropertyAccessor accessor, Mode mode, String prefix)
public void readFromRequest(HttpServletRequest req)
readFromRequest in interface ElementreadFromRequest in class TextFieldpublic boolean validate()
validate in interface Elementvalidate in class AbstractTextField<String>public void readFromObject(Object obj)
readFromObject in interface ElementreadFromObject in class TextFieldpublic void toXhtml(@NotNull
XhtmlBuffer xb)
toXhtml in interface XhtmlFragmenttoXhtml in class AbstractField<String>public void labelToXhtml(XhtmlBuffer xb)
labelToXhtml in interface Field<String>labelToXhtml in class AbstractTextField<String>public void labelToXhtml(XhtmlBuffer xb, String actualHtmlId, String actualLabel)
public void valueToXhtml(XhtmlBuffer xb)
valueToXhtml in interface Field<String>valueToXhtml in class AbstractTextField<String>public void valueToXhtml(XhtmlBuffer xb, String actualHtmlId, String actualInputName, String actualStringValue)
protected void valueToXhtmlPreview(XhtmlBuffer xb, String actualInputName, String actualStringValue)
protected void valueToXhtmlView(XhtmlBuffer xb)
valueToXhtmlView in class TextFieldprotected void valueToXhtmlEdit(XhtmlBuffer xb, String actualHtmlId, String actualInputName, String actualStringValue)
public String getConfirmationValue()
public void setConfirmationValue(String confirmationValue)
public boolean isConfirmationRequired()
public void setConfirmationRequired(boolean confirmationRequired)