Class BootstrapSwing

java.lang.Object
com.inductiveautomation.ignition.client.launch.BootstrapSwing
All Implemented Interfaces:
LauncherParent, LaunchParent

public class BootstrapSwing extends Object implements LauncherParent, LaunchParent
  • Constructor Details

    • BootstrapSwing

      protected BootstrapSwing()
  • Method Details

    • main

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

      public static List<Image> getBrandIcons()
      Returns all icon images needed to display the Ignition logo in a window frame. Takes into account the designer/client scope, and whether this is an Ignition Edge system.
    • brandFrame

      public static void brandFrame(JFrame frame)
      Applies the icon image(s) to a JFrame in a way that is Java 5 safe, but uses reflection to take advantage of the multi-resolution icon capabilities of Java 6
    • setFrameState

      public void setFrameState(LaunchContext context)
      Puts some attributes into the launch context to recall the frame's state for as seamless of a restart as possible.

       FRAMESTATE_ARG=frame.getExtendedState()
       FRAMEBOUNDS_ARG=frame.getBounds()
       
    • setContent

      public void setContent(LaunchContext context, LaunchableApp newApp)
      Specified by:
      setContent in interface LaunchParent
    • restart

      public void restart(List<GatewayAddress> addresses, String projectName, String scope, byte[] userObj)
      Description copied from interface: LaunchParent
      Restarts the launcher with the settings specified. Used for re-targeting.
      Specified by:
      restart in interface LaunchParent
    • handleError

      public void handleError(String message)
      Description copied from interface: LauncherParent
      Should show the error message with an option to retry or abort.
      Specified by:
      handleError in interface LauncherParent
    • isContainer

      public boolean isContainer()
    • getRootPaneContainer

      public RootPaneContainer getRootPaneContainer()
      Specified by:
      getRootPaneContainer in interface LaunchParent
    • centerComponent

      public static void centerComponent(Component source)
    • getLaunchProperty

      public String getLaunchProperty(String propertyName)
      Specified by:
      getLaunchProperty in interface LauncherParent
    • isFullScreen

      public boolean isFullScreen()
      Specified by:
      isFullScreen in interface LaunchParent
    • getLaunchFlavor

      public LaunchParent.LaunchFlavor getLaunchFlavor()
      Specified by:
      getLaunchFlavor in interface LaunchParent
    • showSplash

      public void showSplash(SplashPanel splash)
      Specified by:
      showSplash in interface LauncherParent