|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.util.prefs.IntValidator
public class IntValidator
An integer validator. A range can be defined.
Constructor Summary | |
---|---|
IntValidator()
|
|
IntValidator(int min)
|
|
IntValidator(int min,
int max)
|
Method Summary | |
---|---|
void |
validate(java.lang.String value)
Validates String . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntValidator(int min, int max)
public IntValidator(int min)
public IntValidator()
Method Detail |
---|
public void validate(java.lang.String value)
String
.
validate
in interface Validator
java.lang.IllegalArgumentException
- if newValue is invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |