API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicRadioButtonMenuItemUI View Source
Author(s)
Georges Saab
David Karlton
Since
Version
1.46 11/17/05
Serial
Hierarchy
 Object
      ComponentUI
          ButtonUI
              MenuItemUI
                  BasicMenuItemUI
                      BasicRadioButtonMenuItemUI
Implements
Subclasses
Description
public class BasicRadioButtonMenuItemUI
BasicRadioButtonMenuItem implementation
See also:   
Constructors
public BasicRadioButtonMenuItemUI ()
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
pack-private InputMap createInputMap (int condition) [Inherited From BasicMenuItemUI]
protected MenuDragMouseListener createMenuDragMouseListener (JComponent c) [Inherited From BasicMenuItemUI]
protected MenuKeyListener createMenuKeyListener (JComponent c) [Inherited From BasicMenuItemUI]
protected MouseInputListener createMouseInputListener (JComponent c) [Inherited From BasicMenuItemUI]
protected PropertyChangeListener createPropertyChangeListener (JComponent c) [Inherited From BasicMenuItemUI]
  Creates a PropertyChangeListener which will be added to the menu item.
publicstatic ComponentUI createUI (JComponent b) [Overrides BasicMenuItemUI]
protected void doClick (MenuSelectionManager msm) [Inherited From BasicMenuItemUI]
  Call this method when a menu item is to be activated.
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height) [Inherited From ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
pack-private Handler getHandler () [Inherited From BasicMenuItemUI]
public Dimension getMaximumSize (JComponent c) [Inherited From BasicMenuItemUI]
public Dimension getMinimumSize (JComponent c) [Inherited From BasicMenuItemUI]
public MenuElement getPath () [Inherited From BasicMenuItemUI]
protected Dimension getPreferredMenuItemSize (JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap) [Inherited From BasicMenuItemUI]
public Dimension getPreferredSize (JComponent c) [Inherited From BasicMenuItemUI]
protected String getPropertyPrefix () [Overrides BasicMenuItemUI]
protected void installComponents (JMenuItem menuItem) [Inherited From BasicMenuItemUI]
 
protected void installDefaults () [Inherited From BasicMenuItemUI]
protected void installKeyboardActions () [Inherited From BasicMenuItemUI]
pack-private void installLazyActionMap () [Inherited From BasicMenuItemUI]
protected void installListeners () [Inherited From BasicMenuItemUI]
public void installUI (JComponent c) [Inherited From BasicMenuItemUI]
pack-privatestatic void loadActionMap (LazyActionMap map) [Inherited From BasicMenuItemUI]
public void paint (Graphics g, JComponent c) [Inherited From BasicMenuItemUI]
protected void paintBackground (Graphics g, JMenuItem menuItem, Color bgColor) [Inherited From BasicMenuItemUI]
  Draws the background of the menu item.
protected void paintMenuItem (Graphics g, JComponent c, Icon checkIcon, Icon arrowIcon, Color background, Color foreground, int defaultTextIconGap) [Inherited From BasicMenuItemUI]
protected void paintText (Graphics g, JMenuItem menuItem, Rectangle textRect, String text) [Inherited From BasicMenuItemUI]
  Renders the text of the current menu item.
pack-private void printMenuElementArray (MenuElement path, boolean dumpStack) [Inherited From BasicMenuItemUI]
public void processMouseEvent (JMenuItem item, MouseEvent e, MenuElement path, MenuSelectionManager manager)
protected void uninstallComponents (JMenuItem menuItem) [Inherited From BasicMenuItemUI]
 
protected void uninstallDefaults () [Inherited From BasicMenuItemUI]
protected void uninstallKeyboardActions () [Inherited From BasicMenuItemUI]
protected void uninstallListeners () [Inherited From BasicMenuItemUI]
public void uninstallUI (JComponent c) [Inherited From BasicMenuItemUI]
public void update (Graphics g, JComponent c) [Inherited From BasicMenuItemUI]
We draw the background in paintMenuItem() so override update (which fills the background of opaque components by default) to just call paint().
pack-private void updateAcceleratorBinding () [Inherited From BasicMenuItemUI]
Fields
Hide/Show inherited fields
protected Font acceleratorFont [Inherited From BasicMenuItemUI]
protected Color acceleratorForeground [Inherited From BasicMenuItemUI]
pack-privatestatic Rectangle acceleratorRect [Inherited From BasicMenuItemUI]
protected Color acceleratorSelectionForeground [Inherited From BasicMenuItemUI]
protected Icon arrowIcon [Inherited From BasicMenuItemUI]
pack-privatestatic Rectangle arrowIconRect [Inherited From BasicMenuItemUI]
protected Icon checkIcon [Inherited From BasicMenuItemUI]
pack-privatestatic Rectangle checkIconRect [Inherited From BasicMenuItemUI]
protected int defaultTextIconGap [Inherited From BasicMenuItemUI]
protected Color disabledForeground [Inherited From BasicMenuItemUI]
pack-private Handler handler [Inherited From BasicMenuItemUI]
pack-privatestatic Rectangle iconRect [Inherited From BasicMenuItemUI]
pack-privatefinalstatic String MAX_ACC_WIDTH = "maxAccWidth" [Inherited From BasicMenuItemUI]
pack-privatefinalstatic String MAX_ARROW_ICON_WIDTH = "maxArrowIconWidth" [Inherited From BasicMenuItemUI]
pack-privatefinalstatic String MAX_CHECK_ICON_WIDTH = "maxCheckIconWidth" [Inherited From BasicMenuItemUI]
pack-privatefinalstatic StringBuffer MAX_ICON_OFFSET [Inherited From BasicMenuItemUI]
pack-privatefinalstatic String MAX_ICON_WIDTH = "maxIconWidth" [Inherited From BasicMenuItemUI]
pack-privatefinalstatic String MAX_TEXT_WIDTH = "maxTextWidth" [Inherited From BasicMenuItemUI]
protected MenuDragMouseListener menuDragMouseListener [Inherited From BasicMenuItemUI]
protected JMenuItem menuItem [Inherited From BasicMenuItemUI]
protected MenuKeyListener menuKeyListener [Inherited From BasicMenuItemUI]
protected MouseInputListener mouseInputListener [Inherited From BasicMenuItemUI]
protected boolean oldBorderPainted [Inherited From BasicMenuItemUI]
protected PropertyChangeListener propertyChangeListener [Inherited From BasicMenuItemUI]
  PropertyChangeListener returned from createPropertyChangeListener.
pack-privatestatic Rectangle r [Inherited From BasicMenuItemUI]
protected Color selectionBackground [Inherited From BasicMenuItemUI]
protected Color selectionForeground [Inherited From BasicMenuItemUI]
pack-privatestatic Rectangle textRect [Inherited From BasicMenuItemUI]
pack-privatestatic Rectangle viewRect [Inherited From BasicMenuItemUI]
pack-privatestatic Rectangle zeroRect [Inherited From BasicMenuItemUI]
Nested Classes
  BasicMenuItemUI.MouseInputHandler
  BasicMenuItemUI.Handler
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar