Package jadex.commons.gui
Class CombiIcon
- java.lang.Object
 - 
- jadex.commons.gui.CombiIcon
 
 
- 
- All Implemented Interfaces:
 javax.swing.Icon
public class CombiIcon extends java.lang.Object implements javax.swing.IconIcon that can combine multiple images. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected javax.swing.Icon[]iconsThe icons to be displayed. 
- 
Constructor Summary
Constructors Constructor Description CombiIcon(javax.swing.Icon[] icons)Create a combio icon from the given icons. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIconHeight()Get the max height of the icons.intgetIconWidth()Get the max width of the icons.static voidmain(java.lang.String[] args)voidpaintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)Paint the icons. 
 - 
 
- 
- 
Method Detail
- 
paintIcon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)Paint the icons.- Specified by:
 paintIconin interfacejavax.swing.Icon
 
- 
getIconWidth
public int getIconWidth()
Get the max width of the icons.- Specified by:
 getIconWidthin interfacejavax.swing.Icon
 
- 
getIconHeight
public int getIconHeight()
Get the max height of the icons.- Specified by:
 getIconHeightin interfacejavax.swing.Icon
 
- 
main
public static void main(java.lang.String[] args)
 
 - 
 
 -