Icon
, UIResource
public class MenuArrowIcon extends Object implements Icon, UIResource
JMenu
s.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 Icon
public int getIconWidth()
getIconWidth
in interface Icon