javax.swing
public class JRadioButtonMenuItem extends JMenuItem implements Accessible
| Nested Class Summary | |
|---|---|
| protected class | JRadioButtonMenuItem.AccessibleJRadioButtonMenuItem 
 Provides the accessibility features for the 
  JRadioButtonMenuItem component.
 | 
| Constructor Summary | |
|---|---|
| JRadioButtonMenuItem() 
 Creates a new JRadioButtonMenuItem object.  | |
| JRadioButtonMenuItem(Icon icon) 
 Creates a new JRadioButtonMenuItem with specified icon
  | |
| JRadioButtonMenuItem(String text) 
 Creates a new JRadioButtonMenuItem with specified label
  | |
| JRadioButtonMenuItem(Action action) 
 Creates a new JRadioButtonMenuItem using specified action
  | |
| JRadioButtonMenuItem(String text, Icon icon) 
 Creates a new JRadioButtonMenuItem with specified label and icon
  | |
| JRadioButtonMenuItem(String text, boolean selected) 
 Creates a new JRadioButtonMenuItem with specified label
 and marked selected if 'selected' is true.
  | |
| JRadioButtonMenuItem(Icon icon, boolean selected) 
 Creates a new JRadioButtonMenuItem with specified icon
 and given selected state
  | |
| JRadioButtonMenuItem(String text, Icon icon, boolean selected) 
 Creates a new JRadioButtonMenuItem with specified label,
 icon and selected state.
  | |
| Method Summary | |
|---|---|
| AccessibleContext | getAccessibleContext() 
 Returns the object that provides accessibility features for this
  JRadioButtonMenuItem component.
 | 
| String | getUIClassID() 
 This method returns a name to identify which look and feel class will be
 the UI delegate for the menuItem.
  | 
| protected String | paramString() 
 Returns a string describing the attributes for the 
  JRadioButtonMenuItem component, for use in debugging.   | 
| void | requestFocus() 
 This method overrides JComponent.requestFocus with an empty
 implementation, since JRadioButtonMenuItems should not
 receve focus in general.  | 
Parameters: icon Icon to be used for this menu item
Parameters: text Label for this menu item
Parameters: action Action for this menu item
Parameters: text Label for this menu item icon Icon for this menu item
Parameters: text Text for this menu item selected Selected state of this menu item
Parameters: icon Icon for this menu item selected Selected state for this menu item
Parameters: text Label for this menu item icon Icon to be use for this menu item selected selected state of this menu item
JRadioButtonMenuItem component.
Returns: The accessible context (an instance of {@link AccessibleJRadioButtonMenuItem}).
Returns: The Look and Feel classID. "JRadioButtonMenuItemUI"
JRadioButtonMenuItem component, for use in debugging.  The 
 return value is guaranteed to be non-null, but the format of 
 the string may vary between implementations.
Returns: A string describing the attributes of the 
     JRadioButtonMenuItem.