|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
wt.clients.beans.FindUserPanel
Nested Class Summary | |
(package private) class |
FindUserPanel.SymAction
|
(package private) class |
FindUserPanel.SymItem
|
(package private) class |
FindUserPanel.WorkThread
The work thread is used to place long operations in a separate WTThread so the AWT thread isn't tied up. |
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 | |
private String |
allServices
|
(package private) static String |
BLANK_CHOICE
|
private WTContainerRef |
containerRef
|
private ThreadGroup |
contextGroup
|
private String |
defaultService
|
private boolean |
deletedPrincipalsVisible
|
private boolean |
enterGroupName
|
(package private) symantec.itools.awt.LabelButton |
findButton
|
private boolean |
from_find
|
(package private) Choice |
groupChoice
|
(package private) symantec.itools.awt.WrappingLabel |
groupLabel
|
(package private) TextField |
groupNameTextField
|
(package private) HelpContext |
helpContext
|
(package private) HelpSystem |
helpSystem
|
(package private) static int |
INIT_GROUP_LIST
|
private Object |
init_sync
|
(package private) String |
invalid_groupname
|
private LayoutManager |
layout
|
private boolean |
layoutInitialized
|
private boolean |
listsPopulated
|
(package private) String |
notice
|
private boolean |
passive
|
private Vector |
propertyChangeListeners
|
private static String |
RESOURCE_BUNDLE
|
private String |
selectedGroup
|
private String |
selectedService
|
(package private) Choice |
serviceChoice
|
(package private) symantec.itools.awt.WrappingLabel |
serviceLabel
|
private String[] |
services
|
private Hashtable |
servicesTable
|
(package private) symantec.itools.awt.WrappingLabel |
userIdLabel
|
(package private) TextField |
userIdTextField
|
(package private) WTMultiList |
userList
|
(package private) symantec.itools.awt.WrappingLabel |
userNameLabel
|
(package private) TextField |
userNameTextField
|
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 | |
FindUserPanel()
This is the no arg constructor that creates the FindUserPanel. |
Method Summary | |
void |
addHelpListener(PropertyChangeListener pcl)
Method addHelpListener adds the given listener to be notified
of PropertyChangeEvents in the help system. |
void |
addNotify()
Notifies this component that it has been added to a container and if a peer is required, it should be created. |
void |
addPropertyChangeListener(PropertyChangeListener pcl)
This method adds a PropertyChangeListener to the component. |
private void |
findButton_ActionPerformed(ActionEvent event)
|
private void |
firePropertyChangeEvent(String command,
Object oldValue,
Object newValue)
|
WTContainerRef |
getContainerRef()
This method returns the current value for the component's container reference, or null if the component is not currently associated with a container context. |
private ArrayList |
getContextProviders(WTContainerRef containerRef,
String service,
Class inClass)
|
private void |
getGroupMembers()
|
HelpContext |
getHelpContext()
This is the public getter for the HelpContext being used for the online help. |
HelpSystem |
getHelpSystem()
This is the public getter for the HelpSystem being used for the online help. |
WTUser |
getSelectedUser()
Return the currently selected user. |
WTUser |
getUser(int index)
Get the WTUser object at the specified index. |
int |
getUserCount()
Return the number of users in the user list. |
private void |
groupChoice_ItemStateChanged(ItemEvent event)
|
private void |
initGroupList()
Spin off a thread to initialize the choice list. |
private void |
initHelpSystem()
|
private void |
initializeHelp()
|
private void |
localize()
|
static void |
main(String[] args)
Main for testing. |
private void |
populateGroupList_ForEnteredGroupName()
|
private void |
populateGroupList()
|
private void |
populateLists()
|
private void |
populateServiceList()
|
void |
removeHelpListener(PropertyChangeListener pcl)
Method removeHelpListener removes a listener which was being
notified of PropertyChangeEvents in the help system. |
void |
removePropertyChangeListener(PropertyChangeListener pcl)
This method removes the desired PropertyChangeListener from the component. |
private void |
serviceChoice_ItemStateChanged(ItemEvent event)
|
void |
setContainerRef(WTContainerRef containerRef)
This method sets a reference to a container that provides context for queries against users, groups, and organizations. |
void |
setFont(Font newFont)
|
void |
setLayout(LayoutManager lm)
This method sets the layout for the PrincipalSelectionBrowser. |
private void |
userList_actionPerformed(ActionEvent event)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE_BUNDLE
private boolean deletedPrincipalsVisible
private boolean listsPopulated
private Hashtable servicesTable
private boolean layoutInitialized
private LayoutManager layout
private WTContainerRef containerRef
private ThreadGroup contextGroup
HelpSystem helpSystem
HelpContext helpContext
private Vector propertyChangeListeners
static final int INIT_GROUP_LIST
static final String BLANK_CHOICE
private String allServices
private String defaultService
private String selectedService
private String selectedGroup
private String[] services
private Object init_sync
private boolean enterGroupName
String notice
String invalid_groupname
private boolean passive
symantec.itools.awt.WrappingLabel userNameLabel
symantec.itools.awt.WrappingLabel serviceLabel
symantec.itools.awt.WrappingLabel userIdLabel
TextField userNameTextField
TextField userIdTextField
symantec.itools.awt.WrappingLabel groupLabel
Choice groupChoice
TextField groupNameTextField
symantec.itools.awt.LabelButton findButton
WTMultiList userList
Choice serviceChoice
private boolean from_find
Constructor Detail |
public FindUserPanel()
Method Detail |
public void setLayout(LayoutManager lm)
lm
- The LayoutManager
the component will
have set.LayoutManager
public void setContainerRef(WTContainerRef containerRef) throws WTException
containerRef
- The container reference
WTException
WTContainerRef
public WTContainerRef getContainerRef()
WTContainerRef
public WTUser getUser(int index)
index
- The index to obtain the WTUser.
- Returns:
- the
WTUser
public WTUser getSelectedUser()
WTUser
public int getUserCount()
public void addNotify()
public void addPropertyChangeListener(PropertyChangeListener pcl)
pcl
- The PropertyChangeListener
PropertyChangeListener
,
PropertyChangeEvent
public HelpSystem getHelpSystem()
HelpSystem
for the beanHelpSystem
public HelpContext getHelpContext()
HelpContext
for the bean.HelpContext
public void addHelpListener(PropertyChangeListener pcl)
addHelpListener
adds the given listener to be notified
of PropertyChangeEvents
in the help system. Tool description
PropertyChangeEvents
are generated when the user mouses over
the buttons and list of ContentItems
in this panel. The
given listener will be notified of those events.
pcl
- The PropertyChangeListener
to be notified of
PropertyChangeEvents
generated by the help system.removeHelpListener(java.beans.PropertyChangeListener)
,
HelpSystem
,
HelpContext
,
PropertyChangeListener
public void removeHelpListener(PropertyChangeListener pcl)
removeHelpListener
removes a listener which was being
notified of PropertyChangeEvents
in the help system. If
the given listener is not currently a listener, no changes are made.
pcl
- the PropertyChangeListener
to be removed as a
listener of events generated by the help system of this panel.addHelpListener(java.beans.PropertyChangeListener)
,
PropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener pcl)
pcl
- The PropertyChangeListener
PropertyChangeListener
,
PropertyChangeEvent
public void setFont(Font newFont)
private void localize()
private void initGroupList()
private void populateLists()
private void populateServiceList()
private void populateGroupList()
private void populateGroupList_ForEnteredGroupName()
private ArrayList getContextProviders(WTContainerRef containerRef, String service, Class inClass) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private void groupChoice_ItemStateChanged(ItemEvent event)
private void findButton_ActionPerformed(ActionEvent event)
private void firePropertyChangeEvent(String command, Object oldValue, Object newValue)
private void getGroupMembers() throws Exception
Exception
private void userList_actionPerformed(ActionEvent event)
private void serviceChoice_ItemStateChanged(ItemEvent event)
private void initializeHelp()
private void initHelpSystem()
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |