Package noaa.coastwatch.gui
Class CloseIcon
java.lang.Object
noaa.coastwatch.gui.CloseIcon
- All Implemented Interfaces:
Icon
Deprecated.
The
CloseIcon renders an icon for a close button in one of
three modes: NORMAL, HOVER, and PRESSED.- Since:
- 3.4.0
- Author:
- Peter Hollemans
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.The mode constants for the icon rendering.static enumDeprecated.The shape constants for the icon highlight rendeing. -
Constructor Summary
ConstructorsConstructorDescriptionCloseIcon(CloseIcon.Mode mode, CloseIcon.Shape shape, int size) Deprecated.Creates a new icon. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.intDeprecated.voidDeprecated.
-
Constructor Details
-
CloseIcon
Deprecated.Creates a new icon.- Parameters:
mode- the mode for icon rendering.shape- the shape for icon highlight rendering.size- the icon size in pixels.
-
-
Method Details
-
getIconWidth
public int getIconWidth()Deprecated.- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()Deprecated.- Specified by:
getIconHeightin interfaceIcon
-
paintIcon
Deprecated.
-
IconFactoryclass.