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

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

public class BooleanFilter<M>
extends Filter<M,Boolean>


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

Constructor Detail

BooleanFilter

public BooleanFilter(ValueProvider<? super M,Boolean> valueProvider)
Method Detail

getFilterConfig

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

isActive

public boolean isActive()
Description copied from class: Filter
Returns true if the filter is active.

Overrides:
isActive in class Filter<M,Boolean>
Returns:
the active state

getMessages

public BooleanFilter.BooleanFilterMessages 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,Boolean>

setMessages

public void setMessages(BooleanFilter.BooleanFilterMessages messages)


Copyright © 2012. All Rights Reserved.