java.lang.Object | ||||||
↳ | javax.swing.plaf.ComponentUI | |||||
↳ | javax.swing.plaf.ButtonUI | |||||
↳ | javax.swing.plaf.MenuItemUI | |||||
↳ | javax.swing.plaf.basic.BasicMenuItemUI | |||||
↳ | javax.swing.plaf.basic.BasicRadioButtonMenuItemUI | |||||
↳ | com.sun.java.swing.plaf.windows.WindowsRadioButtonMenuItemUI |
Windows rendition of the component.
Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicMenuItemUI
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Draws the background of the menu item.
| |||||||||||
Method which renders the text of the current menu item.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.plaf.basic.BasicRadioButtonMenuItemUI
| |||||||||||
From class
javax.swing.plaf.basic.BasicMenuItemUI
| |||||||||||
From class
javax.swing.plaf.ComponentUI
| |||||||||||
From class
java.lang.Object
|
Draws the background of the menu item.
g | the paint graphics |
---|---|
menuItem | menu item to be painted |
bgColor | selection background color |
Method which renders the text of the current menu item.
g | Graphics context |
---|---|
menuItem | Current menu item to render |
textRect | Bounding rectangle to render the text. |
text | String to render |