|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented and JTextField extension classes that perform filtering on the characters entered in them.
Method Summary | |
String |
getFilter()
Retrieves the currently specified filter string. |
boolean |
isInclude()
Retrieves the include mode for this instance. |
void |
setFilter(String filter)
Sets the input character filter string to the specified value. |
void |
setInclude(boolean include)
Sets the include mode of the filter. |
Method Detail |
public void setFilter(String filter)
filter
- The filter string.public String getFilter()
null
if none has been
specified.public void setInclude(boolean include)
true
then characters entered that are in the filter string
are kept and others are dropped, if false
then vice
versa.include
- Value to set include mode to.public boolean isInclude()
true
if we are using include mode, false
if we are using exclude mode.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |