/[classpath]/classpath/javax/swing/InputVerifier.java
ViewVC logotype

Diff of /classpath/javax/swing/InputVerifier.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by aselkirk, Tue May 21 03:03:48 2002 UTC revision 1.2 by mkoch, Thu Sep 23 14:25:28 2004 UTC
# Line 1  Line 1 
1  /* InputVerifier.java --  /* InputVerifier.java --
2     Copyright (C) 2002 Free Software Foundation, Inc.     Copyright (C) 2002, 2004 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
37    
38  package javax.swing;  package javax.swing;
39    
40    
41  /**  /**
42   * InputVerifier   * InputVerifier
43   * @author      Andrew Selkirk   * @author Andrew Selkirk
44   * @version     1.0   * @version 1.0
45   */   */
46  public abstract class InputVerifier {  public abstract class InputVerifier
47    {
48          //-------------------------------------------------------------    /**
49          // Initialization ---------------------------------------------     * Creates a <code>InputVerifier</code>
50          //-------------------------------------------------------------     */
51      public InputVerifier()
52          /**    {
53           * Constructor InputVerifier    }
54           */  
55          public InputVerifier() {    /**
56          } // InputVerifier()     * verify
57       *
58       * @param component the component to verify
59          //-------------------------------------------------------------     *
60          // Methods ----------------------------------------------------     * @return <code>true</code> if valid, <code>false</code> otherwise.
61          //-------------------------------------------------------------     */
62      public abstract boolean verify(JComponent component);
63          /**  
64           * verify    /**
65           * @param component TODO     * shouldYieldFocus
66           * @returns boolean     *
67           */     * @param component the component to verify
68          public abstract boolean verify(JComponent component);     *
69       * @return <code>true</code> if valid, <code>false</code> otherwise.
70          /**     */
71           * shouldYieldFocus    public boolean shouldYieldFocus(JComponent component)
72           * @param component TODO    {
73           * @returns boolean      return verify(component);
74           */    }
75          public boolean shouldYieldFocus(JComponent component) {  }
                 return verify(component);  
         } // shouldYieldFocus()  
   
   
 } // InputVerifier  

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26