org.icepdf.ri.common
Class PageNumberTextFieldInputVerifier

java.lang.Object
  extended by javax.swing.InputVerifier
      extended by org.icepdf.ri.common.PageNumberTextFieldInputVerifier

public class PageNumberTextFieldInputVerifier
extends javax.swing.InputVerifier

Utility method to verify that a components input text is a whole number.

Since:
2.0
Author:
Mark Collette

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

Constructor Detail

PageNumberTextFieldInputVerifier

public PageNumberTextFieldInputVerifier()
Method Detail

verify

public boolean verify(javax.swing.JComponent comp)
Specified by:
verify in class javax.swing.InputVerifier

shouldYieldFocus

public boolean shouldYieldFocus(javax.swing.JComponent input)
Overrides:
shouldYieldFocus in class javax.swing.InputVerifier