javatools.swing
Class NoSpacesTCChecker

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

public class NoSpacesTCChecker
extends TextComponentChecker

Checks if a component contains a text with no spaces in it, and it is not empty.


Constructor Summary
NoSpacesTCChecker()
          Creates new NoSpacesTCChecker
 
Method Summary
 boolean isValid()
          Returns if the component contains a text with no spaces and not empty.
 
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

NoSpacesTCChecker

public NoSpacesTCChecker()
Creates new NoSpacesTCChecker

Method Detail

isValid

public boolean isValid()
Returns if the component contains a text with no spaces and not empty.

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