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 voidbrandFrame(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 voidcenterComponent(Component source) Returns all icon images needed to display the Ignition logo in a window frame.getLaunchProperty(String propertyName) voidhandleError(String message) Should show the error message with an option to retry or abort.booleanbooleanstatic voidvoidrestart(List<GatewayAddress> addresses, String projectName, String scope, byte[] userObj) Restarts the launcher with the settings specified.voidsetContent(LaunchContext context, LaunchableApp newApp) voidsetFrameState(LaunchContext context) Puts some attributes into the launch context to recall the frame's state for as seamless of a restart as possible.voidshowSplash(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:
setContentin interfaceLaunchParent
-
restart
public void restart(List<GatewayAddress> addresses, String projectName, String scope, byte[] userObj) Description copied from interface:LaunchParentRestarts the launcher with the settings specified. Used for re-targeting.- Specified by:
restartin interfaceLaunchParent
-
handleError
Description copied from interface:LauncherParentShould show the error message with an option to retry or abort.- Specified by:
handleErrorin interfaceLauncherParent
-
isContainer
public boolean isContainer() -
getRootPaneContainer
- Specified by:
getRootPaneContainerin interfaceLaunchParent
-
centerComponent
-
getLaunchProperty
- Specified by:
getLaunchPropertyin interfaceLauncherParent
-
isFullScreen
public boolean isFullScreen()- Specified by:
isFullScreenin interfaceLaunchParent
-
getLaunchFlavor
- Specified by:
getLaunchFlavorin interfaceLaunchParent
-
showSplash
- Specified by:
showSplashin interfaceLauncherParent
-