Class RMIconUtils.CompositeIcon2

java.lang.Object
com.inductiveautomation.rm.swing.RMIconUtils.CompositeIcon2
All Implemented Interfaces:
Icon
Enclosing class:
RMIconUtils

public static class RMIconUtils.CompositeIcon2 extends Object implements Icon
An icon implementation that draws two icons.
  • Constructor Details

    • CompositeIcon2

      public CompositeIcon2(Icon anIcon, int anX, int aY)
      Creates a new CompositeIcon.
  • Method Details

    • addIcon

      public void addIcon(Icon anIcon, int anX, int aY)
      Adds an icon at x y.
    • getIconWidth

      public int getIconWidth()
      Returns the width of icon1.
      Specified by:
      getIconWidth in interface Icon
    • getIconHeight

      public int getIconHeight()
      Returns the height of icon1.
      Specified by:
      getIconHeight in interface Icon
    • paintIcon

      public void paintIcon(Component aComponent, Graphics aGraphics, int x, int y)
      Paints the icons.
      Specified by:
      paintIcon in interface Icon