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

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.ValidatingTextField.LessThanOrEqualValidator
All Implemented Interfaces:
ValidatingTextField.Validator
Enclosing class:
ValidatingTextField

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

Implements validator with a less than or equal to threshold.


Constructor Summary
ValidatingTextField.LessThanOrEqualValidator(double threshold)
           
 
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.LessThanOrEqualValidator

public ValidatingTextField.LessThanOrEqualValidator(double threshold)
Method Detail

isValid

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