public class RangeSearchField extends AbstractSearchField
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
static String |
MAX_SUFFIX |
protected String |
maxId |
protected String |
maxInputName |
protected Integer |
maxLength |
protected String |
maxStringValue |
protected Object |
maxValue |
static String |
MIN_SUFFIX |
protected String |
minId |
protected String |
minInputName |
protected String |
minStringValue |
protected Object |
minValue |
static String |
NULL_VALUE |
protected boolean |
searchNullValue |
protected Integer |
size |
accessor, ATTR_NAME_HTML_CLASS, FORM_CONTROL_CSS_CLASS, id, inputName, label, logger, required
Constructor and Description |
---|
RangeSearchField(PropertyAccessor accessor) |
RangeSearchField(PropertyAccessor accessor,
String prefix) |
appendToSearchString, getId, getInputName, getLabel, getPropertyAccessor, getText, readFromObject, setId, setInputName, setLabel, writeToObject
public static final String copyright
public static final String MIN_SUFFIX
public static final String MAX_SUFFIX
public static final String NULL_VALUE
protected String minId
protected String minInputName
protected String minStringValue
protected Object minValue
protected String maxId
protected String maxInputName
protected String maxStringValue
protected Object maxValue
protected Integer size
protected Integer maxLength
protected boolean searchNullValue
public RangeSearchField(PropertyAccessor accessor)
public RangeSearchField(PropertyAccessor accessor, String prefix)
public void toXhtml(@NotNull XhtmlBuffer xb)
public void rangeEndToXhtml(XhtmlBuffer xb, String id, String inputName, String stringValue, String label)
public void readFromRequest(HttpServletRequest req)
public boolean validate()
public void toSearchString(StringBuilder sb, String encoding)
public void configureCriteria(Criteria criteria)
public String getMinId()
public void setMinId(String minId)
public String getMinInputName()
public void setMinInputName(String minInputName)
public String getMinStringValue()
public void setMinStringValue(String minStringValue)
public Object getMinValue()
public void setMinValue(Object minValue)
public String getMaxId()
public void setMaxId(String maxId)
public String getMaxInputName()
public void setMaxInputName(String maxInputName)
public String getMaxStringValue()
public void setMaxStringValue(String maxStringValue)
public Object getMaxValue()
public void setMaxValue(Object maxValue)
public boolean isSearchNullValue()
public void setSearchNullValue(boolean searchNullValue)
public Integer getSize()
public void setSize(Integer size)
public Integer getMaxLength()
public void setMaxLength(Integer maxLength)