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
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Constructor Details
-
OvalBackgroundColorIcon
public OvalBackgroundColorIcon(int width, int height)
-
-
Method Details
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
paintIcon
-