wt.clients.rn
Class UpdateWTRNRequestFrame

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended bywt.clients.rn.UpdateWTRNRequestFrame
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class UpdateWTRNRequestFrame
extends Frame

See Also:
Serialized Form

Nested Class Summary
(package private)  class UpdateWTRNRequestFrame.SymAction
           
(package private)  class UpdateWTRNRequestFrame.SymKey
           
(package private)  class UpdateWTRNRequestFrame.SymWindow
           
 
Nested classes inherited from class java.awt.Frame
Frame.AccessibleAWTFrame
 
Nested classes inherited from class java.awt.Window
Window.AccessibleAWTWindow
 
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 acknowledgementReceivedCheckbox
           
(package private)  Label acknowledgementReceivedLabel
           
(package private)  Panel buttonPanel
           
(package private)  Button cancelButton
           
(package private)  Label createdByLabel
           
(package private)  Label createdByValueLabel
           
(package private)  Label createdLabel
           
(package private)  Label createdValueLabel
           
(package private)  Label createInLabel
           
(package private)  Label descriptionLabel
           
(package private)  WTTextArea descriptionTextArea
           
(package private)  Label displayURLLabel
           
(package private)  TextField displayURLTextField
           
(package private)  Checkbox exceptionReceivedCheckbox
           
(package private)  Label exceptionReceivedLabel
           
(package private)  boolean fComponentsAdjusted
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine1
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine2
           
(package private)  Label nameLabel
           
(package private)  Label nameValueLabel
           
(package private)  Button OKButton
           
(package private)  Button openURLButton
           
private  Applet parentApplet
           
private  Folder parentFolder
          The Folder in which to create the new document.
private static String RESOURCE
          Defined constant which specifies a String representation of the fully-qualified class name of the ResourceBundle containing localized text for the fields, labels and error-messages of this frame.
private static ResourceBundle resourceBundle
          Variable which maintains the ResourceBundle used for getting localized text for fields, labels and eror-messages of this frame.
(package private)  Checkbox responseReceivedCheckbox
           
(package private)  Label responseReceivedLabel
           
(package private)  Button saveButton
           
(package private)  Label saveInLabel
           
private  WTRNRequest wtRNRequest
           
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Window
 
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
UpdateWTRNRequestFrame()
           
UpdateWTRNRequestFrame(String title)
           
 
Method Summary
 void addNotify()
           
(package private)  void cancelButton_ActionPerformed(ActionEvent event)
           
private  void dispatchRefresh(Object source, int action, Object obj)
           
private  String formatDate(Date time)
           
private  WTContext getContext()
          Returns the WTContext corresponding to this frame.
 Applet getParentApplet()
           
private  void initResource()
          Initialize the ResourceBundles used for localizing the text of this frame.
private  void localize()
          Localizes the field labels and localizable text by getting correct values from a ResourceBundle.
static void main(String[] args)
           
(package private)  void OKButton_ActionPerformed(ActionEvent event)
           
(package private)  void openURLButton_ActionPerformed(ActionEvent event)
           
private  void populateFields()
           
(package private)  void saveButton_ActionPerformed(ActionEvent event)
           
 void setContext(boolean on)
           
 void setParentApplet(Applet applet)
           
 void setVisible(boolean b)
          Shows or hides the component depending on the boolean flag b.
 void setWTRNRequest(WTRNRequest wtrnr)
           
private  void updateObject()
           
(package private)  void UpdateWTRNRequestFrame_WindowClosing(WindowEvent event)
           
 
Methods inherited from class java.awt.Frame
finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, 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, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, 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, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

wtRNRequest

private WTRNRequest wtRNRequest

parentApplet

private Applet parentApplet

parentFolder

private Folder parentFolder
The Folder in which to create the new document. This folder can be any folder in the system to which the user has rights to modify.


RESOURCE

private static String RESOURCE
Defined constant which specifies a String representation of the fully-qualified class name of the ResourceBundle containing localized text for the fields, labels and error-messages of this frame.


resourceBundle

private static ResourceBundle resourceBundle
Variable which maintains the ResourceBundle used for getting localized text for fields, labels and eror-messages of this frame.


fComponentsAdjusted

boolean fComponentsAdjusted

nameLabel

Label nameLabel

descriptionLabel

Label descriptionLabel

descriptionTextArea

WTTextArea descriptionTextArea

responseReceivedLabel

Label responseReceivedLabel

responseReceivedCheckbox

Checkbox responseReceivedCheckbox

exceptionReceivedLabel

Label exceptionReceivedLabel

exceptionReceivedCheckbox

Checkbox exceptionReceivedCheckbox

acknowledgementReceivedLabel

Label acknowledgementReceivedLabel

acknowledgementReceivedCheckbox

Checkbox acknowledgementReceivedCheckbox

displayURLLabel

Label displayURLLabel

displayURLTextField

TextField displayURLTextField

openURLButton

Button openURLButton

createdByLabel

Label createdByLabel

createdByValueLabel

Label createdByValueLabel

createdLabel

Label createdLabel

createdValueLabel

Label createdValueLabel

buttonPanel

Panel buttonPanel

saveButton

Button saveButton

cancelButton

Button cancelButton

OKButton

Button OKButton

horizontalLine1

symantec.itools.awt.shape.HorizontalLine horizontalLine1

horizontalLine2

symantec.itools.awt.shape.HorizontalLine horizontalLine2

saveInLabel

Label saveInLabel

nameValueLabel

Label nameValueLabel

createInLabel

Label createInLabel
Constructor Detail

UpdateWTRNRequestFrame

public UpdateWTRNRequestFrame()

UpdateWTRNRequestFrame

public UpdateWTRNRequestFrame(String title)
Method Detail

setWTRNRequest

public void setWTRNRequest(WTRNRequest wtrnr)

setParentApplet

public void setParentApplet(Applet applet)

getParentApplet

public Applet getParentApplet()

setContext

public void setContext(boolean on)

setVisible

public void setVisible(boolean b)
Shows or hides the component depending on the boolean flag b.

Parameters:
b - if true, show the component; otherwise, hide the component.
See Also:
Component.isVisible()

main

public static void main(String[] args)

addNotify

public void addNotify()

initResource

private void initResource()
                   throws MissingResourceException
Initialize the ResourceBundles used for localizing the text of this frame. Both ResourceBundles for labels and fields and for error messages are initialized.

Throws:
MissingResourceException
See Also:
ResourceBundle

populateFields

private void populateFields()

localize

private void localize()
Localizes the field labels and localizable text by getting correct values from a ResourceBundle.

See Also:
initResource, ResourceBundle

formatDate

private String formatDate(Date time)

getContext

private WTContext getContext()
Returns the WTContext corresponding to this frame. This method attempts to use the parent applet to get a WTContext. If no WTContext is found using the parent applet, this method uses the default method to retrieve a WTContext, which will create a WTContext if no WTContext exists.

Returns:
the WTContext associated with this frame.

updateObject

private void updateObject()
                   throws WTException,
                          WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

dispatchRefresh

private void dispatchRefresh(Object source,
                             int action,
                             Object obj)

UpdateWTRNRequestFrame_WindowClosing

void UpdateWTRNRequestFrame_WindowClosing(WindowEvent event)

saveButton_ActionPerformed

void saveButton_ActionPerformed(ActionEvent event)

cancelButton_ActionPerformed

void cancelButton_ActionPerformed(ActionEvent event)

openURLButton_ActionPerformed

void openURLButton_ActionPerformed(ActionEvent event)

OKButton_ActionPerformed

void OKButton_ActionPerformed(ActionEvent event)