wt.clients.workflow.definer
Class WfURLTemplatePanel

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

public final class WfURLTemplatePanel
extends WfNodeTemplatePanel

The UI for specifying properties for a WfURLRobotTemplate robot.

See Also:
Serialized Form

Nested Class Summary
(package private)  class WfURLTemplatePanel.SymAction
           
(package private)  class WfURLTemplatePanel.SymItem
           
(package private)  class WfURLTemplatePanel.VariableActionListener
           
 
Nested classes inherited from class wt.clients.workflow.definer.WfNodeTemplatePanel
WfNodeTemplatePanel.InitializeThread
 
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)  Checkbox abortRadioButton
           
(package private)  Checkbox badRequestCheckbox
           
private  String BLANK
           
(package private)  Label descriptionLabel
           
(package private)  TextArea descriptionTextArea
           
(package private)  Checkbox emitRadioButton
           
(package private)  Panel errorsPanel
           
(package private)  Checkbox forbiddenCheckbox
           
(package private)  Panel generalPanel
           
(package private)  CheckboxGroup Group1
           
(package private)  Label nameLabel
           
(package private)  TextField nameTextField
           
(package private)  Checkbox notFoundCheckbox
           
(package private)  Choice outputChoice
           
(package private)  Label outputLabel
           
(package private)  TextField outputTextField
           
(package private)  Panel panel1
           
(package private)  Panel panel2
           
(package private)  PopupMenu popup
           
(package private)  ResourceBundle rb
           
private  String ROBOT_CLASSNAME
           
(package private)  Checkbox serverErrorCheckbox
           
(package private)  symantec.itools.awt.TabPanel tabPanel
           
(package private)  Checkbox timeoutCheckbox
           
(package private)  Checkbox unauthorizedCheckbox
           
(package private)  Checkbox unavailableCheckbox
           
(package private)  Label urlLabel
           
(package private)  TextArea urlTextArea
           
(package private)  Button variableButton
           
(package private)  WfVariableInfo[] variables
           
 
Fields inherited from class wt.clients.workflow.definer.WfNodeTemplatePanel
propertiesTabPanel, wfNodeTemplateEditor, wfTemplateObjectEvents
 
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) WfURLTemplatePanel(WfNodeTemplateEditor wf_node_template_editor)
          The constructor for the UI for specifying properties for a WfURLRobotTemplate robot.
 
Method Summary
(package private)  void abortRadioButton_ItemStateChanged(ItemEvent event)
           
 void addNotify()
          Overrides the default addNotify to work around IE bugs.
 void addTabs()
           
protected  void cancel()
           
private  String checkRequiredAttribute(String attr_name, String attr_value)
           
private  void emitCase(int status, Vector event_list, StringBuffer expression_body)
           
(package private)  void emitRadioButton_ItemStateChanged(ItemEvent event)
           
 String getHelpTag()
           
 void initialize()
          Initialize and localize the fields in the timer panel.
private  boolean isCase(int status, String expression)
           
 void reinitialize()
           
private  void resetBoxes()
           
protected  void save()
          Save the user entered values in the fields to the WfURLRobotTemplate.
 void updateButtons()
           
(package private)  void variableButton_ActionPerformed(ActionEvent event)
           
 
Methods inherited from class wt.clients.workflow.definer.WfNodeTemplatePanel
getEditor, getPropertiesTabPanel, getUserEvents, setCurrentTab
 
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

popup

PopupMenu popup

variables

WfVariableInfo[] variables

rb

ResourceBundle rb

BLANK

private final String BLANK
See Also:
Constant Field Values

ROBOT_CLASSNAME

private final String ROBOT_CLASSNAME

tabPanel

symantec.itools.awt.TabPanel tabPanel

generalPanel

Panel generalPanel

nameLabel

Label nameLabel

nameTextField

TextField nameTextField

descriptionLabel

Label descriptionLabel

descriptionTextArea

TextArea descriptionTextArea

urlLabel

Label urlLabel

urlTextArea

TextArea urlTextArea

outputLabel

Label outputLabel

outputChoice

Choice outputChoice

outputTextField

TextField outputTextField

variableButton

Button variableButton

errorsPanel

Panel errorsPanel

abortRadioButton

Checkbox abortRadioButton

Group1

CheckboxGroup Group1

emitRadioButton

Checkbox emitRadioButton

panel2

Panel panel2

panel1

Panel panel1

notFoundCheckbox

Checkbox notFoundCheckbox

badRequestCheckbox

Checkbox badRequestCheckbox

unauthorizedCheckbox

Checkbox unauthorizedCheckbox

serverErrorCheckbox

Checkbox serverErrorCheckbox

forbiddenCheckbox

Checkbox forbiddenCheckbox

timeoutCheckbox

Checkbox timeoutCheckbox

unavailableCheckbox

Checkbox unavailableCheckbox
Constructor Detail

WfURLTemplatePanel

WfURLTemplatePanel(WfNodeTemplateEditor wf_node_template_editor)
The constructor for the UI for specifying properties for a WfURLRobotTemplate robot.

Method Detail

initialize

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

Overrides:
initialize in class WfNodeTemplatePanel
Throws:
WTException - It initialization cannot happen.

resetBoxes

private void resetBoxes()

reinitialize

public void reinitialize()
Overrides:
reinitialize in class WfNodeTemplatePanel

addNotify

public void addNotify()
Overrides the default addNotify to work around IE bugs. The setCaretPosition(0) call on TextFields forces IE to fix painting problem.

Overrides:
addNotify in class WfNodeTemplatePanel

addTabs

public void addTabs()
Overrides:
addTabs in class WfNodeTemplatePanel

checkRequiredAttribute

private String checkRequiredAttribute(String attr_name,
                                      String attr_value)
                               throws WTPropertyVetoException
Throws:
WTPropertyVetoException

save

protected void save()
             throws WTException
Save the user entered values in the fields to the WfURLRobotTemplate. Must call super to get the template in the batch container.

Overrides:
save in class WfNodeTemplatePanel
Throws:
WTException - If the save cannot be performed.

emitCase

private void emitCase(int status,
                      Vector event_list,
                      StringBuffer expression_body)

isCase

private boolean isCase(int status,
                       String expression)

cancel

protected void cancel()
               throws WTException
Overrides:
cancel in class WfNodeTemplatePanel
Throws:
WTException

getHelpTag

public String getHelpTag()
Overrides:
getHelpTag in class WfNodeTemplatePanel

updateButtons

public void updateButtons()

emitRadioButton_ItemStateChanged

void emitRadioButton_ItemStateChanged(ItemEvent event)

abortRadioButton_ItemStateChanged

void abortRadioButton_ItemStateChanged(ItemEvent event)

variableButton_ActionPerformed

void variableButton_ActionPerformed(ActionEvent event)