com.icesoft.pdf.ri.common
Class PageNumberTextFieldInputVerifier

java.lang.Object
  extended byjavax.swing.InputVerifier
      extended bycom.icesoft.pdf.ri.common.PageNumberTextFieldInputVerifier

public class PageNumberTextFieldInputVerifier
extends 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(JComponent input)
           
 boolean verify(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(JComponent comp)

shouldYieldFocus

public boolean shouldYieldFocus(JComponent input)