java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JLayeredPane
com.inductiveautomation.factorypmi.application.runtime.LayeredGlassPane
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class LayeredGlassPane extends JLayeredPane
This is a LayeredPane for use as a JRootPane's glass pane. It uses a specialized layout manager to make all components in it the same size as the glass pane (glass panes are made the size of the JRootPane by the JRootPane).

It also uses

See Also:
  • Field Details

    • glasspaneComponentList

      public List<JComponent> glasspaneComponentList
  • Constructor Details

    • LayeredGlassPane

      public LayeredGlassPane()
  • Method Details

    • addGlasspaneComponent

      public void addGlasspaneComponent(JComponent c)
      Adds a glass pane overlay component into the default layer.
    • addGlasspaneComponent

      public void addGlasspaneComponent(JComponent c, Integer layer)
      Adds a glass pane overlay component into the specified layer
    • removeGlasspaneComponent

      public void removeGlasspaneComponent(JComponent c)
    • removeAllGlasspaneComponents

      public void removeAllGlasspaneComponents()
    • containsGlasspaneComponent

      public boolean containsGlasspaneComponent(JComponent c)
    • setVisible

      public void setVisible(boolean b)
      This is overwritten b/c the stupid basic internal frame UI sets the GP to invisible after it uses it for mouse cursor effects, regardless of whether or not it was visible to begin with
      Overrides:
      setVisible in class JComponent
    • _setVisible

      public void _setVisible(boolean b)
      Backdoor to access true visibility
    • isOpaque

      public boolean isOpaque()
      Overrides:
      isOpaque in class JComponent