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

public abstract class SplashPanel extends JPanel
See Also:
  • Field Details

    • displayed

      protected boolean displayed
    • activeStep

      protected LaunchStep activeStep
    • stateListener

      protected PropertyChangeListener stateListener
      Listens to each step for when it becomes RUNNING, to update the activeStep
    • currentStepListener

      protected PropertyChangeListener currentStepListener
      Listens to the currently running step, calling update when it changes
  • Constructor Details

    • SplashPanel

      protected SplashPanel()
    • SplashPanel

      protected SplashPanel(LayoutManager layout)
  • Method Details

    • init

      public void init(List<LaunchStep> steps)
      Initializes the splash panel with a set of steps. If you override, make sure to call super, or loop through the steps yourself and add stateListener as a propertyChangeListener to each step.
    • update

      protected abstract void update(LaunchStep step)
    • setActiveStep

      protected void setActiveStep(LaunchStep step)
    • isDisplayed

      public boolean isDisplayed()
    • setDisplayed

      public void setDisplayed(boolean displayed)
    • getSurroundingBackground

      public Color getSurroundingBackground()
      What color should the surrounding are be, if the splash panel is displayed within a larger window?
    • getPreferredPosition

      public abstract SplashPanel.PreferredPosition getPreferredPosition()
      If the splash panel should be displayed inside a larger window, how should it be positioned?