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

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

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

revision 1.22 by mark, Sat Sep 4 20:52:29 2004 UTC revision 1.23 by mkoch, Thu Sep 23 14:25:28 2004 UTC
# Line 323  public abstract class JComponent extends Line 323  public abstract class JComponent extends
323    private InputMap inputMap_whenAncestorOfFocused;    private InputMap inputMap_whenAncestorOfFocused;
324    private InputMap inputMap_whenInFocusedWindow;    private InputMap inputMap_whenInFocusedWindow;
325    private ActionMap actionMap;    private ActionMap actionMap;
326      private InputVerifier inputVerifier;
327    
328    /**    /**
329     * A lock held during recursive painting; this is used to serialize     * A lock held during recursive painting; this is used to serialize
# Line 2119  public abstract class JComponent extends Line 2120  public abstract class JComponent extends
2120    {    {
2121      defaultLocale = l;      defaultLocale = l;
2122    }    }
2123      
2124      /**
2125       * Returns the currently set input verifier for this component.
2126       *
2127       * @return the input verifier, or <code>null</code> if none
2128       */
2129      public InputVerifier getInputVerifier()
2130      {
2131        return inputVerifier;
2132      }
2133    
2134      /**
2135       * Sets the input verifier to use by this component.
2136       *
2137       * @param verifier the input verifier, or <code>null</code>
2138       */
2139      public void setInputVerifier(InputVerifier verifier)
2140      {
2141        InputVerifier oldVerifier = inputVerifier;
2142        inputVerifier = verifier;
2143        firePropertyChange("inputVerifier", oldVerifier, verifier);
2144      }
2145  }  }

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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