public static class RMIconUtils.SpacerIcon
extends java.lang.Object
implements javax.swing.Icon
Constructor and Description |
---|
SpacerIcon(javax.swing.Icon anIcon,
int aWidth,
int aHeight)
Creates a new SpacerIcon with given width & height.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight()
Returns height.
|
int |
getIconWidth()
Returns width.
|
void |
paintIcon(java.awt.Component aComponent,
java.awt.Graphics aGraphics,
int x,
int y)
Paints the icon.
|
public SpacerIcon(javax.swing.Icon anIcon, int aWidth, int aHeight)
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public void paintIcon(java.awt.Component aComponent, java.awt.Graphics aGraphics, int x, int y)
paintIcon
in interface javax.swing.Icon