|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ValidationMutableRuleSet
is a ValidationRuleSet
that allows you to dynamiclly add and remove ValidationRule
objects.
Field Summary |
Fields inherited from interface echopoint.validation.ValidationRuleSet |
RULE_ON_BLUR_RUN_AGGRESSIVE, RULE_ON_BLUR_RUN_ALL, RULE_ON_DEFAULT, RULE_ON_SUBMIT_RUN_ALL |
Method Summary | |
void |
add(int index,
ValidationRule rule)
Adds a rule to the rule set at the specified index |
void |
add(ValidationRule rule)
Adds a rule to the end of the ruleset |
java.util.Iterator |
iterator()
Returns an iterator that can iterate over the rules in the ruleset |
void |
remove(int index)
Removes the rule at the specified index |
void |
remove(ValidationRule rule)
Removes the specified rule |
int |
size()
Returns the number of rules in the ruleset |
Methods inherited from interface echopoint.validation.ValidationRuleSet |
getClientResultDisplay, getName, getRules, getRunOptions |
Method Detail |
public java.util.Iterator iterator()
public int size()
public void add(ValidationRule rule)
rule
- - the new rule to be addedpublic void add(int index, ValidationRule rule)
index
- - the index to add the rule atrule
- - the new ValidationRulepublic void remove(ValidationRule rule)
rule
- - the rule to rmeovepublic void remove(int index)
index
- - the index of the rule to be removed
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |