Class SvgIconUtil.AbstractSvgIcon

java.lang.Object
com.inductiveautomation.ignition.client.icons.SvgIconUtil.AbstractSvgIcon
All Implemented Interfaces:
Icon
Direct Known Subclasses:
SvgIconUtil.SvgIcon
Enclosing class:
SvgIconUtil

public abstract static class SvgIconUtil.AbstractSvgIcon extends Object implements Icon
  • Field Details

    • node

      protected org.apache.batik.gvt.GraphicsNode node
    • width

      protected int width
    • height

      protected int height
    • swapColor

      protected Color swapColor
  • Constructor Details

    • AbstractSvgIcon

      public AbstractSvgIcon()
  • Method Details

    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • createImage

      protected void createImage(org.w3c.dom.svg.SVGDocument svgDocument)
    • getIconWidth

      public int getIconWidth()
      Specified by:
      getIconWidth in interface Icon
    • getIconHeight

      public int getIconHeight()
      Specified by:
      getIconHeight in interface Icon