Class BootstrapSwing
java.lang.Object
com.inductiveautomation.ignition.client.launch.BootstrapSwing
- All Implemented Interfaces:
LauncherParent
,LaunchParent
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.client.launch.LaunchParent
LaunchParent.LaunchFlavor
-
Field Summary
Fields inherited from interface com.inductiveautomation.ignition.client.launch.LauncherParent
ARG_GATEWAY_ADDR, ARG_HOOK, ARG_INITIAL_HEAP_SIZE, ARG_JAVA_VM_ARGS, ARG_MAX_HEAP_SIZE, ARG_PLATFORM_EDITION, ARG_PLATFORM_PLUGINS, ARG_PROJECT, ARG_RETARGET_TOKEN, ARG_SCOPE, ARG_SCREEN, ARG_TIMESTAMP, ARG_TRUST_STORE_DIR, ARG_TRUST_STORE_PEM, ARG_TRUST_STORE_TYPE, FORWARDED_SYSTEM_ARGS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 6static void
centerComponent
(Component source) Returns all icon images needed to display the Ignition logo in a window frame.getLaunchProperty
(String propertyName) void
handleError
(String message) Should show the error message with an option to retry or abort.boolean
boolean
static void
void
restart
(List<GatewayAddress> addresses, String projectName, String scope, byte[] userObj) Restarts the launcher with the settings specified.void
setContent
(LaunchContext context, LaunchableApp newApp) 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.void
showSplash
(SplashPanel splash)
-
Constructor Details
-
BootstrapSwing
protected BootstrapSwing()
-
-
Method Details
-
main
-
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
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
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
- Specified by:
setContent
in interfaceLaunchParent
-
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 interfaceLaunchParent
-
handleError
Description copied from interface:LauncherParent
Should show the error message with an option to retry or abort.- Specified by:
handleError
in interfaceLauncherParent
-
isContainer
public boolean isContainer() -
getRootPaneContainer
- Specified by:
getRootPaneContainer
in interfaceLaunchParent
-
centerComponent
-
getLaunchProperty
- Specified by:
getLaunchProperty
in interfaceLauncherParent
-
isFullScreen
public boolean isFullScreen()- Specified by:
isFullScreen
in interfaceLaunchParent
-
getLaunchFlavor
- Specified by:
getLaunchFlavor
in interfaceLaunchParent
-
showSplash
- Specified by:
showSplash
in interfaceLauncherParent
-