Package com.inductiveautomation.rm.swing
Class RMIconUtils.CompositeIcon2
- java.lang.Object
- 
- com.inductiveautomation.rm.swing.RMIconUtils.CompositeIcon2
 
- 
- All Implemented Interfaces:
- javax.swing.Icon
 - Enclosing class:
- RMIconUtils
 
 public static class RMIconUtils.CompositeIcon2 extends java.lang.Object implements javax.swing.IconAn icon implementation that draws two icons.
- 
- 
Constructor SummaryConstructors Constructor Description CompositeIcon2(javax.swing.Icon anIcon, int anX, int aY)Creates a new CompositeIcon.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIcon(javax.swing.Icon anIcon, int anX, int aY)Adds an icon at x y.intgetIconHeight()Returns the height of icon1.intgetIconWidth()Returns the width of icon1.voidpaintIcon(java.awt.Component aComponent, java.awt.Graphics aGraphics, int x, int y)Paints the icons.
 
- 
- 
- 
Method Detail- 
addIconpublic void addIcon(javax.swing.Icon anIcon, int anX, int aY)Adds an icon at x y.
 - 
getIconWidthpublic int getIconWidth() Returns the width of icon1.- Specified by:
- getIconWidthin interface- javax.swing.Icon
 
 - 
getIconHeightpublic int getIconHeight() Returns the height of icon1.- Specified by:
- getIconHeightin interface- javax.swing.Icon
 
 - 
paintIconpublic void paintIcon(java.awt.Component aComponent, java.awt.Graphics aGraphics, int x, int y)Paints the icons.- Specified by:
- paintIconin interface- javax.swing.Icon
 
 
- 
 
-