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

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

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

revision 1.11 by gnu_andrew, Sun Sep 5 20:03:23 2004 UTC revision 1.12 by mkoch, Mon Sep 27 07:48:47 2004 UTC
# Line 68  import javax.swing.plaf.ButtonUI; Line 68  import javax.swing.plaf.ButtonUI;
68   */   */
69  public class JRadioButton extends JToggleButton  public class JRadioButton extends JToggleButton
70  {  {
   
71    /**    /**
72     * Compatible with Sun's JDK.     * Compatible with Sun's JDK.
73     */     */
# Line 110  public class JRadioButton extends JToggl Line 109  public class JRadioButton extends JToggl
109    {    {
110      this(null, null, false);      this(null, null, false);
111    }    }
112          
113    /**    /**
114     * Constructs a radio button using the labelling, state     * Constructs a radio button using the labelling, state
115     * and icon specified by the supplied action.     * and icon specified by the supplied action.
# Line 122  public class JRadioButton extends JToggl Line 121  public class JRadioButton extends JToggl
121      this();      this();
122      setAction(a);      setAction(a);
123    }    }
124      
125    /**    /**
126     * Constructs an unselected radio button with the supplied icon     * Constructs an unselected radio button with the supplied icon
127     * and no text.     * and no text.
# Line 142  public class JRadioButton extends JToggl Line 141  public class JRadioButton extends JToggl
141     *        selected state.  Otherwise, the button is unselected.     *        selected state.  Otherwise, the button is unselected.
142     */     */
143    public JRadioButton(Icon icon, boolean selected)    public JRadioButton(Icon icon, boolean selected)
144    {    {
145      this(null, icon, selected);      this(null, icon, selected);
146    }    }    
147        
148    /**    /**
149     * Constructs an unselected radio button using the supplied text     * Constructs an unselected radio button using the supplied text
# Line 156  public class JRadioButton extends JToggl Line 155  public class JRadioButton extends JToggl
155    {    {
156      this(text, null, false);      this(text, null, false);
157    }    }
158      
159    /**    /**
160     * Constructs a radio button with the supplied text and state.     * Constructs a radio button with the supplied text and state.
161     *     *
# Line 168  public class JRadioButton extends JToggl Line 167  public class JRadioButton extends JToggl
167    {    {
168      this(text, null, selected);      this(text, null, selected);
169    }    }
170            
171    /**    /**
172     * Constructs an unselected radio button with the supplied text     * Constructs an unselected radio button with the supplied text
173     * and icon.     * and icon.
# Line 195  public class JRadioButton extends JToggl Line 194  public class JRadioButton extends JToggl
194      borderPainted = false;      borderPainted = false;
195      contentAreaFilled = false;      contentAreaFilled = false;
196    }    }
197            
198    /**    /**
199     * Returns the accessible context for this <code>JRadioButton</code>,     * Returns the accessible context for this <code>JRadioButton</code>,
200     * in the form of an instance of <code>AccessibleJRadioButton</code>.     * in the form of an instance of <code>AccessibleJRadioButton</code>.

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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