|
|||||||||||
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.gui.ContainerChooserDialog
Nested Class Summary | |
static class |
ContainerChooserDialog.Server
Inner class that acts a lightweight service which executes methods on the server to reduce unnecessary client to server traffic and data transfer. |
(package private) class |
ContainerChooserDialog.SymAction
|
(package private) class |
ContainerChooserDialog.SymKey
|
(package private) class |
ContainerChooserDialog.SymMouse
|
(package private) class |
ContainerChooserDialog.SymWindow
|
(package private) class |
ContainerChooserDialog.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 | |
protected Vector |
bothVector
|
(package private) Panel |
buttonPanel
|
static int |
CANCEL
|
(package private) Button |
cancelButton
|
(package private) Button |
clearButton
|
protected int |
command
|
(package private) WTMultiList |
containerItemsList
|
protected Object |
containerListLock
|
private ThreadGroup |
contextGroup
|
(package private) boolean |
fComponentsAdjusted
|
protected static String |
HELP_KEY
|
(package private) Button |
helpButton
|
protected HelpContext |
helpContext
|
protected HelpSystem |
helpSystem
|
protected IconCache |
iconCache
|
protected static int |
INDEX_COL
|
(package private) static int |
INIT_CONT_LIST
|
protected static int |
INITIALIZE_CONTEXTS
|
protected static int |
INITIALIZE_IMAGES
|
protected static int |
ITEM_SELECTED
|
protected static String |
LIBRARY_ICON
|
protected Image |
libraryImage
|
protected Vector |
libraryVector
|
protected static int |
NAME_COL
|
(package private) Label |
nameLabel
|
(package private) TextField |
nameTextField
|
private boolean |
ok
|
static int |
OK
|
(package private) Button |
okButton
|
private Frame |
parentFrame
|
protected Image |
productImage
|
protected Vector |
productVector
|
protected Image |
projectImage
|
protected Vector |
projectVector
|
private Vector |
propertyChangeListeners
|
static String |
RESOURCE_BUNDLE
|
(package private) symantec.itools.awt.BorderPanel |
resultsPanel
|
(package private) Button |
searchButton
|
(package private) Panel |
searchButtonPanel
|
(package private) Choice |
searchOnChoice
|
(package private) Label |
searchOnLabel
|
(package private) symantec.itools.awt.BorderPanel |
searchPanel
|
private static String |
SERVER_CLASS
|
protected static int |
SHOW_HELP
|
protected boolean |
showLibraries
|
private boolean |
showOrg
|
private ThreadGroup |
threadGroup
|
private boolean |
useProjects
|
protected static boolean |
VERBOSE
|
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 | |
ContainerChooserDialog(Frame parent)
|
|
ContainerChooserDialog(Frame parent,
boolean modal)
|
|
ContainerChooserDialog(Frame parent,
boolean modal,
String projects)
|
|
ContainerChooserDialog(Frame parent,
String projects)
|
|
ContainerChooserDialog(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 |
ContainerChooserDialog_MouseExited(MouseEvent event)
|
(package private) void |
ContainerChooserDialog_WindowClosing(WindowEvent event)
|
private void |
containerItemsList_actionPerformed(ActionEvent event)
|
(package private) void |
containerItemsList_keyTyped(KeyEvent event)
|
private void |
firePropertyChangeEvent(String command,
Object oldValue,
Object newValue)
|
WTContainer |
getContainer(int index)
Get the WTContainer object at the specified index. |
private Vector |
getContainers(String name)
|
protected WTContext |
getContext()
|
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. |
private Frame |
getParentFrame()
Returns the parent Frame to this Panel. |
WTContainer |
getSelectedContainer()
Return the currently selected organization. |
boolean |
getUseProjects()
This method is to get whether to show projects or not Supported API: false |
(package private) void |
helpButton_ActionPerformed(ActionEvent event)
|
private void |
initHelpSystem()
|
protected void |
initializeContainers()
|
private void |
initializeHelp()
|
protected void |
initImages()
|
boolean |
isOK()
|
private void |
localize()
|
(package private) void |
nameTextField_KeyTyped(KeyEvent event)
|
(package private) void |
okButton_ActionPerformed(ActionEvent event)
|
private void |
populateContainerList()
|
protected void |
populateListWithAll()
|
protected void |
populateListWithBoth()
|
protected void |
populateListWithLibraries()
|
protected void |
populateListWithProducts()
|
protected void |
populateListWithProjects()
|
void |
removeHelpListener(PropertyChangeListener pcl)
Method removeHelpListener removes a listener which was being
notified of PropertyChangeEvents in the help system. |
(package private) void |
searchButton_ActionPerformed(ActionEvent event)
|
void |
setLibrary()
|
void |
setProduct()
|
void |
setProject()
|
void |
setUseProjects(boolean projects)
This method is to set projects on Supported API: false |
void |
setVisible(boolean b)
Shows or hides the component depending on the boolean flag b. |
boolean |
showOrg()
|
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 |
public static final String RESOURCE_BUNDLE
private boolean ok
private ThreadGroup contextGroup
private Vector propertyChangeListeners
static final int INIT_CONT_LIST
private Frame parentFrame
private ThreadGroup threadGroup
protected Image libraryImage
protected Image productImage
protected Image projectImage
protected IconCache iconCache
protected Object containerListLock
protected HelpSystem helpSystem
protected HelpContext helpContext
protected int command
protected boolean showLibraries
protected Vector bothVector
protected Vector libraryVector
protected Vector productVector
protected Vector projectVector
protected static boolean VERBOSE
protected static final int NAME_COL
protected static final int INDEX_COL
protected static final int INITIALIZE_IMAGES
protected static final int INITIALIZE_CONTEXTS
protected static final int ITEM_SELECTED
protected static final int SHOW_HELP
protected static final String LIBRARY_ICON
protected static final String HELP_KEY
public static final int OK
public static final int CANCEL
private boolean showOrg
private static final String SERVER_CLASS
private boolean useProjects
boolean fComponentsAdjusted
Label searchOnLabel
Choice searchOnChoice
symantec.itools.awt.BorderPanel searchPanel
Label nameLabel
TextField nameTextField
Panel searchButtonPanel
Button searchButton
Button clearButton
symantec.itools.awt.BorderPanel resultsPanel
WTMultiList containerItemsList
Panel buttonPanel
Button okButton
Button cancelButton
Button helpButton
Constructor Detail |
public ContainerChooserDialog(Frame parent, String projects)
public ContainerChooserDialog(Frame parent)
public ContainerChooserDialog(Frame parent, boolean modal)
public ContainerChooserDialog(Frame parent, boolean modal, String projects)
public ContainerChooserDialog(Frame parent, String title, boolean modal)
Method Detail |
public void addNotify()
public void setVisible(boolean b)
b
- if true, show the component; otherwise, hide the component.Component.isVisible()
public void setLibrary()
public void setProduct()
public void setProject()
public WTContainer getContainer(int index)
index
- The index to obtain the WTContainer.
- Returns:
- the
WTUser
public WTContainer getSelectedContainer()
WTOrganizaton
public boolean isOK()
void ContainerChooserDialog_WindowClosing(WindowEvent event)
void searchButton_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 localize()
private Frame getParentFrame()
private void populateContainerList()
protected void populateListWithProducts()
protected void populateListWithLibraries()
protected void populateListWithProjects()
protected void populateListWithBoth()
protected void populateListWithAll()
protected void initializeContainers()
protected void initImages()
protected WTContext getContext()
private void firePropertyChangeEvent(String command, Object oldValue, Object newValue)
private void containerItemsList_actionPerformed(ActionEvent event)
void ContainerChooserDialog_MouseExited(MouseEvent event)
void nameTextField_KeyTyped(KeyEvent event)
void containerItemsList_keyTyped(KeyEvent event)
public boolean showOrg()
private Vector getContainers(String name) throws WTException
WTException
public void setUseProjects(boolean projects)
public boolean getUseProjects()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |