|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ValidationMutableRuleSet
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 |
|---|
java.util.Iterator iterator()
int size()
void add(ValidationRule rule)
rule - - the new rule to be added
void add(int index,
ValidationRule rule)
index - - the index to add the rule atrule - - the new ValidationRulevoid remove(ValidationRule rule)
rule - - the rule to rmeovevoid remove(int index)
index - - the index of the rule to be removed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||