Class MenuArrowIcon
- java.lang.Object
-
- org.pushingpixels.substance.internal.utils.icon.MenuArrowIcon
-
- All Implemented Interfaces:
Icon
,UIResource
public class MenuArrowIcon extends Object implements Icon, UIResource
Icon for the cascadingJMenu
s.
-
-
Constructor Summary
Constructors Constructor Description MenuArrowIcon(JMenu menu)
Creates the arrow icon for the specified menu.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIconHeight()
int
getIconWidth()
void
paintIcon(Component c, Graphics g, int x, int y)
-
-
-
Constructor Detail
-
MenuArrowIcon
public MenuArrowIcon(JMenu menu)
Creates the arrow icon for the specified menu.- Parameters:
menu
- Menu.
-
-
Method Detail
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfaceIcon
-
-