javatools.swing
Class NumericTCChecker

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

public class NumericTCChecker
extends TextComponentChecker

Checks if a text component contains a numeric value.


Constructor Summary
NumericTCChecker()
          Creates new NumericTCChecker
 
Method Summary
 boolean isValid()
          Checks if the component contains a 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

NumericTCChecker

public NumericTCChecker()
Creates new NumericTCChecker

Method Detail

isValid

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

Specified by:
isValid in class TextComponentChecker
Returns:
true: the value is valid; false: the value is not valid.