|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.data.shared.loader.FilterHandler<V>
com.sencha.gxt.data.shared.loader.NumberFilterHandler<V>
public class NumberFilterHandler<V extends java.lang.Number>
A FilterHandler that provides support for Number values
and uses a property editor to convert a string representation to a number.
| Constructor Summary | |
|---|---|
NumberFilterHandler(Parser<V> propertyEditor)
Creates a number filter handler that uses the given property editor to convert a string representation to a number. |
|
| Method Summary | |
|---|---|
V |
convertToObject(java.lang.String value)
Converts a filter value in string representation to native representation. |
java.lang.String |
convertToString(V object)
Converts a filter value in native representation to string representation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumberFilterHandler(Parser<V> propertyEditor)
propertyEditor - the property editor to use to do the conversion| Method Detail |
|---|
public V convertToObject(java.lang.String value)
FilterHandler
convertToObject in class FilterHandler<V extends java.lang.Number>value - the string representation of the filter value
public java.lang.String convertToString(V object)
FilterHandler
convertToString in class FilterHandler<V extends java.lang.Number>object - the native representation of the filter value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||