public class CombiIcon
extends java.lang.Object
implements javax.swing.Icon
Modifier and Type | Field and Description |
---|---|
protected javax.swing.Icon[] |
icons
The icons to be displayed.
|
Constructor and Description |
---|
CombiIcon(javax.swing.Icon[] icons)
Create a combio icon from the given icons.
|
Modifier and Type | Method and Description |
---|---|
int |
getIconHeight()
Get the max height of the icons.
|
int |
getIconWidth()
Get the max width of the icons.
|
static void |
main(java.lang.String[] args) |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Paint the icons.
|
public CombiIcon(javax.swing.Icon[] icons)
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public static void main(java.lang.String[] args)