public static class RMIconUtils.CompositeIcon
extends java.lang.Object
implements javax.swing.Icon
Constructor and Description |
---|
CompositeIcon(javax.swing.Icon anIcon1,
javax.swing.Icon anIcon2)
Creates a new CompositeIcon.
|
Modifier and Type | Method and Description |
---|---|
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 CompositeIcon(javax.swing.Icon anIcon1, javax.swing.Icon anIcon2)
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