wt.clients.workflow.tasks
Class UpdateTeamVariables

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended bywt.clients.workflow.tasks.UpdateTeamVariables
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class UpdateTeamVariables
extends Applet

See Also:
Serialized Form

Nested Class Summary
(package private)  class UpdateTeamVariables.SymAction
           
(package private)  class UpdateTeamVariables.SymItem
           
 
Nested classes inherited from class java.applet.Applet
Applet.AccessibleApplet
 
Nested classes inherited from class java.awt.Panel
Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
(package private)  Panel buttonPanel
           
private static String HELP_RESOURCE
           
(package private)  Button helpButton
           
private  HelpContext helpContext
           
private  HelpSystem helpSystem
           
private static Object initSync
           
private static String LC_HELP_RESOURCE
           
 WfActivity myActivity
           
 WfProcess myProcess
           
(package private)  ThreadGroup myThreadGroup
           
 WorkItem myWorkItem
           
(package private)  Panel panel
           
(package private)  ResourceBundle rb
           
(package private)  Button resetButton
           
private static String RESOURCE
           
(package private)  Button saveButton
           
(package private)  ScrollPane scrollPane
           
(package private)  symantec.itools.awt.StatusBar statusBar
           
(package private)  Hashtable teams
           
(package private)  Label updateTeamVarLabel
           
 
Fields inherited from class java.applet.Applet
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
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
UpdateTeamVariables()
           
 
Method Summary
private  void createFinishLine()
          createFinishLine creates an horizontal line in the variablesPanel.
private  void createLabel(String labelText, int y)
          createLable creates an AWT label in the panel with the supplied labelText.
private  JITProjectPanel createTeamSelector(Team team, int y)
          createTeam creates an JITProjectPanel in the variablesPanel to select Teams.
 void destroy()
           
private  Frame getTopLevelParent(Component component)
          Returns the parent Frame of this applet.
(package private)  void helpButton_ActionPerformed(ActionEvent event)
           
 void init()
           
(package private)  void initialize()
           
protected  void localize()
          Localizes the panel to the current locale.
(package private)  void resetButton_ActionPerformed(ActionEvent event)
           
(package private)  void saveButton_ActionPerformed(ActionEvent event)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.applet.Applet
getAccessibleContext, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, 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, isOpaque, 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, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

helpSystem

private HelpSystem helpSystem

helpContext

private HelpContext helpContext

HELP_RESOURCE

private static final String HELP_RESOURCE
See Also:
Constant Field Values

LC_HELP_RESOURCE

private static final String LC_HELP_RESOURCE
See Also:
Constant Field Values

myWorkItem

public WorkItem myWorkItem

myActivity

public WfActivity myActivity

myProcess

public WfProcess myProcess

teams

Hashtable teams

myThreadGroup

ThreadGroup myThreadGroup

rb

ResourceBundle rb

initSync

private static Object initSync

updateTeamVarLabel

Label updateTeamVarLabel

scrollPane

ScrollPane scrollPane

panel

Panel panel

buttonPanel

Panel buttonPanel

saveButton

Button saveButton

resetButton

Button resetButton

helpButton

Button helpButton

statusBar

symantec.itools.awt.StatusBar statusBar
Constructor Detail

UpdateTeamVariables

public UpdateTeamVariables()
Method Detail

start

public void start()

stop

public void stop()

destroy

public void destroy()

init

public void init()

initialize

void initialize()

createLabel

private void createLabel(String labelText,
                         int y)
createLable creates an AWT label in the panel with the supplied labelText.

Parameters:
labelText - text to be displayed on the label
y - gridy value of the label in the variablesPanel's gridBagLayout

createTeamSelector

private JITProjectPanel createTeamSelector(Team team,
                                           int y)
                                    throws Exception
createTeam creates an JITProjectPanel in the variablesPanel to select Teams.

Parameters:
y - gridy value of the label in the variablesPanel's gridBagLayout
Throws:
Exception

createFinishLine

private void createFinishLine()
createFinishLine creates an horizontal line in the variablesPanel. The sole purpose of this method is to create a control that forces the other controls in the variablesPanel into a better grid bac configuration. None of the other workflow variables in the panel carray an X or Y weight and consequently they all float in the center of the panel instead of the top left.


getTopLevelParent

private Frame getTopLevelParent(Component component)
Returns the parent Frame of this applet.


saveButton_ActionPerformed

void saveButton_ActionPerformed(ActionEvent event)

resetButton_ActionPerformed

void resetButton_ActionPerformed(ActionEvent event)

localize

protected void localize()
Localizes the panel to the current locale.


helpButton_ActionPerformed

void helpButton_ActionPerformed(ActionEvent event)