|
||||||||||
| 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,java.util.Date>
com.sencha.gxt.widget.core.client.grid.filters.DateFilter<M>
M - the model typepublic class DateFilter<M>
A date filter. See Filter for more information.
| Nested Class Summary | |
|---|---|
static interface |
DateFilter.DateFilterMessages
The locale-sensitive messages used by this class. |
class |
DateFilter.DefaultDateFilterMessages
The default locale-sensitive messages used by this class. |
| Constructor Summary | |
|---|---|
DateFilter(ValueProvider<? super M,java.util.Date> valueProvider)
Creates a date filter for the specified value provider. |
|
| Method Summary | |
|---|---|
java.util.List<FilterConfig> |
getFilterConfig()
Returns a list of filter configurations. |
java.util.Date |
getMaxDate()
Returns the max date. |
DateFilter.DateFilterMessages |
getMessages()
Returns the locale-sensitive messages used by this class. |
java.util.Date |
getMinDate()
Returns the minimum date. |
java.lang.Object |
getValue()
Template method to be implemented by all subclasses that is to get and return the value of the filter. |
void |
handleMenuSelect(ValueChangeEvent<java.util.Date> event)
Handles the menu select event generated by the filter menu. |
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(java.util.Date maxDate)
Sets the max date as passed to the date picker. |
void |
setMessages(DateFilter.DateFilterMessages messages)
Sets the local-sensitive messages used by this class. |
void |
setMinDate(java.util.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,java.util.Date> valueProvider)
Filter.Filter(ValueProvider) for more information.
valueProvider - the value provider| Method Detail |
|---|
public java.util.List<FilterConfig> getFilterConfig()
Filter
getFilterConfig in class Filter<M,java.util.Date>public java.util.Date getMaxDate()
public DateFilter.DateFilterMessages getMessages()
public java.util.Date getMinDate()
public java.lang.Object getValue()
Filter
getValue in class Filter<M,java.util.Date>public void handleMenuSelect(ValueChangeEvent<java.util.Date> event)
event - the menu select eventpublic boolean isActivatable()
Filtertrue if the filter has enough configuration information to be
activated.
public void setMaxDate(java.util.Date maxDate)
maxDate - the max datepublic void setMessages(DateFilter.DateFilterMessages messages)
messages - the locale sensitive messages used by this class.public void setMinDate(java.util.Date minDate)
minDate - the minimum date
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||