com.sencha.gxt.widget.core.client.grid.filters
Class StringFilter<M>

java.lang.Object
  extended by com.sencha.gxt.widget.core.client.grid.filters.Filter<M,String>
      extended by com.sencha.gxt.widget.core.client.grid.filters.StringFilter<M>
All Implemented Interfaces:
ActivateEvent.HasActivateHandlers<Filter<M,?>>, DeactivateEvent.HasDeactivateHandlers<Filter<M,?>>, UpdateEvent.HasUpdateHandlers

public class StringFilter<M>
extends Filter<M,String>


Nested Class Summary
 class StringFilter.DefaultStringFilterMessages
           
static interface StringFilter.StringFilterMessages
           
 
Constructor Summary
StringFilter(ValueProvider<? super M,String> valueProvider)
           
 
Method Summary
 List<FilterConfig> getFilterConfig()
           
 StringFilter.StringFilterMessages getMessages()
           
 Object getValue()
          Template method to be implemented by all subclasses that is to get and return the value of the filter.
 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.
 void setMessages(StringFilter.StringFilterMessages messages)
           
 
Methods inherited from class com.sencha.gxt.widget.core.client.grid.filters.Filter
addActivateHandler, addDeactivateHandler, addUpdateHandler, getHandler, getMenu, getUpdateBuffer, getValueProvider, isActive, setActive, setHandler, setUpdateBuffer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringFilter

public StringFilter(ValueProvider<? super M,String> valueProvider)
Method Detail

getFilterConfig

public List<FilterConfig> getFilterConfig()
Specified by:
getFilterConfig in class Filter<M,String>

getMessages

public StringFilter.StringFilterMessages getMessages()

getValue

public Object getValue()
Description copied from class: Filter
Template method to be implemented by all subclasses that is to get and return the value of the filter.

Specified by:
getValue in class Filter<M,String>

isActivatable

public boolean isActivatable()
Description copied from class: Filter
Template method to be implemented by all subclasses that is to return true if the filter has enough configuration information to be activated.

Returns:
true if if the filter has enough configuration information to be activated

setMessages

public void setMessages(StringFilter.StringFilterMessages messages)


Copyright © 2012. All Rights Reserved.