Package resources.icons
Class OvalBackgroundColorIcon
java.lang.Object
resources.icons.OvalBackgroundColorIcon
- All Implemented Interfaces:
Icon
Paints an oval of the given size, based upon the Component passed to
paintIcon(Component, Graphics, int, int). If the component is null, then no
painting will take place.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoid
-
Constructor Details
-
OvalBackgroundColorIcon
public OvalBackgroundColorIcon(int width, int height)
-
-
Method Details
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
paintIcon
-