public abstract class AbstractSearchField extends Object implements SearchField
Modifier and Type | Field and Description |
---|---|
protected PropertyAccessor |
accessor |
static String |
ATTR_NAME_HTML_CLASS |
static String |
copyright |
static String |
FORM_CONTROL_CSS_CLASS |
protected String |
id |
protected String |
inputName |
protected String |
label |
static org.slf4j.Logger |
logger |
protected boolean |
required |
Constructor and Description |
---|
AbstractSearchField(PropertyAccessor accessor) |
AbstractSearchField(PropertyAccessor accessor,
String prefix) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendToSearchString(StringBuilder sb,
String name,
String value,
String encoding) |
String |
getId() |
String |
getInputName() |
String |
getLabel() |
PropertyAccessor |
getPropertyAccessor() |
String |
getText(String key,
Object... args) |
void |
readFromObject(Object obj) |
void |
setId(String id) |
void |
setInputName(String inputName) |
void |
setLabel(String label) |
void |
writeToObject(Object obj) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configureCriteria, toSearchString
readFromRequest, validate
toXhtml
public static final String copyright
protected final PropertyAccessor accessor
protected String id
protected String inputName
protected String label
protected boolean required
public static final org.slf4j.Logger logger
public static final String ATTR_NAME_HTML_CLASS
public static final String FORM_CONTROL_CSS_CLASS
public AbstractSearchField(PropertyAccessor accessor)
public AbstractSearchField(PropertyAccessor accessor, String prefix)
public void readFromObject(Object obj)
readFromObject
in interface Element
public void writeToObject(Object obj)
writeToObject
in interface Element
public PropertyAccessor getPropertyAccessor()
getPropertyAccessor
in interface SearchField
public String getId()
public void setId(String id)
public String getLabel()
public void setLabel(String label)
public String getInputName()
public void setInputName(String inputName)
protected void appendToSearchString(StringBuilder sb, String name, String value, String encoding)