|
|||||||||||
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
symantec.itools.awt.BorderPanel
wt.clients.beans.query.WTPanel
wt.clients.beans.query.WTMultiChooser
WTMultiChooser
is similar to WTChooser
, except that
it allows querying against one of multiple classes in a drop-down list.
Supported API: false
Extendable: false
ChooserOptions
,
WTChooser
,
Serialized FormNested Class Summary | |
(package private) class |
WTMultiChooser.QueryListener
|
(package private) class |
WTMultiChooser.SymItem
|
Nested classes inherited from class symantec.itools.awt.BorderPanel |
|
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) Choice |
classChoice
|
private String[] |
classLabels
|
private String |
classList
|
private SchemeDB |
db
|
private JDialog |
myDialog
|
private static String |
OPTIONS_RESOURCE
|
(package private) Label |
searchOnLabel
|
private static String |
versionID
|
(package private) WTQuery |
wTQuery1
|
Fields inherited from class wt.clients.beans.query.WTPanel |
BOTH, CENTER, EAST, EQUATOR, FLAT, HORIZONTAL, LEFT, LINE, LOWER, NONE, NORTH, RAISE, RIGHT, SOUTH, VERTICAL, WEST |
Fields inherited from class symantec.itools.awt.BorderPanel |
bevelDarkerColor, bevelLighterColor, borderColor, cachedBackground, errors, internalInsets, ixPad, iyPadBottom, iyPadTop, label, labelAlignment, labelColor, labelipadx, labelpadx, padbottom, padleft, padright, padtop, panel, style |
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 symantec.itools.awt.AlignStyle |
ALIGN_CENTERED, ALIGN_LEFT, ALIGN_RIGHT |
Fields inherited from interface symantec.itools.awt.BevelStyle |
BEVEL_LINE, BEVEL_LOWERED, BEVEL_NONE, BEVEL_RAISED |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
WTMultiChooser()
Default no-arg constructor. |
|
WTMultiChooser(String a_class_list,
String a_title)
Constructor specifying fully qualified class names and title. |
|
WTMultiChooser(String a_class_list,
String a_title,
Component a_parent)
Constructor specifying fully qualified class names, title and parent component. |
|
WTMultiChooser(String a_class_list,
String a_title,
Component a_parent,
String a_search_filter)
Constructor specifying fully qualified class names, title, parent component and search filter. |
|
WTMultiChooser(String a_class_list,
String a_title,
Component a_parent,
String a_search_filter,
boolean show_iba)
Constructor specifying fully qualified class names, title, parent component and search filter. |
|
WTMultiChooser(String a_class_list,
String a_title,
String a_search_filter)
Constructor specifying fully qualified class names, title and search filter. |
Method Summary | |
void |
addListener(WTQueryListener a_listener)
Method addListener adds the given listener to be notified
of WTQueryEvents . |
(package private) void |
classChoice_ItemStateChanged(ItemEvent event)
|
private String |
display(String key,
Object[] params)
Returns the localized string to be displayed to the user given a key. |
protected void |
localize()
Sets the localized text of display fields. |
void |
removeListener(WTQueryListener a_listener)
Method removeHelpListener removes a listener which was being
notified of PropertyChangeEvents in the help system. |
void |
setClassList(String a_class_list)
Set the class names to be used. |
void |
setIbaTabVisible(boolean mode)
If this isn't used to set the IBA tab to not visible then the tab is visible on WTParts. |
void |
setMultipleMode(boolean mode)
|
void |
setSize(int width,
int height)
|
private void |
setup(String a_title,
Component a_parent,
String a_search_filter,
boolean show_iba)
|
void |
setVisible(boolean a_value)
This will either show or hide the WTMultiChooser panel. |
Methods inherited from class wt.clients.beans.query.WTPanel |
add, add, add, add, getPad, PAD, setPad |
Methods inherited from class symantec.itools.awt.BorderPanel |
addBevelStyleListener, addBevelStyleListener, addContainerListener, addImpl, addNotify, addPropertyChangeListener, addVetoableChangeListener, calculateHilightColors, componentAdded, componentRemoved, countComponents, draw, drawBorder, drawLabel, getAlignStyle, getBevelStyle, getBorderColor, getComponent, getComponentCount, getComponents, getInternalInsets, getIPadBottom, getIPadSides, getIPadTop, getLabel, getLabelColor, getLabelTopMargin, getLabelWidthMargin, getLayout, getMinimumSize, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPreferredSize, insets, isValidBevelStyle, layout, minimumSize, paint, preferredSize, remove, remove, removeAll, removeBevelStyleListener, removeBevelStyleListener, removeContainerListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, reshape, setAlignStyle, setBackground, setBevelStyle, setBorderColor, setBorderColor, setBounds, setInternalInsets, setIPadBottom, setIPadSides, setIPadTop, setLabel, setLabelColor, setLayout, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, sizepanel, update |
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 |
private static final String versionID
private String classList
private String[] classLabels
private SchemeDB db
private JDialog myDialog
Label searchOnLabel
Choice classChoice
WTQuery wTQuery1
private static String OPTIONS_RESOURCE
Constructor Detail |
public WTMultiChooser()
setClassList
method with fully qualified class names that have
associated definitions in the ChooserOptions
object.
public WTMultiChooser(String a_class_list, String a_title)
a_class_list
- A list of fully qualified class names.
There must be associated definitions for these class names
in the ChooserOptions
object.a_title
- The title displayed above the tab panel.public WTMultiChooser(String a_class_list, String a_title, String a_search_filter)
a_class_list
- A list of fully qualified class names.
There must be associated definitions for these class names
in the ChooserOptions
object.a_title
- The title displayed above the tab panel.a_search_filter
- A search filter type to pass to the method server
when processing the query command. See wt.query.SearchTask
for search filter string constants.SearchTask
public WTMultiChooser(String a_class_list, String a_title, Component a_parent)
WTMultiChooser
. The parent component
must either be a java.awt.frame
or have one in it's hierarchy for the
dialog to associate itself with.
a_class_list
- A list of fully qualified class names.
There must be associated definitions for these class names
in the ChooserOptions
object.a_title
- The title displayed above the tab panel.a_parent
- The parent for the dialog window.public WTMultiChooser(String a_class_list, String a_title, Component a_parent, String a_search_filter)
WTMultiChooser
. The parent component
must either be a java.awt.frame
or have one in it's hierarchy for the
dialog to associate itself with.
a_class_list
- A list of fully qualified class names.
There must be associated definitions for these class names
in the ChooserOptions
object.a_title
- The title displayed above the tab panel.a_parent
- The parent for the dialog window.a_search_filter
- A search filter type to pass to the method server
when processing the query command. See wt.query.SearchTask
for search filter string constants.SearchTask
public WTMultiChooser(String a_class_list, String a_title, Component a_parent, String a_search_filter, boolean show_iba)
WTMultiChooser
. The parent component
must either be a java.awt.frame
or have one in it's hierarchy for the
dialog to associate itself with.
a_class_list
- A list of fully qualified class names.
There must be associated definitions for these class names
in the ChooserOptions
object.a_title
- The title displayed above the tab panel.a_parent
- The parent for the dialog window.a_search_filter
- A search filter type to pass to the method server
when processing the query command. See wt.query.SearchTask
for search filter string constants.SearchTask
Method Detail |
private void setup(String a_title, Component a_parent, String a_search_filter, boolean show_iba)
public void setVisible(boolean a_value)
WTMultiChooser
panel.
a_value
- Set to true to show or false to hide.public void setClassList(String a_class_list)
ChoserOptions
class.
This method is required if the no-arg constructor is used.
a_class_list
- A space-separated list of fully qualified class
names. There must be an associated definition
for these class names in the ChooserOptions
object.ChooserOptions
protected void localize()
void classChoice_ItemStateChanged(ItemEvent event)
public void addListener(WTQueryListener a_listener)
addListener
adds the given listener to be notified
of WTQueryEvents
. A WTQueryEvent
is
fired when a button is clicked, a status message is ready or
the selection has been changed in the results viewing area.
a_listener
- The WTQueryListener
to be notified of
WTQueryEvents
.removeListener(wt.clients.beans.query.WTQueryListener)
,
WTQueryListener
,
WTQueryEvent
public void removeListener(WTQueryListener a_listener)
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.
a_listener
- the WTQueryistener
to be removed as a
listener of events generated by the help system of this panel.addListener(wt.clients.beans.query.WTQueryListener)
,
WTQueryListener
private String display(String key, Object[] params)
key
- The string that represents the key in the
BeansQueryRB
.
public void setMultipleMode(boolean mode) throws PropertyVetoException
PropertyVetoException
public void setIbaTabVisible(boolean mode)
public void setSize(int width, int height)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |