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

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

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

revision 1.13 by rabbit78, Mon May 30 13:15:21 2005 UTC revision 1.14 by rabbit78, Mon Jun 20 14:35:53 2005 UTC
# Line 89  public class JButton extends AbstractBut Line 89  public class JButton extends AbstractBut
89    
90    protected void configurePropertiesFromAction(Action a)    protected void configurePropertiesFromAction(Action a)
91    {    {
92      //Factory method which sets the AbstractButton's properties according to values from the Action instance.      // Factory method which sets the AbstractButton's properties according to
93        // values from the Action instance.
94      super.configurePropertiesFromAction(a);      super.configurePropertiesFromAction(a);
95    }    }
96    
97    public AccessibleContext getAccessibleContext()    public AccessibleContext getAccessibleContext()
98    {    {
99      //Gets the AccessibleContext associated with this JButton.      // Gets the AccessibleContext associated with this JButton.
100      return null;      return null;
101    }    }
102    
103    public String getUIClassID()    public String getUIClassID()
104    {    {
105      //Returns a string that specifies the name of the L&F class that renders this component.        // Returns a string that specifies the name of the L&F class that renders
106        // this component.  
107      return "ButtonUI";      return "ButtonUI";
108    }    }
109    
110    public boolean isDefaultButton()    public boolean isDefaultButton()
111    {    {
112      //Returns whether or not this button is the default button on the RootPane.        // Returns whether or not this button is the default button on the
113        // RootPane.
114      return is_def;      return is_def;
115    }    }
116    
117    public boolean isDefaultCapable()    public boolean isDefaultCapable()
118    {    {
119      //Returns whether or not this button is capable of being the default button on the RootPane.      // Returns whether or not this button is capable of being the default
120        // button on the RootPane.
121      return def;      return def;
122    }    }
123    

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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