|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.filter.Filter
com.citra.filter.ComparisonFilter
com.citra.filter.NumberFilter
public abstract class NumberFilter
The superclass for filters that deal with Numbers.
Field Summary |
---|
Fields inherited from class com.citra.filter.ComparisonFilter |
---|
comparison, EQ, GE, GT, LE, LT, NE |
Fields inherited from class com.citra.filter.Filter |
---|
acceptNull |
Constructor Summary | |
---|---|
NumberFilter()
Constructs a NumberFilter object. |
Method Summary | |
---|---|
abstract boolean |
fromString(String str)
Parses the supplied string to a Number and returns a boolean indicating if the parsing was successful. |
Object |
getFilterPattern()
Returns the object used as the filter pattern. |
abstract Number |
getNumber()
Returns the Number object which is set as the filter pattern. |
void |
setFilterPattern(Object filter)
Sets an object as the filter pattern. |
abstract void |
setNumber(Number n)
Assigns a new Number object as the filter pattern. |
Methods inherited from class com.citra.filter.ComparisonFilter |
---|
getComparison, setComparison |
Methods inherited from class com.citra.filter.Filter |
---|
accept, getAcceptNull, setAcceptNull |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberFilter()
Method Detail |
---|
public abstract boolean fromString(String str)
str
- the string to parse to a Number
public Object getFilterPattern()
getFilterPattern
in class Filter
public abstract Number getNumber()
public void setFilterPattern(Object filter)
filter
to the appropriate object.
setFilterPattern
in class Filter
filter
- the object to set as the filter patternpublic abstract void setNumber(Number n)
n
- the new filter pattern to assign as a Number.
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |