wt.clients.lifecycle.administrator
Class AccessPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bywt.clients.project.RoleHolderPanel
                  extended bywt.clients.lifecycle.administrator.AccessPanel
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class AccessPanel
extends RoleHolderPanel

Panel which allows manipulation of the criteria.

See Also:
Serialized Form

Nested Class Summary
(package private)  class AccessPanel.MouseListen
           
(package private)  class AccessPanel.SymItem
           
 
Nested classes inherited from class wt.clients.project.RoleHolderPanel
 
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)  CAccessEntry access
           
(package private)  CAccessList accessList
           
(package private)  Panel accessPanel
           
(package private)  AdHocAclSpec adhoc_aclspec
           
 PermissionPanel permissionPanel
           
(package private)  CPhaseTemplate phaseEntry
           
(package private)  Label rolePermissionsLabel
           
(package private)  String rolePermissionsString
           
(package private)  List selectedList
           
(package private)  Label selectedRolesLabel
           
private  boolean viewMode
           
 
Fields inherited from class wt.clients.project.RoleHolderPanel
cRoleHolder, selectedRole
 
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
AccessPanel()
          Constructor generated by Symantec
 
Method Summary
 void addNotify()
          Notifies this component that it has been added to a container and if a peer is required, it should be created.
protected  String getSelectedRoleName()
          Returns the selected role in this panel.
 boolean isViewMode()
          Returns true if this panel is in view only mode.
protected  void localize()
          Localize this panel.
(package private)  void selectedList_itemStateChanged(ItemEvent event)
          Handles the item state changed event for the role list.
protected  void setAdHocAclSpec(CAccessList access_list)
          Find the adHocAclSpec
protected  void setCAccessList(CAccessList access_list)
          Sets the access list for this Panel.
protected  void setCRoleHolder()
          Sets the client role holder (phase) which contains the criteria.
 void setHelpContext(NFHelpContext help_context)
          Set the help context for this panel.
protected  void setRoleList()
          Populates the role list with all roles in the phase.
protected  void setSelectedRoleName()
          Sets the selected role for this panel.
 void setViewMode(boolean view_mode)
          Sets the mode of the Life Cycle defintion panel.
protected  void updateSelectedItem()
          Updates the access grid to represent the selected role.
 
Methods inherited from class wt.clients.project.RoleHolderPanel
getApplet, getHelpContext, getHelpSystem, getParentFrame, setApplet, setCRoleHolder, setCRoleHolder, setHelp
 
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

phaseEntry

CPhaseTemplate phaseEntry

accessList

CAccessList accessList

access

CAccessEntry access

adhoc_aclspec

AdHocAclSpec adhoc_aclspec

rolePermissionsString

String rolePermissionsString

permissionPanel

public PermissionPanel permissionPanel

viewMode

private boolean viewMode

selectedList

List selectedList

accessPanel

Panel accessPanel

rolePermissionsLabel

Label rolePermissionsLabel

selectedRolesLabel

Label selectedRolesLabel
Constructor Detail

AccessPanel

public AccessPanel()
Constructor generated by Symantec

Method Detail

setCRoleHolder

protected void setCRoleHolder()
Sets the client role holder (phase) which contains the criteria.

Overrides:
setCRoleHolder in class RoleHolderPanel

setSelectedRoleName

protected void setSelectedRoleName()
Sets the selected role for this panel.

Overrides:
setSelectedRoleName in class RoleHolderPanel

getSelectedRoleName

protected String getSelectedRoleName()
Returns the selected role in this panel.


setCAccessList

protected void setCAccessList(CAccessList access_list)
Sets the access list for this Panel.


setAdHocAclSpec

protected void setAdHocAclSpec(CAccessList access_list)
Find the adHocAclSpec


setRoleList

protected void setRoleList()
Populates the role list with all roles in the phase.


setViewMode

public void setViewMode(boolean view_mode)
Sets the mode of the Life Cycle defintion panel. View mode is a read-only mode.

Parameters:
view_mode - true if read-only, else false

isViewMode

public boolean isViewMode()
Returns true if this panel is in view only mode.


updateSelectedItem

protected void updateSelectedItem()
Updates the access grid to represent the selected role.


addNotify

public void addNotify()
Notifies this component that it has been added to a container and if a peer is required, it should be created. The critiera panel is localized at this point.


localize

protected void localize()
Localize this panel.


setHelpContext

public void setHelpContext(NFHelpContext help_context)
Set the help context for this panel.

Overrides:
setHelpContext in class RoleHolderPanel
Parameters:
help_context - the help context

selectedList_itemStateChanged

void selectedList_itemStateChanged(ItemEvent event)
Handles the item state changed event for the role list. The access grid is update to the selected role.

Parameters:
event - the item event