java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.ignition.designer.designable.InteractionLayer
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public final class InteractionLayer extends JPanel
See Also:
  • Method Details

    • getToolTipText

      public String getToolTipText(MouseEvent event)
      Overrides:
      getToolTipText in class JComponent
    • getCursor

      public Cursor getCursor()
      Overrides:
      getCursor in class Component
    • addHighlight

      public void addHighlight(IHighlight h)
    • removeHighlight

      public void removeHighlight(IHighlight h)
    • removeHighlights

      public void removeHighlights(Collection<? extends IHighlight> h, boolean repaint)
    • addHighlights

      public void addHighlights(List<? extends IHighlight> h, boolean repaint)
    • updateHighlight

      public void updateHighlight(IHighlight hl)
      Repaints the given highlight using the union of its last location and its current location
    • paintComponent

      protected void paintComponent(Graphics graphics)
      Overrides:
      paintComponent in class JComponent
    • bindFocusBackground

      public static void bindFocusBackground(JComponent interactionLayer, JComponent focusIndicator)
      Binds the focusIndicator's background color to be white or gray depending on whether or not the interactionLayer owns input focus or not, respectively.