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
Modifier and TypeClassDescriptionstatic enum
Deprecated.The mode constants for the icon rendering.static enum
Deprecated.The shape constants for the icon highlight rendeing. -
Constructor Summary
ConstructorDescriptionCloseIcon
(CloseIcon.Mode mode, CloseIcon.Shape shape, int size) Deprecated.Creates a new icon. -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.int
Deprecated.void
Deprecated.
-
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:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()Deprecated.- Specified by:
getIconHeight
in interfaceIcon
-
paintIcon
Deprecated.
-
IconFactory
class.