Class BootstrapApplet
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Panel
-
- java.applet.Applet
-
- javax.swing.JApplet
-
- com.inductiveautomation.ignition.client.launch.BootstrapApplet
-
- All Implemented Interfaces:
LauncherParent
,LaunchParent
,java.awt.image.ImageObserver
,java.awt.MenuContainer
,java.io.Serializable
,javax.accessibility.Accessible
,javax.swing.RootPaneContainer
public class BootstrapApplet extends javax.swing.JApplet implements LauncherParent, LaunchParent
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JApplet
javax.swing.JApplet.AccessibleJApplet
-
Nested classes/interfaces inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
-
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
-
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
-
Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.client.launch.LaunchParent
LaunchParent.LaunchFlavor
-
-
Field Summary
-
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
-
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
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
-
-
Constructor Summary
Constructors Constructor Description BootstrapApplet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
LaunchParent.LaunchFlavor
getLaunchFlavor()
java.lang.String
getLaunchProperty(java.lang.String propertyName)
javax.swing.RootPaneContainer
getRootPaneContainer()
void
handleError(java.lang.String message)
Should show the error message with an option to retry or abort.void
handleRetarget(LaunchContext context)
Applet retarget simply uses the AppletContext to alter the browser's URL to the different project.void
init()
boolean
isFullScreen()
void
restart(java.util.List<GatewayAddress> addresses, java.lang.String projectName, java.lang.String scope, byte[] userObj)
Restarts the launcher with the settings specified.void
setContent(LaunchContext context, LaunchableApp app)
void
showSplash(SplashPanel splash)
void
start()
void
stop()
-
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.applet.Applet
getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, isValidateRoot, newAudioClip, play, play, resize, resize, setStub, showStatus
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setMixingCutoutShape, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Method Detail
-
handleRetarget
public void handleRetarget(LaunchContext context)
Applet retarget simply uses the AppletContext to alter the browser's URL to the different project.
-
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 interfaceLaunchParent
-
showSplash
public void showSplash(SplashPanel splash)
- Specified by:
showSplash
in interfaceLauncherParent
-
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 interfaceLauncherParent
-
setContent
public void setContent(LaunchContext context, LaunchableApp app)
- Specified by:
setContent
in interfaceLaunchParent
-
init
public void init()
- Overrides:
init
in classjava.applet.Applet
-
start
public void start()
- Overrides:
start
in classjava.applet.Applet
-
stop
public void stop()
- Overrides:
stop
in classjava.applet.Applet
-
destroy
public void destroy()
- Overrides:
destroy
in classjava.applet.Applet
-
getLaunchProperty
public java.lang.String getLaunchProperty(java.lang.String propertyName)
- Specified by:
getLaunchProperty
in interfaceLauncherParent
-
getRootPaneContainer
public javax.swing.RootPaneContainer getRootPaneContainer()
- Specified by:
getRootPaneContainer
in interfaceLaunchParent
-
isFullScreen
public boolean isFullScreen()
- Specified by:
isFullScreen
in interfaceLaunchParent
-
getLaunchFlavor
public LaunchParent.LaunchFlavor getLaunchFlavor()
- Specified by:
getLaunchFlavor
in interfaceLaunchParent
-
-