public enum IndexValidators extends java.lang.Enum<IndexValidators> implements Validator<java.lang.Integer[]>
JList or a number of AbstractButtons.| Enum Constant and Description |
|---|
REQUIRE_SELECTION |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<java.lang.Integer[]> |
modelType()
The type of the model object which can be validated.
|
void |
validate(Problems problems,
java.lang.String compName,
java.lang.Integer[] model)
Validate the passed model.
|
static IndexValidators |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IndexValidators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexValidators REQUIRE_SELECTION
public static IndexValidators[] values()
for (IndexValidators c : IndexValidators.values()) System.out.println(c);
public static IndexValidators valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void validate(Problems problems, java.lang.String compName, java.lang.Integer[] model)
Validatorpublic java.lang.Class<java.lang.Integer[]> modelType()
Validator