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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.BaselineResizeBehavior
    • Field Summary

      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean bringChildAppToFront(java.lang.String className)
      Bring the child application window to the front (z-order)
      void closeWindow()
      Attempts to close the window
      void closeWindow(java.lang.String infoMessage, java.lang.String closingMessage)
      Replaces the window controls with a message
      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.
      java.lang.String getBaseURL()
      Returns the base URL
      VWSessionInfo getSessionInfo()
      Returns the session information object
      boolean hasChildClass(java.lang.String className) 
      void init()
      Initialize the applet
      boolean logoff()
      Closes all of the active applications and logs off the session
      void registerApplication(IVWLaunchableApp childApp)
      Allows this class to keep track of the child applications.
      void simpleLogoff()
      Just logs off the session
      void windowClosing(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.Panel

        addNotify
      • 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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VWBaseAppLauncherApplet

        public VWBaseAppLauncherApplet()
    • Method Detail

      • init

        public void init()
        Initialize the applet
        Overrides:
        init in class java.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:
        destroy in class java.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:
        registerApplication in interface IVWAppLauncher
        Parameters:
        childApp - the child application
        Since:
        eProcess 4.0
      • hasChildClass

        public boolean hasChildClass(java.lang.String className)
        Specified by:
        hasChildClass in interface IVWAppLauncher
        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:
        bringChildAppToFront in interface IVWAppLauncher
        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:
        windowClosing in interface IVWFrameInterface
        Parameters:
        event - The window closing event.
        Since:
        eProcess 4.0

© Copyright IBM Corporation 2002, 2019. All rights reserved.