javatools.swing
Class PositiveTCChecker

java.lang.Object
  |
  +--javatools.swing.TextComponentChecker
        |
        +--javatools.swing.PositiveTCChecker

public class PositiveTCChecker
extends TextComponentChecker

Checks if a text component contains a positive numeric value.


Constructor Summary
PositiveTCChecker()
          Creates new PositiveTCChecker
 
Method Summary
 boolean isValid()
          Checks if the text component contains a positive numeric value.
 
Methods inherited from class javatools.swing.TextComponentChecker
dispatchEvent, getText, setRefTextComponent, syncCheckerText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PositiveTCChecker

public PositiveTCChecker()
Creates new PositiveTCChecker

Method Detail

isValid

public boolean isValid()
Checks if the text component contains a positive numeric value.

Specified by:
isValid in class TextComponentChecker
Returns:
true: The text is correct. false: The text is not correct.