java.lang.Object
com.inductiveautomation.ignition.designer.gui.attributetextpane.AbstractAttributeTextPanePainter
com.inductiveautomation.ignition.designer.gui.attributetextpane.painters.InfoBoxPainter
All Implemented Interfaces:
AttributeTextPanePainter

public class InfoBoxPainter extends AbstractAttributeTextPanePainter
Note: This class should be the last class added to the painters list of the AttributeTextPane. This is because it will paint the info box on top of the other painters.
  • Constructor Details

  • Method Details

    • paint

      public void paint(AttributeTextPaneLabelView labelView, AttributeSet attrs, Graphics2D g2, Shape allocated)
      Parameters:
      labelView - The label view that is being painted
      attrs - The attributes of the current view
      g2 - The graphics context to paint on
      allocated - The allocated shape for the view, this is the area for painting.