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

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

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

revision 1.10.2.2 by gnu_andrew, Sun Jan 16 15:15:13 2005 UTC revision 1.10.2.3 by gnu_andrew, Thu Jan 27 09:45:34 2005 UTC
# Line 1  Line 1 
1  /* AbstractAction.java --  /* AbstractAction.java --
2     Copyright (C) 2002, 2004 Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 62  public abstract class AbstractAction Line 62  public abstract class AbstractAction
62     */     */
63    protected boolean enabled = true;    protected boolean enabled = true;
64        
   public static final String ENABLED_PROPERTY = "enabled";  
   
65    /**    /**
66     * changeSupport     * changeSupport
67     */     */
# Line 193  public abstract class AbstractAction Line 191  public abstract class AbstractAction
191      if (enabled != this.enabled)      if (enabled != this.enabled)
192      {      {
193        this.enabled = enabled;        this.enabled = enabled;
194        firePropertyChange(ENABLED_PROPERTY, !this.enabled, this.enabled);        firePropertyChange("enabled", !this.enabled, this.enabled);
195      }      }
196    }    }
197    

Legend:
Removed from v.1.10.2.2  
changed lines
  Added in v.1.10.2.3

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