|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
wt.clients.project.RoleHolderPanel
wt.clients.project.RolePanel
Panel which allows manipulation of roles.
Nested Class Summary | |
(package private) class |
RolePanel.SymAction
|
(package private) class |
RolePanel.SymItem
|
Nested classes inherited from class wt.clients.project.RoleHolderPanel |
RoleHolderPanel.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) Panel |
actionPanel
|
(package private) Button |
addAllButton
|
(package private) Button |
addButton
|
(package private) List |
availableList
|
(package private) Label |
availableRolesLabel
|
(package private) static WTContainerRef |
context
|
(package private) boolean |
definitionMode
|
(package private) Panel |
panel1
|
(package private) Button |
participantsButton
|
(package private) Button |
removeAllButton
|
(package private) Button |
removeButton
|
(package private) Hashtable |
requiredRoles
|
(package private) List |
selectedList
|
(package private) Label |
selectedRolesLabel
|
(package private) boolean |
updateMode
|
Fields inherited from class wt.clients.project.RoleHolderPanel |
applet, cRoleHolder, helpContext, helpListener, helpSystem, selectedRole, 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 | |
RolePanel()
Constructor generated by Symantec |
Method Summary | |
(package private) void |
addAllButton_ActionPerformed(ActionEvent event)
Handles the add all button action event for the Panel. |
(package private) void |
addButton_ActionPerformed(ActionEvent event)
Handles the add button action event for the Panel. |
void |
addNotify()
Notifies this component that it has been added to a container and if a peer is required, it should be created. |
void |
addRequiredRole(String role_name)
Adds a required role to the role holder. |
(package private) void |
availableList_ItemStateChanged(ItemEvent event)
|
void |
disableForBasic(boolean isBasic)
|
static WTContainerRef |
getContext()
Try to get our context from our parents params. |
Locale |
getLocale()
|
String |
getSelectedRoleName()
Returns the selected role in this panel. |
boolean |
isUpdateMode()
Returns true if update is allowed, else false. |
private void |
localize()
Localize this panel. |
(package private) void |
participantsButton_ActionPerformed(ActionEvent event)
Handles the participants button action event for the Panel. |
(package private) void |
removeAllButton_ActionPerformed(ActionEvent event)
Handles the remove all button action event for the Panel. |
(package private) void |
removeButton_ActionPerformed(ActionEvent event)
Handles the remove button action event for the Panel. |
void |
resetRequiredRoles()
Resets the required roles list to contain no required roles. |
(package private) void |
selectedList_DblClicked(ActionEvent event)
Handles the double click action for the selected list. |
(package private) void |
selectedList_ItemStateChanged(ItemEvent event)
|
static void |
setContext(WTContainerRef containerRef)
Set the context |
protected void |
setCRoleHolder()
Sets the client role holder which contains the roles. |
void |
setDefinitionMode(boolean definition_mode)
Sets the definition mode of the panel. |
void |
setHelpContext(NFHelpContext help_context)
Set the help context for this panel. |
protected void |
setSelectedRoleName()
Sets the selected role for this panel. |
void |
setUpdateMode(boolean update_mode)
Sets update mode of the panel. |
(package private) void |
updateRoleButtons()
Updates the role buttons dependent on the selected role. |
void |
updateRoleLists()
Puts the roles in either the available or selected roles list dependent on their inclusion in the role holder. |
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
boolean definitionMode
Hashtable requiredRoles
boolean updateMode
static WTContainerRef context
Label availableRolesLabel
List availableList
Panel actionPanel
Button addButton
Button addAllButton
Button removeButton
Button removeAllButton
Label selectedRolesLabel
List selectedList
Panel panel1
Button participantsButton
Constructor Detail |
public RolePanel()
Method Detail |
public void setUpdateMode(boolean update_mode)
update_mode
- true if updatable, else false.public boolean isUpdateMode()
public void setDefinitionMode(boolean definition_mode)
definition_mode
- true if definition is allowed, else false.protected void setCRoleHolder()
setCRoleHolder
in class RoleHolderPanel
protected void setSelectedRoleName()
setSelectedRoleName
in class RoleHolderPanel
public String getSelectedRoleName()
public void resetRequiredRoles()
public void addRequiredRole(String role_name)
public void updateRoleLists()
void updateRoleButtons()
public void addNotify()
private void localize()
public void setHelpContext(NFHelpContext help_context)
setHelpContext
in class RoleHolderPanel
help_context
- the help contextvoid addButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid addAllButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid removeButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid removeAllButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid participantsButton_ActionPerformed(ActionEvent event)
event
- the action eventvoid selectedList_DblClicked(ActionEvent event)
event
- the action eventvoid availableList_ItemStateChanged(ItemEvent event)
void selectedList_ItemStateChanged(ItemEvent event)
public Locale getLocale()
public static void setContext(WTContainerRef containerRef)
public static WTContainerRef getContext()
public void disableForBasic(boolean isBasic)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |