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 SummaryFields Modifier and Type Field Description protected javax.swing.Icon[]iconsThe icons to be displayed.
 - 
Constructor SummaryConstructors Constructor Description CombiIcon(javax.swing.Icon[] icons)Create a combio icon from the given icons.
 - 
Method SummaryAll 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- 
paintIconpublic void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)Paint the icons.- Specified by:
- paintIconin interface- javax.swing.Icon
 
 - 
getIconWidthpublic int getIconWidth() Get the max width of the icons.- Specified by:
- getIconWidthin interface- javax.swing.Icon
 
 - 
getIconHeightpublic int getIconHeight() Get the max height of the icons.- Specified by:
- getIconHeightin interface- javax.swing.Icon
 
 - 
mainpublic static void main(java.lang.String[] args) 
 
- 
 
-