public interface Field<T> extends FormElement
Modifier and Type | Method and Description |
---|---|
void |
errorsToXhtml(XhtmlBuffer xb) |
String |
getDisplayValue() |
String |
getHref() |
String |
getId() |
String |
getInputName() |
PropertyAccessor |
getPropertyAccessor() |
String |
getStringValue() |
String |
getTitle() |
T |
getValue() |
void |
helpToXhtml(XhtmlBuffer xb) |
boolean |
isEnabled() |
boolean |
isInsertable() |
boolean |
isRequired() |
boolean |
isUpdatable() |
void |
labelToXhtml(XhtmlBuffer xb) |
void |
setEnabled(boolean enabled) |
void |
setHref(String href) |
void |
setId(String id) |
void |
setInputName(String inputName) |
void |
setInsertable(boolean insertable) |
void |
setRequired(boolean required) |
void |
setStringValue(String stringValue) |
void |
setTitle(String alt) |
void |
setUpdatable(boolean updatable) |
void |
setValue(T value) |
void |
valueToXhtml(XhtmlBuffer xb) |
getColSpan, getErrors, getHelp, getLabel, getMode, hasRequiredFields, isForceNewRow, readFrom, setColSpan, setForceNewRow, setHelp, setLabel, writeTo
readFromObject, readFromRequest, validate, writeToObject
toXhtml
static final String copyright
PropertyAccessor getPropertyAccessor()
void valueToXhtml(XhtmlBuffer xb)
void labelToXhtml(XhtmlBuffer xb)
void helpToXhtml(XhtmlBuffer xb)
void errorsToXhtml(XhtmlBuffer xb)
String getId()
void setId(String id)
String getInputName()
void setInputName(String inputName)
boolean isRequired()
void setRequired(boolean required)
String getHref()
void setHref(String href)
String getTitle()
void setTitle(String alt)
String getStringValue()
void setStringValue(String stringValue)
boolean isEnabled()
void setEnabled(boolean enabled)
boolean isInsertable()
void setInsertable(boolean insertable)
boolean isUpdatable()
void setUpdatable(boolean updatable)
T getValue()
void setValue(T value)
String getDisplayValue()