|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.widget.core.client.grid.filters.Filter<M,Date>
com.sencha.gxt.widget.core.client.grid.filters.DateFilter<M>
public class DateFilter<M>
| Nested Class Summary | |
|---|---|
static interface |
DateFilter.DateFilterMessages
|
class |
DateFilter.DefaultDateFilterMessages
|
| Constructor Summary | |
|---|---|
DateFilter(ValueProvider<? super M,Date> valueProvider)
|
|
| Method Summary | |
|---|---|
List<FilterConfig> |
getFilterConfig()
|
Date |
getMaxDate()
Returns the max date. |
DateFilter.DateFilterMessages |
getMessages()
|
Date |
getMinDate()
Returns the minimum date. |
Object |
getValue()
Template method to be implemented by all subclasses that is to get and return the value of the filter. |
void |
handleMenuSelect(ValueChangeEvent<Date> event)
|
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 |
setMaxDate(Date maxDate)
Sets the max date as passed to the date picker. |
void |
setMessages(DateFilter.DateFilterMessages messages)
|
void |
setMinDate(Date minDate)
Set's the minimum date as passed to the date picker. |
| 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 |
|---|
public DateFilter(ValueProvider<? super M,Date> valueProvider)
| Method Detail |
|---|
public List<FilterConfig> getFilterConfig()
getFilterConfig in class Filter<M,Date>public Date getMaxDate()
public DateFilter.DateFilterMessages getMessages()
public Date getMinDate()
public Object getValue()
Filter
getValue in class Filter<M,Date>public void handleMenuSelect(ValueChangeEvent<Date> event)
public boolean isActivatable()
Filtertrue if the filter has enough configuration information to be
activated.
public void setMaxDate(Date maxDate)
maxDate - the max datepublic void setMessages(DateFilter.DateFilterMessages messages)
public void setMinDate(Date minDate)
minDate - the minimum date
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||