Package com.jidesoft.icons
Class MenuCheckIcon
java.lang.Object
com.jidesoft.icons.MenuCheckIcon
- All Implemented Interfaces:
Serializable
,Icon
,UIResource
Icon wrapper class for check icons. The only thing this class does is to check the selection before it really paints
its wrapped icon. The reason we provide this class is that similar mechanism resides in Swing and we cannot override it.
So if we just update the UI with normal icons, the icon could be displayed unexpectedly. With this icon wrapper class,
you can get exactly the same behavior with Swing default icons.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Constructor Details
-
MenuCheckIcon
-
-
Method Details
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
paintIcon
-