Class BootstrapSwing

    • Constructor Detail

      • BootstrapSwing

        protected BootstrapSwing()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • getBrandIcons

        public static java.util.List<java.awt.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​(javax.swing.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()
         
      • restart

        public void restart​(java.util.List<GatewayAddress> addresses,
                            java.lang.String projectName,
                            java.lang.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​(java.lang.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()
      • centerComponent

        public static void centerComponent​(java.awt.Component source)
      • getLaunchProperty

        public java.lang.String getLaunchProperty​(java.lang.String propertyName)
        Specified by:
        getLaunchProperty in interface LauncherParent