|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.widget.grid.filters.Filter
com.extjs.gxt.ui.client.widget.grid.filters.StringFilter
public class StringFilter
| Nested Class Summary | |
|---|---|
static class |
StringFilter.StringFilterMessages
|
| Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.grid.filters.Filter |
|---|
Filter.FilterMessages |
| Field Summary |
|---|
| Fields inherited from class com.extjs.gxt.ui.client.widget.grid.filters.Filter |
|---|
dataIndex, menu |
| Constructor Summary | |
|---|---|
StringFilter(java.lang.String dataIndex)
|
|
| Method Summary | |
|---|---|
StringFilter.StringFilterMessages |
getMessages()
|
java.util.List<FilterConfig> |
getSerialArgs()
Template method to be implemented by all subclasses that is to get and return serialized filter data for transmission to the server. |
java.lang.Object |
getValue()
Template method to be implemented by all subclasses that is to get and return the value of the filter. |
int |
getWidth()
Returns the field width. |
boolean |
isActivatable()
Template method to be implemented by all subclasses that is to return true if the filter has enough configuration information to be
activated. |
protected void |
onFieldKeyUp(FieldEvent fe)
|
void |
setMessages(Filter.FilterMessages messages)
|
void |
setValue(java.lang.Object value)
Template method to be implemented by all subclasses that is to set the value of the filter and fire the 'Update' event. |
void |
setWidth(int width)
Sets the field width (defaults to 125). |
boolean |
validateModel(ModelData model)
Template method to be implemented by all subclasses that is to validates the provided Model against the filters configuration. |
| Methods inherited from class com.extjs.gxt.ui.client.widget.grid.filters.Filter |
|---|
fireUpdate, getDataIndex, getMenu, getModelValue, getUpdateBuffer, isActive, serialize, setActive, setUpdateBuffer |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringFilter(java.lang.String dataIndex)
| Method Detail |
|---|
public StringFilter.StringFilterMessages getMessages()
getMessages in class Filterpublic java.util.List<FilterConfig> getSerialArgs()
Filter
getSerialArgs in class Filterpublic java.lang.Object getValue()
Filter
getValue in class Filterpublic int getWidth()
public boolean isActivatable()
Filtertrue if the filter has enough configuration information to be
activated.
isActivatable in class Filterpublic void setMessages(Filter.FilterMessages messages)
setMessages in class Filterpublic void setValue(java.lang.Object value)
Filter
setValue in class Filtervalue - the filter valuepublic void setWidth(int width)
width - the field widthpublic boolean validateModel(ModelData model)
Filter
validateModel in class Filtermodel - the model
protected void onFieldKeyUp(FieldEvent fe)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||