Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jgoodies.validation.tutorial.formatted
Class FormattedTextFieldVerifier  view FormattedTextFieldVerifier download FormattedTextFieldVerifier.java

java.lang.Object
  extended byjavax.swing.InputVerifier
      extended bycom.jgoodies.validation.tutorial.formatted.FormattedTextFieldVerifier

final class FormattedTextFieldVerifier
extends javax.swing.InputVerifier

Verifies the input of a JFormattedTextField and checks whether the edited text is valid or not. Useful to lock focus down while the edited text is invalid.

Version:
$Revision: 1.3 $

Constructor Summary
(package private) FormattedTextFieldVerifier()
           
 
Method Summary
 boolean shouldYieldFocus(javax.swing.JComponent input)
          shouldYieldFocus
 boolean verify(javax.swing.JComponent input)
          verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormattedTextFieldVerifier

FormattedTextFieldVerifier()
Method Detail

verify

public boolean verify(javax.swing.JComponent input)
Description copied from class: javax.swing.InputVerifier
verify


shouldYieldFocus

public boolean shouldYieldFocus(javax.swing.JComponent input)
Description copied from class: javax.swing.InputVerifier
shouldYieldFocus