Package docking
Class CloseIcon
java.lang.Object
docking.CloseIcon
- All Implemented Interfaces:
Icon
Icon for a close button
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Constructor Details
-
CloseIcon
Creates a close icon.- Parameters:
isSmall
- false signals to use a 16x16 size; true signals to use an 8x8 sizecolor
- the color of the "x"
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-