Icon, UIResourcepublic class MenuArrowIcon extends Object implements Icon, UIResource
JMenus.| Constructor | Description |
|---|---|
MenuArrowIcon(JMenu menu) |
Creates the arrow icon for the specified menu.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIconHeight() |
|
int |
getIconWidth() |
|
void |
paintIcon(Component c,
Graphics g,
int x,
int y) |
public MenuArrowIcon(JMenu menu)
menu - Menu.public int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Icon