public class RegExpTextField extends TextField
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
protected String |
errorString |
protected Pattern |
pattern |
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 |
|---|
RegExpTextField(PropertyAccessor accessor,
Mode mode,
String regExp) |
RegExpTextField(PropertyAccessor accessor,
Mode mode,
String prefix,
String regExp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorString() |
void |
setErrorString(String errorString) |
boolean |
validate() |
getDisplayValue, getNoValueText, getTextAreaMinRows, getTextAreaWidth, getValue, isHighlightLinks, isMultiline, isRichText, readFromObject, readFromRequest, setHighlightLinks, setMultiline, setNoValueText, setRichText, setTextAreaMinRows, setTextAreaWidth, setValue, valueToXhtmlEdit, valueToXhtmlPreview, valueToXhtmlView, writeToObjectgetMaxLength, getSize, getStringValue, isAutoCapitalize, isLabelPlaceholder, isReplaceBadUnicodeCharacters, labelToXhtml, setAutoCapitalize, setLabelPlaceholder, setMaxLength, setReplaceBadUnicodeCharacters, setSize, setStringValue, valueToXhtmlcloseVisibleField, 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, toXhtml, writeTo, writeToObject, writeToObjectpublic static final String copyright
protected final Pattern pattern
protected String errorString
public RegExpTextField(PropertyAccessor accessor, Mode mode, String regExp)
public RegExpTextField(PropertyAccessor accessor, Mode mode, String prefix, String regExp)