wt.clients.workflow.definer
Class WfTemplateObjectTiming

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bywt.clients.workflow.definer.WfTemplateObjectTiming
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public final class WfTemplateObjectTiming
extends Panel

See Also:
Serialized Form

Nested Class Summary
(package private)  class WfTemplateObjectTiming.SymItem
           
 
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)  TextField afterDaysField
           
(package private)  Label afterDaysLabel
           
(package private)  TextField afterHoursField
           
(package private)  Label afterHoursLabel
           
(package private)  TextField afterMinutesField
           
(package private)  Label afterMinutesLabel
           
(package private)  TextField beforeDaysField
           
(package private)  Label beforeDaysLabel
           
(package private)  TextField beforeHoursField
           
(package private)  Label beforeHoursLabel
           
(package private)  TextField beforeMinutesField
           
(package private)  Label beforeMinutesLabel
           
(package private)  Checkbox completeOverdueCheckbox
           
(package private)  TextField dueDaysField
           
(package private)  Label dueDaysLabel
           
(package private)  Label dueFromLabel
           
(package private)  TextField dueHoursField
           
(package private)  Label dueHoursLabel
           
(package private)  Label dueLabel
           
(package private)  TextField dueMinutesField
           
(package private)  Label dueMinutesLabel
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine1
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine2
           
(package private)  Checkbox notifyAfterOverdueCheckbox
           
(package private)  Label notifyAfterOverdueLabel
           
(package private)  Checkbox notifyBeforeOverdueCheckbox
           
(package private)  Label notifyBeforeOverdueLabel
           
(package private)  Checkbox notifyOnOverdueCheckbox
           
(package private)  Panel overdueActionLabelPanel
           
(package private)  Panel overdueActionPanel
           
(package private)  Label overdueActionsLabel
           
(package private)  Panel overdueAfterPanel
           
(package private)  Panel overdueBeforePanel
           
(package private)  Label overdueNotificationsLabel
           
(package private)  Panel overdueNotifyLabelPanel
           
(package private)  Panel overdueNotifyPanel
           
(package private)  TextArea overdueRoleArea
           
(package private)  List overdueRoleList
           
(package private)  Panel overdueSide1Panel
           
(package private)  Panel overdueSide2Panel
           
(package private)  Panel panel1
           
(package private)  TextField processDueDaysField
           
(package private)  Label processDueDaysLabel
           
(package private)  Label processDueFromLabel
           
(package private)  TextField processDueHoursField
           
(package private)  Label processDueHoursLabel
           
(package private)  TextField processDueMinutesField
           
(package private)  Label processDueMinutesLabel
           
(package private)  Checkbox reassignOverdueCheckbox
           
(package private)  Checkbox skipOverdueCheckbox
           
private static String versionID
           
(package private)  WfTemplateObjectEditor wfTemplateObjectEditor
           
 
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
(package private) WfTemplateObjectTiming(WfTemplateObjectEditor wf_template_object_editor)
          A plug-in panel to handle timing events.
 
Method Summary
 void addNotify()
           
(package private)  void cancel()
          Cancel any user changes made to the WfTemplateObject.
(package private)  void completeOverdueCheckbox_ItemStateChanged(ItemEvent event)
           
private  int getValue(TextField field)
           
 void initialize()
          Initialize and localize the fields in the timer panel.
(package private)  void notifyAfterOverdueCheckbox_ItemStateChanged(ItemEvent event)
           
(package private)  void notifyBeforeOverdueCheckbox_ItemStateChanged(ItemEvent event)
           
(package private)  void notifyOnOverdueCheckbox_ItemStateChanged(ItemEvent event)
           
private  void populateFields(long milliseconds, TextField days_field, TextField hours_field, TextField minutes_field)
          Takes a long value in milliseconds and populates TextFields representing days, hours, and minutes.
(package private)  void reassignOverdueCheckbox_ItemStateChanged(ItemEvent event)
           
(package private)  void save()
          Save the user entered values in the fields to the WfTemplateObject.
(package private)  void skipOverdueCheckbox_ItemStateChanged(ItemEvent event)
           
 
Methods inherited from class java.awt.Panel
getAccessibleContext
 
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, getLocale, 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, resize, resize, 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

versionID

private static final String versionID
See Also:
Constant Field Values

wfTemplateObjectEditor

WfTemplateObjectEditor wfTemplateObjectEditor

panel1

Panel panel1

dueLabel

Label dueLabel

dueDaysField

TextField dueDaysField

dueDaysLabel

Label dueDaysLabel

dueHoursField

TextField dueHoursField

dueHoursLabel

Label dueHoursLabel

dueMinutesField

TextField dueMinutesField

dueMinutesLabel

Label dueMinutesLabel

dueFromLabel

Label dueFromLabel

processDueDaysField

TextField processDueDaysField

processDueDaysLabel

Label processDueDaysLabel

processDueHoursField

TextField processDueHoursField

processDueHoursLabel

Label processDueHoursLabel

processDueMinutesField

TextField processDueMinutesField

processDueMinutesLabel

Label processDueMinutesLabel

processDueFromLabel

Label processDueFromLabel

overdueActionLabelPanel

Panel overdueActionLabelPanel

overdueActionsLabel

Label overdueActionsLabel

horizontalLine1

symantec.itools.awt.shape.HorizontalLine horizontalLine1

overdueActionPanel

Panel overdueActionPanel

skipOverdueCheckbox

Checkbox skipOverdueCheckbox

completeOverdueCheckbox

Checkbox completeOverdueCheckbox

reassignOverdueCheckbox

Checkbox reassignOverdueCheckbox

overdueNotifyLabelPanel

Panel overdueNotifyLabelPanel

overdueNotificationsLabel

Label overdueNotificationsLabel

horizontalLine2

symantec.itools.awt.shape.HorizontalLine horizontalLine2

overdueNotifyPanel

Panel overdueNotifyPanel

overdueSide1Panel

Panel overdueSide1Panel

notifyBeforeOverdueCheckbox

Checkbox notifyBeforeOverdueCheckbox

overdueBeforePanel

Panel overdueBeforePanel

beforeDaysField

TextField beforeDaysField

beforeDaysLabel

Label beforeDaysLabel

beforeHoursField

TextField beforeHoursField

beforeHoursLabel

Label beforeHoursLabel

beforeMinutesField

TextField beforeMinutesField

beforeMinutesLabel

Label beforeMinutesLabel

notifyBeforeOverdueLabel

Label notifyBeforeOverdueLabel

notifyAfterOverdueCheckbox

Checkbox notifyAfterOverdueCheckbox

overdueAfterPanel

Panel overdueAfterPanel

afterDaysField

TextField afterDaysField

afterDaysLabel

Label afterDaysLabel

afterHoursField

TextField afterHoursField

afterHoursLabel

Label afterHoursLabel

afterMinutesField

TextField afterMinutesField

afterMinutesLabel

Label afterMinutesLabel

notifyAfterOverdueLabel

Label notifyAfterOverdueLabel

overdueSide2Panel

Panel overdueSide2Panel

notifyOnOverdueCheckbox

Checkbox notifyOnOverdueCheckbox

overdueRoleList

List overdueRoleList

overdueRoleArea

TextArea overdueRoleArea
Constructor Detail

WfTemplateObjectTiming

WfTemplateObjectTiming(WfTemplateObjectEditor wf_template_object_editor)
A plug-in panel to handle timing events.

Parameters:
wf_template_object_editor - The template editor to display in this panel.
Method Detail

initialize

public void initialize()
                throws WTException
Initialize and localize the fields in the timer panel.

Throws:
WTException - It initialization cannot happen.

addNotify

public void addNotify()

populateFields

private void populateFields(long milliseconds,
                            TextField days_field,
                            TextField hours_field,
                            TextField minutes_field)
Takes a long value in milliseconds and populates TextFields representing days, hours, and minutes.

Parameters:
milliseconds - The time in milliseconds.
Since:
3.1

save

void save()
    throws WTException
Save the user entered values in the fields to the WfTemplateObject.

Throws:
WTException - If the save cannot be performed.

getValue

private int getValue(TextField field)
              throws WTException
Parameters:
field - The TextField which contains a time value integer.
Returns:
an int value for the string entered in the supplied TextField.
Throws:
WTException - thrown if the value in the TextField cannot be parsed.
Since:
3.1

cancel

void cancel()
      throws WTException
Cancel any user changes made to the WfTemplateObject.

Throws:
WTException - If cancel cannot be performed.

completeOverdueCheckbox_ItemStateChanged

void completeOverdueCheckbox_ItemStateChanged(ItemEvent event)

skipOverdueCheckbox_ItemStateChanged

void skipOverdueCheckbox_ItemStateChanged(ItemEvent event)

reassignOverdueCheckbox_ItemStateChanged

void reassignOverdueCheckbox_ItemStateChanged(ItemEvent event)

notifyBeforeOverdueCheckbox_ItemStateChanged

void notifyBeforeOverdueCheckbox_ItemStateChanged(ItemEvent event)

notifyAfterOverdueCheckbox_ItemStateChanged

void notifyAfterOverdueCheckbox_ItemStateChanged(ItemEvent event)

notifyOnOverdueCheckbox_ItemStateChanged

void notifyOnOverdueCheckbox_ItemStateChanged(ItemEvent event)