javatools.swing
Class NotEmptyTCChecker

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

public class NotEmptyTCChecker
extends TextComponentChecker

It is used to check if a text component contains a non empty value.


Constructor Summary
NotEmptyTCChecker()
          Creates new NotEmptyTCChecker
 
Method Summary
 boolean isValid()
          Checks if the text component contains at least a character.
 
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

NotEmptyTCChecker

public NotEmptyTCChecker()
Creates new NotEmptyTCChecker

Method Detail

isValid

public boolean isValid()
Checks if the text component contains at least a character.

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