|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.data.BaseModelData
com.extjs.gxt.ui.client.data.BaseFilterConfig
public abstract class BaseFilterConfig
Field Summary | |
---|---|
protected java.lang.String |
field
|
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
---|
allowNestedValues, map |
Constructor Summary | |
---|---|
BaseFilterConfig()
|
|
BaseFilterConfig(java.lang.String type,
java.lang.Object value)
|
|
BaseFilterConfig(java.lang.String type,
java.lang.String comparison,
java.lang.Object value)
|
Method Summary | |
---|---|
java.lang.String |
getComparison()
Returns the comparison value. |
java.lang.String |
getField()
Returns the model property name. |
java.lang.String |
getType()
|
java.lang.Object |
getValue()
Returns the filter value. |
void |
setComparison(java.lang.String comparison)
Sets the comparison value. |
void |
setField(java.lang.String field)
Sets the model property name the filter is bound to. |
void |
setType(java.lang.String type)
Sets the type of filter ('string', 'numeric', 'date', 'boolean', 'list'). |
void |
setValue(java.lang.Object value)
Sets the value. |
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
---|
get, get, getProperties, getPropertyNames, isAllowNestedValues, remove, set, setAllowNestedValues, setProperties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.extjs.gxt.ui.client.data.FilterConfig |
---|
isFiltered |
Field Detail |
---|
protected java.lang.String field
Constructor Detail |
---|
public BaseFilterConfig()
public BaseFilterConfig(java.lang.String type, java.lang.Object value)
public BaseFilterConfig(java.lang.String type, java.lang.String comparison, java.lang.Object value)
Method Detail |
---|
public java.lang.String getComparison()
FilterConfig
getComparison
in interface FilterConfig
public java.lang.String getField()
FilterConfig
getField
in interface FilterConfig
public java.lang.String getType()
getType
in interface FilterConfig
public java.lang.Object getValue()
FilterConfig
getValue
in interface FilterConfig
public void setComparison(java.lang.String comparison)
FilterConfig
setComparison
in interface FilterConfig
comparison
- the comparisonpublic void setField(java.lang.String field)
FilterConfig
setField
in interface FilterConfig
field
- the property namepublic void setType(java.lang.String type)
FilterConfig
setType
in interface FilterConfig
type
- the filter typepublic void setValue(java.lang.Object value)
FilterConfig
setValue
in interface FilterConfig
value
- the value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |