filenet.vw.toolkit.utils
Class VWBaseAppLauncherApplet
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Panel
-
- java.applet.Applet
-
- javax.swing.JApplet
-
- filenet.vw.toolkit.utils.VWBaseAppLauncherApplet
-
- All Implemented Interfaces:
- IVWAppLauncher, IVWFrameInterface, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, javax.swing.RootPaneContainer
public abstract class VWBaseAppLauncherApplet extends javax.swing.JApplet implements IVWAppLauncher
This class provides the basic functionality for an applet that can launch child applications- Since:
- eProcess 4.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor and Description VWBaseAppLauncherApplet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanbringChildAppToFront(java.lang.String className)Bring the child application window to the front (z-order)voidcloseWindow()Attempts to close the windowvoidcloseWindow(java.lang.String infoMessage, java.lang.String closingMessage)Replaces the window controls with a messagevoiddestroy()Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.java.lang.StringgetBaseURL()Returns the base URLVWSessionInfogetSessionInfo()Returns the session information objectbooleanhasChildClass(java.lang.String className)voidinit()Initialize the appletbooleanlogoff()Closes all of the active applications and logs off the sessionvoidregisterApplication(IVWLaunchableApp childApp)Allows this class to keep track of the child applications.voidsimpleLogoff()Just logs off the sessionvoidwindowClosing(java.awt.event.WindowEvent event)Invoked when a window is in the process of being closed.-
Methods inherited from class javax.swing.JApplet
getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, 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, start, stop
-
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, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, 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, getPeer, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Method Detail
-
init
public void init()
Initialize the applet- Overrides:
initin classjava.applet.Applet- Since:
- eProcess 4.0
-
closeWindow
public void closeWindow()
Attempts to close the window- Since:
- eProcess 4.2.2
-
closeWindow
public void closeWindow(java.lang.String infoMessage, java.lang.String closingMessage)Replaces the window controls with a message- Parameters:
infoMessage-closingMessage-- Since:
- eProcess 4.2.2
-
destroy
public void destroy()
Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.- Overrides:
destroyin classjava.applet.Applet- Since:
- eProcess 4.0
-
getBaseURL
public java.lang.String getBaseURL()
Returns the base URL- Returns:
- the base URL
- Since:
- P8 3.0+
-
getSessionInfo
public VWSessionInfo getSessionInfo()
Returns the session information object- Returns:
- the session information object
- Since:
- eProcess 4.2.2
-
logoff
public boolean logoff()
Closes all of the active applications and logs off the session- Returns:
- true if the session has been logged off
- Since:
- eProcess 4.0
-
simpleLogoff
public void simpleLogoff()
Just logs off the session- Since:
- eProcess 4.2.2
-
registerApplication
public void registerApplication(IVWLaunchableApp childApp)
Allows this class to keep track of the child applications.- Specified by:
registerApplicationin interfaceIVWAppLauncher- Parameters:
childApp- the child application- Since:
- eProcess 4.0
-
hasChildClass
public boolean hasChildClass(java.lang.String className)
- Specified by:
hasChildClassin interfaceIVWAppLauncher- Parameters:
className-- Returns:
- true if a child application of the given class name is in our list.
- Since:
- P8 4.0.3
-
bringChildAppToFront
public boolean bringChildAppToFront(java.lang.String className)
Bring the child application window to the front (z-order)- Specified by:
bringChildAppToFrontin interfaceIVWAppLauncher- Parameters:
className-- Returns:
- true if successful
- Since:
- P8 4.0.3
-
windowClosing
public void windowClosing(java.awt.event.WindowEvent event)
Invoked when a window is in the process of being closed.- Specified by:
windowClosingin interfaceIVWFrameInterface- Parameters:
event- The window closing event.- Since:
- eProcess 4.0
-
-