Package docking
Class CloseIcon
java.lang.Object
docking.CloseIcon
- All Implemented Interfaces:
Icon
Icon for a close button
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoid
-
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:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-