com.vividsolutions.jump.workbench.ui
Class ValidatingTextField.CompositeValidator

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.ValidatingTextField.CompositeValidator
All Implemented Interfaces:
ValidatingTextField.Validator
Direct Known Subclasses:
ValidatingTextField.BoundedDoubleValidator, ValidatingTextField.BoundedIntValidator
Enclosing class:
ValidatingTextField

public static class ValidatingTextField.CompositeValidator
extends java.lang.Object
implements ValidatingTextField.Validator

Implements validator to check for more than one condition.


Constructor Summary
ValidatingTextField.CompositeValidator(ValidatingTextField.Validator[] validators)
           
 
Method Summary
 boolean isValid(java.lang.String text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatingTextField.CompositeValidator

public ValidatingTextField.CompositeValidator(ValidatingTextField.Validator[] validators)
Method Detail

isValid

public boolean isValid(java.lang.String text)
Specified by:
isValid in interface ValidatingTextField.Validator