|
|||||||||||
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.Window
java.awt.Dialog
wt.clients.beans.OrgChooserDialog
Nested Class Summary | |
(package private) class |
OrgChooserDialog.SymAction
|
(package private) class |
OrgChooserDialog.SymKey
|
(package private) class |
OrgChooserDialog.SymMouse
|
(package private) class |
OrgChooserDialog.SymWindow
|
(package private) class |
OrgChooserDialog.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.Dialog |
Dialog.AccessibleAWTDialog |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
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 |
buttonPanel
|
(package private) Button |
cancelButton
|
(package private) Button |
clearButton
|
private ThreadGroup |
contextGroup
|
(package private) boolean |
fComponentsAdjusted
|
(package private) Button |
findButton
|
(package private) Button |
helpButton
|
(package private) HelpContext |
helpContext
|
(package private) HelpSystem |
helpSystem
|
(package private) Label |
idLabel
|
(package private) TextField |
idTextField
|
(package private) static int |
INIT_ORG_LIST
|
(package private) Label |
nameLabel
|
(package private) TextField |
nameTextField
|
private boolean |
ok
|
(package private) Button |
okButton
|
(package private) WTMultiList |
orgList
|
private Frame |
parentFrame
|
private Vector |
propertyChangeListeners
|
private static String |
RESOURCE_BUNDLE
|
(package private) symantec.itools.awt.BorderPanel |
resultsPanel
|
(package private) Panel |
searchButtonPanel
|
(package private) symantec.itools.awt.BorderPanel |
searchPanel
|
Fields inherited from class java.awt.Dialog |
|
Fields inherited from class java.awt.Window |
|
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 | |
OrgChooserDialog(Frame parent)
|
|
OrgChooserDialog(Frame parent,
boolean modal)
|
|
OrgChooserDialog(Frame parent,
String title,
boolean modal)
|
Method Summary | |
void |
addHelpListener(PropertyChangeListener pcl)
Method addHelpListener adds the given listener to be notified
of PropertyChangeEvents in the help system. |
void |
addNotify()
|
(package private) void |
cancelButton_ActionPerformed(ActionEvent event)
|
(package private) void |
clearButton_ActionPerformed(ActionEvent event)
|
(package private) void |
findButton_ActionPerformed(ActionEvent event)
|
private void |
firePropertyChangeEvent(String command,
Object oldValue,
Object newValue)
|
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. |
WTOrganization |
getOrg(int index)
Get the WTOrganization object at the specified index. |
int |
getOrgCount()
Return the number of organizations in the organization list. |
private Frame |
getParentFrame()
Returns the parent Frame to this Panel. |
WTOrganization |
getSelectedOrg()
Return the currently selected organization. |
(package private) void |
helpButton_ActionPerformed(ActionEvent event)
|
(package private) void |
idTextField_KeyTyped(KeyEvent event)
|
private void |
initHelpSystem()
|
private void |
initializeHelp()
|
private void |
initOrgList()
Spin off a thread to initialize the choice list. |
boolean |
isOK()
|
private void |
localize()
|
(package private) void |
nameTextField_KeyTyped(KeyEvent event)
|
(package private) void |
okButton_ActionPerformed(ActionEvent event)
|
(package private) void |
OrgChooserDialog_MouseExited(MouseEvent event)
|
(package private) void |
OrgChooserDialog_WindowClosing(WindowEvent event)
|
private void |
orgList_actionPerformed(ActionEvent event)
|
(package private) void |
orgList_keyTyped(KeyEvent event)
|
private void |
populateOrgList()
|
void |
removeHelpListener(PropertyChangeListener pcl)
Method removeHelpListener removes a listener which was being
notified of PropertyChangeEvents in the help system. |
void |
setVisible(boolean b)
Shows or hides the component depending on the boolean flag b. |
Methods inherited from class java.awt.Dialog |
dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, paramString, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE_BUNDLE
private boolean ok
private ThreadGroup contextGroup
HelpSystem helpSystem
HelpContext helpContext
private Vector propertyChangeListeners
static final int INIT_ORG_LIST
private Frame parentFrame
boolean fComponentsAdjusted
symantec.itools.awt.BorderPanel searchPanel
Label nameLabel
TextField nameTextField
Label idLabel
TextField idTextField
Panel searchButtonPanel
Button findButton
Button clearButton
symantec.itools.awt.BorderPanel resultsPanel
WTMultiList orgList
Panel buttonPanel
Button okButton
Button cancelButton
Button helpButton
Constructor Detail |
public OrgChooserDialog(Frame parent)
public OrgChooserDialog(Frame parent, boolean modal)
public OrgChooserDialog(Frame parent, String title, boolean modal)
Method Detail |
private void localize()
public void addNotify()
public void setVisible(boolean b)
b
- if true, show the component; otherwise, hide the component.Component.isVisible()
public WTOrganization getOrg(int index)
index
- The index to obtain the WTOrganization.
- Returns:
- the
WTUser
public WTOrganization getSelectedOrg()
WTOrganizaton
public int getOrgCount()
public boolean isOK()
void OrgChooserDialog_WindowClosing(WindowEvent event)
void findButton_ActionPerformed(ActionEvent event)
void clearButton_ActionPerformed(ActionEvent event)
void okButton_ActionPerformed(ActionEvent event)
void cancelButton_ActionPerformed(ActionEvent event)
void helpButton_ActionPerformed(ActionEvent event)
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
private void initializeHelp()
private void initHelpSystem()
private void initOrgList()
private Frame getParentFrame()
private void populateOrgList()
private void firePropertyChangeEvent(String command, Object oldValue, Object newValue)
private void orgList_actionPerformed(ActionEvent event)
void OrgChooserDialog_MouseExited(MouseEvent event)
void nameTextField_KeyTyped(KeyEvent event)
void idTextField_KeyTyped(KeyEvent event)
void orgList_keyTyped(KeyEvent event)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |