Class RMIconUtils.CompositeIcon

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

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

    • CompositeIcon

      public CompositeIcon(Icon anIcon1, Icon anIcon2)
      Creates a new CompositeIcon.
  • Method Details

    • 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