wt.clients.project
Class RoleHolderPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bywt.clients.project.RoleHolderPanel
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable
Direct Known Subclasses:
AccessPanel, CriteriaPanel, RolePanel, TransitionsPanel, WorkflowPanel

public class RoleHolderPanel
extends Panel

A parent class for panels which deal with role holders.

See Also:
Serialized Form

Nested Class Summary
(package private)  class RoleHolderPanel.WorkThread
          The work thread for this Panel.
 
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)  Applet applet
           
protected  CRoleHolder cRoleHolder
          The client role holder for this Panel.
(package private)  HelpContext helpContext
           
(package private)  PropertyChangeListener helpListener
           
(package private)  HelpSystem helpSystem
           
protected  String selectedRole
          The selected role in this Panel.
(package private) static int SET_CROLE_HOLDER
           
 
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
RoleHolderPanel()
          Creates a new empty RoleHolderPanel.
 
Method Summary
 Applet getApplet()
          Gets the applet for this panel.
 HelpContext getHelpContext()
          Returns the help context for this panel.
 HelpSystem getHelpSystem()
          Returns the help system for this panel.
 Frame getParentFrame()
          Returns the parent Frame to this Panel.
 void setApplet(Applet applet)
          Sets the applet for this frame.
protected  void setCRoleHolder()
          Method for subclasses to override to set the client role holder in a new thread.
 void setCRoleHolder(CRoleHolder crole_holder)
          Set the client role holder for this Panel.
 void setCRoleHolder(CRoleHolder crole_holder, String selected_role)
          Set the client role holder for this Panel.
 void setHelp(PropertyChangeListener listener, HelpSystem help_system)
          Sets the help system and help listener for this panel.
 void setHelpContext(NFHelpContext help_context)
          Sets the help context for this Panel.
protected  void setSelectedRoleName()
          Method for subclasses to override to set the selected role in a new thread.
 
Methods inherited from class java.awt.Panel
addNotify, 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

SET_CROLE_HOLDER

static final int SET_CROLE_HOLDER
See Also:
Constant Field Values

cRoleHolder

protected CRoleHolder cRoleHolder
The client role holder for this Panel.


selectedRole

protected String selectedRole
The selected role in this Panel.


applet

Applet applet

helpSystem

HelpSystem helpSystem

helpContext

HelpContext helpContext

helpListener

PropertyChangeListener helpListener
Constructor Detail

RoleHolderPanel

public RoleHolderPanel()
Creates a new empty RoleHolderPanel.

Method Detail

setCRoleHolder

public void setCRoleHolder(CRoleHolder crole_holder)
Set the client role holder for this Panel.

Parameters:
crole_holder - the role holder displayed in this Panel

setCRoleHolder

public void setCRoleHolder(CRoleHolder crole_holder,
                           String selected_role)
Set the client role holder for this Panel.

Parameters:
crole_holder - the role holder displayed in this Panel
selected_role - the selected role in the role holder

setCRoleHolder

protected void setCRoleHolder()
Method for subclasses to override to set the client role holder in a new thread.


setSelectedRoleName

protected void setSelectedRoleName()
Method for subclasses to override to set the selected role in a new thread.


setApplet

public void setApplet(Applet applet)
Sets the applet for this frame.

Parameters:
applet - the applet.

getApplet

public Applet getApplet()
Gets the applet for this panel.


getParentFrame

public Frame getParentFrame()
Returns the parent Frame to this Panel.


getHelpSystem

public HelpSystem getHelpSystem()
Returns the help system for this panel.


setHelpContext

public void setHelpContext(NFHelpContext help_context)
Sets the help context for this Panel.

Parameters:
help_context - the help context

getHelpContext

public HelpContext getHelpContext()
Returns the help context for this panel.


setHelp

public void setHelp(PropertyChangeListener listener,
                    HelpSystem help_system)
Sets the help system and help listener for this panel.

Parameters:
listener - a listener to receive context sensitive help
help_system - the help system for this Panel