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 cascadingJMenus.
-
-
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 intgetIconHeight()intgetIconWidth()voidpaintIcon(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:
getIconHeightin interfaceIcon
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidthin interfaceIcon
-
-