wt.clients.doc
Class ViewDocumentFrame

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

public class ViewDocumentFrame
extends Frame

Frame which displays the properties and relationships of the given WTDocument object.

See Also:
Override the getPreferredSize method to have better control over the size of this frame. Implementing this method was necessary to better support lower resolutions.

Supported API: false

Extendable: false
, Serialized Form

Nested Class Summary
private  class ViewDocumentFrame.ActionThread
           
(package private)  class ViewDocumentFrame.DocumentHandle
           
(package private)  class ViewDocumentFrame.HelpPropertyChangeListener
           
(package private)  class ViewDocumentFrame.SymAction
           
(package private)  class ViewDocumentFrame.SymJCAction
           
(package private)  class ViewDocumentFrame.SymKey
           
(package private)  class ViewDocumentFrame.SymMouse
           
(package private)  class ViewDocumentFrame.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)  Panel buttonPanel
           
(package private)  symantec.itools.awt.BorderPanel cardPanel
           
(package private)  Button closeButton
           
(package private)  jclass.bwt.JCButton contentsButton
           
private  ContentsPanel contentsPanel
           
private  ThreadGroup contextGroup
           
(package private)  Label createdByLabel
           
(package private)  Label createdByValue
           
(package private)  Label createdDate
           
(package private)  Label createdOnValue
           
(package private)  Label docDeptLabel
           
(package private)  Label docDeptValue
           
(package private)  Label docDescLabel
           
(package private)  WTTextArea docDescTextArea
           
(package private)  Label docIterationLabel
           
(package private)  Label docIterationValue
           
(package private)  Label docLocationLabel
           
(package private)  Label docNameLabel
           
(package private)  Label docNameValue
           
(package private)  Label docNumberLabel
           
(package private)  Label docNumberValue
           
(package private)  Label docOrgIdLabel
           
(package private)  Label docOrgIdValue
           
(package private)  Label docStatusLabel
           
(package private)  Label docStatusValue
           
(package private)  Label docTitleLabel
           
(package private)  Label docTitleValue
           
(package private)  Label docTypeLabel
           
(package private)  Label docTypeValue
           
private  WTDocument document
           
(package private)  boolean fComponentsAdjusted
           
private static String HELP_TARGET
           
(package private)  Button helpButton
           
private  HelpContext helpContext
           
private  HelpSystem helpSystem
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine1
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine2
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine3
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine4
           
(package private)  symantec.itools.awt.shape.HorizontalLine horizontalLine5
           
(package private)  HTTPUploadDownloadPanel hTTPUploadDownloadPanel1
           
private  boolean inDescendent
           
protected static int INIT_CONTENTS
           
protected static int INIT_PROPERTIES
           
(package private)  LifeCycleInfo lifeCycleInfo1
           
(package private)  Label locationValue
           
private  Object lockStr
           
(package private)  Label modifiedByLabel
           
(package private)  Label modifiedByValue
           
(package private)  Label modifiedDate
           
(package private)  Label modifiedOnValue
           
private  Applet parentApplet
           
(package private)  Panel relationsPanel
           
private static ResourceBundle resources
           
private static String RESOURCES
           
(package private)  TextField statusTextField
           
(package private)  Panel tabsPanel
           
 
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
ViewDocumentFrame()
           
ViewDocumentFrame(String title)
           
 
Method Summary
 void addNotify()
           
(package private)  void closeButton_Action(ActionEvent event)
           
(package private)  void closeButton_KeyPress(KeyEvent event)
           
(package private)  void contentsButton_actionPerformed(jclass.bwt.JCActionEvent event)
           
(package private)  void contentsButton_keyPressed(KeyEvent event)
           
(package private)  void contentsButton_mousePressed(MouseEvent event)
           
private  String formatDate(Timestamp time)
           
(package private)  void Frame1_WindowClosing(WindowEvent event)
           
private  WTContext getContext()
           
 WTDocument getDocument()
           
private  String getLocalizedMessage(String key, Object[] params)
          Deprecated.  
 Applet getParentApplet()
           
(package private)  void helpButton_Action(ActionEvent event)
           
(package private)  void helpButton_KeyPress(KeyEvent event)
           
private  void initContentsPanel()
           
private  void initializeHelp()
           
private  void initProperties()
           
private  void initResources()
           
private  void localize()
           
private  void setContentsPanel()
           
private  void setContext(boolean set_context_on)
           
 void setDocument(WTDocument doc)
           
 void setParentApplet(Applet parent_applet)
           
private  void setPrimaryContentsPanel()
           
 void setVisible(boolean isVisible)
           
 void show()
          Deprecated. The user should call the setVisible(boolean isVisible)
private  void showHelp()
           
private  void updateColors(Color color)
           
 
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, 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

fComponentsAdjusted

boolean fComponentsAdjusted

hTTPUploadDownloadPanel1

HTTPUploadDownloadPanel hTTPUploadDownloadPanel1

horizontalLine5

symantec.itools.awt.shape.HorizontalLine horizontalLine5

docOrgIdLabel

Label docOrgIdLabel

docOrgIdValue

Label docOrgIdValue

docNameLabel

Label docNameLabel

docNameValue

Label docNameValue

docTypeLabel

Label docTypeLabel

docTypeValue

Label docTypeValue

docTitleLabel

Label docTitleLabel

docTitleValue

Label docTitleValue

docDeptLabel

Label docDeptLabel

docDeptValue

Label docDeptValue

docNumberLabel

Label docNumberLabel

docNumberValue

Label docNumberValue

docDescLabel

Label docDescLabel

docDescTextArea

WTTextArea docDescTextArea

docLocationLabel

Label docLocationLabel

locationValue

Label locationValue

horizontalLine1

symantec.itools.awt.shape.HorizontalLine horizontalLine1

createdDate

Label createdDate

createdOnValue

Label createdOnValue

modifiedDate

Label modifiedDate

modifiedOnValue

Label modifiedOnValue

createdByLabel

Label createdByLabel

createdByValue

Label createdByValue

modifiedByLabel

Label modifiedByLabel

modifiedByValue

Label modifiedByValue

docStatusLabel

Label docStatusLabel

docStatusValue

Label docStatusValue

docIterationLabel

Label docIterationLabel

docIterationValue

Label docIterationValue

horizontalLine2

symantec.itools.awt.shape.HorizontalLine horizontalLine2

lifeCycleInfo1

LifeCycleInfo lifeCycleInfo1

horizontalLine4

symantec.itools.awt.shape.HorizontalLine horizontalLine4

relationsPanel

Panel relationsPanel

tabsPanel

Panel tabsPanel

contentsButton

jclass.bwt.JCButton contentsButton

cardPanel

symantec.itools.awt.BorderPanel cardPanel

horizontalLine3

symantec.itools.awt.shape.HorizontalLine horizontalLine3

buttonPanel

Panel buttonPanel

closeButton

Button closeButton

helpButton

Button helpButton

statusTextField

TextField statusTextField

document

private WTDocument document

parentApplet

private Applet parentApplet

contentsPanel

private ContentsPanel contentsPanel

helpSystem

private HelpSystem helpSystem

helpContext

private HelpContext helpContext

contextGroup

private ThreadGroup contextGroup

HELP_TARGET

private static final String HELP_TARGET
See Also:
Constant Field Values

RESOURCES

private static String RESOURCES

resources

private static ResourceBundle resources

lockStr

private Object lockStr

inDescendent

private boolean inDescendent

INIT_PROPERTIES

protected static final int INIT_PROPERTIES
See Also:
Constant Field Values

INIT_CONTENTS

protected static final int INIT_CONTENTS
See Also:
Constant Field Values
Constructor Detail

ViewDocumentFrame

public ViewDocumentFrame()

ViewDocumentFrame

public ViewDocumentFrame(String title)
Method Detail

initResources

private void initResources()

localize

private void localize()

setVisible

public void setVisible(boolean isVisible)

show

public void show()
Deprecated. The user should call the setVisible(boolean isVisible)


addNotify

public void addNotify()

Frame1_WindowClosing

void Frame1_WindowClosing(WindowEvent event)

getDocument

public WTDocument getDocument()

setDocument

public void setDocument(WTDocument doc)
                 throws WTException
Throws:
WTException

initProperties

private void initProperties()

formatDate

private String formatDate(Timestamp time)

setParentApplet

public void setParentApplet(Applet parent_applet)

getParentApplet

public Applet getParentApplet()

getContext

private WTContext getContext()

setContext

private void setContext(boolean set_context_on)

closeButton_Action

void closeButton_Action(ActionEvent event)

getLocalizedMessage

private String getLocalizedMessage(String key,
                                   Object[] params)
Deprecated.  

Helper method to return a localized String message. This method is replaced by WTMessage.getLocalizedMessage( )

Parameters:
key - the String key into the messages ResourceBundle
params - an array of Objects to be used to format the message to be returned
Returns:
the String message specified by the given key

contentsButton_actionPerformed

void contentsButton_actionPerformed(jclass.bwt.JCActionEvent event)

initContentsPanel

private void initContentsPanel()

setPrimaryContentsPanel

private void setPrimaryContentsPanel()

setContentsPanel

private void setContentsPanel()

initializeHelp

private void initializeHelp()

helpButton_Action

void helpButton_Action(ActionEvent event)

showHelp

private void showHelp()

helpButton_KeyPress

void helpButton_KeyPress(KeyEvent event)

closeButton_KeyPress

void closeButton_KeyPress(KeyEvent event)

updateColors

private void updateColors(Color color)

contentsButton_keyPressed

void contentsButton_keyPressed(KeyEvent event)

contentsButton_mousePressed

void contentsButton_mousePressed(MouseEvent event)