java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.ignition.client.util.gui.SlideOverPane
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SlideOverPane extends JPanel
The slide-over pane displays one component at full-size, and then allows another component to slide over the top of that component.
See Also:
  • Field Details

    • contentPane

      protected JComponent contentPane
    • slideOverPane

      protected JComponent slideOverPane
    • slideOverPaneHolder

      protected JPanel slideOverPaneHolder
    • gripper

      protected JComponent gripper
    • position

      protected float position
      The position of the slide-over pane when it is expanded
    • slideDirection

      protected int slideDirection
      The direction of travel for the sliding. Use SwingConstants.[BOTTOM|TOP|LEFT|RIGHT]. Bottom, for example, means that the slide-over pane will start at the bottom and slip up.
  • Constructor Details

    • SlideOverPane

      public SlideOverPane(JComponent contentPane, JComponent slideOverPane, int slideDirection)
  • Method Details

    • createGripper

      protected JComponent createGripper()
    • setPosition

      public void setPosition(float newPos)
    • getPosition

      public float getPosition()
    • expand

      public void expand()
    • collapse

      public void collapse()
    • isExpanded

      public boolean isExpanded()
    • main

      public static void main(String[] args)
    • isOptimizedDrawingEnabled

      public boolean isOptimizedDrawingEnabled()
      Overrides:
      isOptimizedDrawingEnabled in class JComponent