|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.data.shared.loader.FilterConfigBean
public class FilterConfigBean
Default implementation of the FilterConfig interface. Provides
a convenience method to set field and type in one operation.
| Constructor Summary | |
|---|---|
FilterConfigBean()
|
|
| Method Summary | ||
|---|---|---|
java.lang.String |
getComparison()
Returns the type of filter comparison. |
|
java.lang.String |
getField()
Returns the name of the filter field. |
|
java.lang.String |
getType()
Returns the filter type. |
|
java.lang.String |
getValue()
Gets the filter value. |
|
void |
setComparison(java.lang.String comparison)
Sets the type of filter comparison (e.g. |
|
void |
setField(java.lang.String field)
Sets the name of the filter field. |
|
|
setFieldAndType(ValueProvider<?,V> valueProvider,
java.lang.Class<? extends V> type)
Convenience method to set both field name and type in one operation. |
|
void |
setType(java.lang.String type)
Sets the filter type (e.g. |
|
void |
setValue(java.lang.String value)
Sets the filter value. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterConfigBean()
| Method Detail |
|---|
public java.lang.String getComparison()
FilterConfig
getComparison in interface FilterConfigpublic java.lang.String getField()
FilterConfig
getField in interface FilterConfigpublic java.lang.String getType()
FilterConfig
getType in interface FilterConfigpublic java.lang.String getValue()
FilterConfigFilterHandler.convertToObject(String).
getValue in interface FilterConfigpublic void setComparison(java.lang.String comparison)
FilterConfig
setComparison in interface FilterConfigcomparison - the type of filter comparisonpublic void setField(java.lang.String field)
FilterConfig
setField in interface FilterConfigfield - the name of the filter field
public <V> void setFieldAndType(ValueProvider<?,V> valueProvider,
java.lang.Class<? extends V> type)
valueProvider - the value provider. The value provider's path supplies
the field name.type - the field type. The class name supplies the field type.public void setType(java.lang.String type)
FilterConfig
setType in interface FilterConfigtype - the type namepublic void setValue(java.lang.String value)
FilterConfigFilterHandler.convertToString(Object).
setValue in interface FilterConfigvalue - the string representation of the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||