public class BERadioButtonMenuItemUI
extends javax.swing.plaf.basic.BasicRadioButtonMenuItemUI
限定符和类型 | 类和说明 |
---|---|
static class |
BERadioButtonMenuItemUI.RadioButtonMenuItemIcon
The Class RadioButtonMenuItemIcon.
|
acceleratorDelimiter, acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground
构造器和说明 |
---|
BERadioButtonMenuItemUI() |
限定符和类型 | 方法和说明 |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent b)
Creates the ui.
|
protected void |
paintBackground(java.awt.Graphics g,
javax.swing.JMenuItem menuItem,
java.awt.Color bgColor)
Draws the background of the menu item.
|
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintMenuItem, paintText, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent b)
b
- the bprotected void paintBackground(java.awt.Graphics g, javax.swing.JMenuItem menuItem, java.awt.Color bgColor)
paintBackground
在类中 javax.swing.plaf.basic.BasicMenuItemUI
g
- the paint graphicsmenuItem
- menu item to be paintedbgColor
- selection background color