public static class RMIconUtils.CompositeIcon2
extends java.lang.Object
implements javax.swing.Icon
| Constructor and Description |
|---|
CompositeIcon2(javax.swing.Icon anIcon,
int anX,
int aY)
Creates a new CompositeIcon.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIcon(javax.swing.Icon anIcon,
int anX,
int aY)
Adds an icon at x y.
|
int |
getIconHeight()
Returns the height of icon1.
|
int |
getIconWidth()
Returns the width of icon1.
|
void |
paintIcon(java.awt.Component aComponent,
java.awt.Graphics aGraphics,
int x,
int y)
Paints the icons.
|
public CompositeIcon2(javax.swing.Icon anIcon,
int anX,
int aY)
public void addIcon(javax.swing.Icon anIcon,
int anX,
int aY)
public int getIconWidth()
getIconWidth in interface javax.swing.Iconpublic int getIconHeight()
getIconHeight in interface javax.swing.Iconpublic void paintIcon(java.awt.Component aComponent,
java.awt.Graphics aGraphics,
int x,
int y)
paintIcon in interface javax.swing.Icon