wt.clients.replication.unit
Class ContentsPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bywt.clients.replication.unit.HelperPanel
                  extended bywt.clients.replication.unit.ContentsPanel
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class ContentsPanel
extends HelperPanel

ContentPanel is a view class for displaying the Contents of a WTPart. It uses the WTContentHolder bean for most of its work.


Supported API: false

Extendable: false

See Also:
WTContentHolder, Serialized Form

Nested Class Summary
 
Nested classes inherited from class wt.clients.replication.unit.HelperPanel
HelperPanel.WorkThread
 
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)  symantec.itools.awt.WrappingLabel titleLabel
           
(package private)  Panel titlePanel
           
(package private)  boolean updateMode
           
(package private)  Panel workingPanel
           
(package private)  WTContentHolder wtContentHolder
           
 
Fields inherited from class wt.clients.replication.unit.HelperPanel
resource, RESOURCE, SAVE, SET_PART_ITEM, threadGroup
 
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
ContentsPanel()
          Construct the ContentsPanel.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void initializeHelp()
          Initialize the help for this panel.
protected  void localize()
           
 boolean save()
          Save any changes.
 void setPartItem()
          Set the PartItem to display Contents for.
 void setUpdateMode(boolean update_mode)
          Set the update mode for the ContentHolder bean.
 
Methods inherited from class wt.clients.replication.unit.HelperPanel
addNotify, getApplet, getContext, getHelpBundleName, getHelpContext, getHelpSystem, getLabelsRB, getLocalizedMessage, getLocalizedValue, getParentFrame, getPartItem, getThreadGroup, initResources, saveInThread, setApplet, setContext, setHelpContext, setHelpSystem, setPartItem, showMessageDialog
 
Methods inherited from class java.awt.Panel
getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, 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

wtContentHolder

WTContentHolder wtContentHolder

updateMode

boolean updateMode

workingPanel

Panel workingPanel

titlePanel

Panel titlePanel

titleLabel

symantec.itools.awt.WrappingLabel titleLabel
Constructor Detail

ContentsPanel

public ContentsPanel()
Construct the ContentsPanel.

Method Detail

setPartItem

public void setPartItem()
                 throws WTPropertyVetoException
Set the PartItem to display Contents for. This method is indirectly invoked by the WorkThread.

Overrides:
setPartItem in class HelperPanel
Throws:
WTPropertyVetoException - if the PartItem is not a ReferenceHolder.

setUpdateMode

public void setUpdateMode(boolean update_mode)
Set the update mode for the ContentHolder bean.

Overrides:
setUpdateMode in class HelperPanel
Parameters:
update_mode - if true, allow updates

save

public boolean save()
Save any changes.

Returns:
true if save was successful.

localize

protected void localize()
Overrides:
localize in class HelperPanel

initializeHelp

public void initializeHelp()
Initialize the help for this panel. Not used since the WTContentHolder bean provides its own help.

Overrides:
initializeHelp in class HelperPanel

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)