Class BootstrapSwing
- java.lang.Object
- 
- com.inductiveautomation.ignition.client.launch.BootstrapSwing
 
- 
- All Implemented Interfaces:
- LauncherParent,- LaunchParent
 
 public class BootstrapSwing extends java.lang.Object implements LauncherParent, LaunchParent 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.client.launch.LaunchParentLaunchParent.LaunchFlavor
 
- 
 - 
Field Summary- 
Fields inherited from interface com.inductiveautomation.ignition.client.launch.LauncherParentARG_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 SummaryConstructors Modifier Constructor Description protectedBootstrapSwing()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidbrandFrame(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 6static voidcenterComponent(java.awt.Component source)static java.util.List<java.awt.Image>getBrandIcons()Returns all icon images needed to display the Ignition logo in a window frame.LaunchParent.LaunchFlavorgetLaunchFlavor()java.lang.StringgetLaunchProperty(java.lang.String propertyName)javax.swing.RootPaneContainergetRootPaneContainer()voidhandleError(java.lang.String message)Should show the error message with an option to retry or abort.booleanisContainer()booleanisFullScreen()static voidmain(java.lang.String[] args)voidrestart(java.util.List<GatewayAddress> addresses, java.lang.String projectName, java.lang.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)
 
- 
- 
- 
Method Detail- 
mainpublic static void main(java.lang.String[] args) 
 - 
getBrandIconspublic 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.
 - 
brandFramepublic 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
 - 
setFrameStatepublic 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() 
 - 
setContentpublic void setContent(LaunchContext context, LaunchableApp newApp) - Specified by:
- setContentin interface- LaunchParent
 
 - 
restartpublic void restart(java.util.List<GatewayAddress> addresses, java.lang.String projectName, java.lang.String scope, byte[] userObj) Description copied from interface:LaunchParentRestarts the launcher with the settings specified. Used for re-targeting.- Specified by:
- restartin interface- LaunchParent
 
 - 
handleErrorpublic void handleError(java.lang.String message) Description copied from interface:LauncherParentShould show the error message with an option to retry or abort.- Specified by:
- handleErrorin interface- LauncherParent
 
 - 
isContainerpublic boolean isContainer() 
 - 
getRootPaneContainerpublic javax.swing.RootPaneContainer getRootPaneContainer() - Specified by:
- getRootPaneContainerin interface- LaunchParent
 
 - 
centerComponentpublic static void centerComponent(java.awt.Component source) 
 - 
getLaunchPropertypublic java.lang.String getLaunchProperty(java.lang.String propertyName) - Specified by:
- getLaunchPropertyin interface- LauncherParent
 
 - 
isFullScreenpublic boolean isFullScreen() - Specified by:
- isFullScreenin interface- LaunchParent
 
 - 
getLaunchFlavorpublic LaunchParent.LaunchFlavor getLaunchFlavor() - Specified by:
- getLaunchFlavorin interface- LaunchParent
 
 - 
showSplashpublic void showSplash(SplashPanel splash) - Specified by:
- showSplashin interface- LauncherParent
 
 
- 
 
-