filenet.vw.toolkit.runtime.step.beans

Class VWPanel

  • java.lang.Object
    • java.awt.Component
      • java.awt.Container
        • javax.swing.JComponent
          • javax.swing.JPanel
            • filenet.vw.toolkit.runtime.step.beans.VWPanel
  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible
    Direct Known Subclasses:
    VWLaunchPanel


    public class VWPanel
    extends javax.swing.JPanel
    implements java.awt.event.ActionListener
    This class acts as a container for grouping and easily accessing the Java Step Processor UI Toolkit controls and containers. The class retrieves and queries a valid VWStepElement object and provides the necessary information to initialize its components (dependent controls and containers). Additionally, the class implements an ActionListener to monitor the button press events in the contained VWButton objects.

    You can create a subclass of the VWPanel container or create a new instance. (The Java Step and Launch Step Processor samples demonstrate how to subclass and use the VWPanel class.)

    To create a new instance of the container, include a statement similar to the following:

     filenet.vw.toolkit.runtime.step.beans.VWPanel VWPanelOne = new filenet.vw.toolkit.runtime.step.beans.VWPanel();

    Once you have a container, you can add any of the following containers and controls: Supported containers:

    • VWAttachmentPanel
    • VWFieldPanel
    • VWLaunchPanel
    • VWMilestonePanel
    • VWTabbedPanel
    • VWWflGroupPanel

    Supported controls:

    • VWButton
    • VWCheckBox
    • VWComboBox
    • VWLabel
    • VWTextArea
    • VWTextField

    Note: This class extends the Swing JPanel class; refer to the appropriate Sun SDK documentation for more information on the JPanel class and on the inherited methods and fields for the Swing JComponent and the AWT Container and Component classes.
    Since:
    eProcess 4.0
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.BaselineResizeBehavior
    • Field Summary

      • Fields inherited from class javax.swing.JComponent

        TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • 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
    • Constructor Summary

      Constructors 
      Constructor and Description
      VWPanel() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void actionPerformed(java.awt.event.ActionEvent event)
      Invoked when an action occurs.
      java.awt.Component add(java.awt.Component newComponent)
      Adds the specified component (either a control or container) to the end of this container.
      void add(java.awt.Component newComponent, java.lang.Object constraints)
      Adds the specified component (either a control or container, as specified by the constraint) to the end of this container.
      void destroy()
      Allows the VWPanel object to exit gracefully.
      void init(VWSessionInfo sessionInfo)
      Initializes the container to interact with other APIs and controls.
      • Methods inherited from class javax.swing.JPanel

        getAccessibleContext, getUI, getUIClassID, setUI, updateUI
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
      • Methods inherited from class java.awt.Container

        add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

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

      • VWPanel

        public VWPanel()
    • Method Detail

      • init

        public void init(VWSessionInfo sessionInfo)
        Initializes the container to interact with other APIs and controls.
        Parameters:
        sessionInfo - The VWSessionInfo object contains the session-related information necessary to initialize the container and allow the container to access other Process APIs. VWSessionInfo is used to retrieve the queue name and the work object number necessary to retrieve a VWStepElement object.
        Since:
        eProcess 4.0
      • destroy

        public void destroy()
        Allows the VWPanel object to exit gracefully. This method calls doAbort(), which in turn performs the clean up function.
        Since:
        eProcess 4.0
      • add

        public java.awt.Component add(java.awt.Component newComponent)
        Adds the specified component (either a control or container) to the end of this container.
        Overrides:
        add in class java.awt.Container
        Parameters:
        newComponent - A Component object to add to the container.
        Returns:
        The argument passed by the specified components.
        Since:
        eProcess 4.0
      • add

        public void add(java.awt.Component newComponent,
                        java.lang.Object constraints)
        Adds the specified component (either a control or container, as specified by the constraint) to the end of this container. Also notifies the layout manager to add the component to this container's layout using the specified constraints object.
        Overrides:
        add in class java.awt.Container
        Parameters:
        newComponent - the component object to be added.
        constraints - an object containing layout constraints for this component.
        Since:
        eProcess 4.0
        See Also:
        LayoutManager
      • actionPerformed

        public void actionPerformed(java.awt.event.ActionEvent event)
        Invoked when an action occurs.
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener
        Parameters:
        event - an ActionEvent object
        Since:
        eProcess 4.0

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