Package org.jdesktop.swingx.icon
Class EmptyIcon
java.lang.Object
org.jdesktop.swingx.icon.EmptyIcon
- All Implemented Interfaces:
Serializable
,Icon
An empty icon with arbitrary width and height.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Constructor Details
-
EmptyIcon
public EmptyIcon()ctor -
EmptyIcon
public EmptyIcon(int width, int height) ctor- Parameters:
width
- of the iconheight
- of the icon
-
EmptyIcon
convenient ctor with Dimension- Parameters:
size
- Dimension
-
-
Method Details
-
paintIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-