Package com.sshtools.common.ui
Class EmptyIcon
- java.lang.Object
-
- com.sshtools.common.ui.EmptyIcon
-
- All Implemented Interfaces:
javax.swing.Icon
public class EmptyIcon extends java.lang.Object implements javax.swing.Icon
- Version:
- $Revision: 1.13 $
- Author:
- $author$
-
-
Constructor Summary
Constructors Constructor Description EmptyIcon(int w, int h)
Creates a new EmptyIcon object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIconHeight()
int
getIconWidth()
void
paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
-
-
-
Method Detail
-
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
- Specified by:
paintIcon
in interfacejavax.swing.Icon
- Parameters:
c
-g
-x
-y
-
-
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth
in interfacejavax.swing.Icon
- Returns:
-
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight
in interfacejavax.swing.Icon
- Returns:
-
-