wt.clients.beans
Class FindObjectsPanel

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bywt.clients.beans.FindObjectsPanel
All Implemented Interfaces:
Accessible, ImageObserver, MenuContainer, Serializable

public class FindObjectsPanel
extends Panel

This class is used to find different types of objects. It allows the user to select the object type and the WTQuery is dynamically updated with the new schema.

Supported API: false.

Extendable: false.

See Also:
Serialized Form

Nested Class Summary
(package private)  class FindObjectsPanel.SymItem
           
 
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
private static String BEANS_RESOURCE
           
private  String chooserOptions
           
(package private)  Choice classChoice
           
private  String[] classLabels
           
private  SchemeDB db
           
private static String RESOURCE
           
(package private)  Label searchOnLabel
           
(package private)  WTQuery wTQuery1
           
 
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
FindObjectsPanel()
          This class is used to find different types of objects.
FindObjectsPanel(boolean show_iba)
          This class is used to find different types of objects.
FindObjectsPanel(String options, boolean show_iba)
          This constructs the panel and sets the list of the classnames for the drop down that the user can select from

Supported API: false.
 
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.
 String getChooserOptions()
          This returns the list of the classnames for the drop down that the user can select from

Supported API: false.
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 setChooserOptions(String options)
          This sets the list of the classnames for the drop down that the user can select from

Supported API: false.
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

db

private SchemeDB db

chooserOptions

private String chooserOptions

classLabels

private String[] classLabels

RESOURCE

private static String RESOURCE

BEANS_RESOURCE

private static String BEANS_RESOURCE

searchOnLabel

Label searchOnLabel

classChoice

Choice classChoice

wTQuery1

WTQuery wTQuery1
Constructor Detail

FindObjectsPanel

public FindObjectsPanel()
This class is used to find different types of objects. It allows the user to select the object type and the WTQuery is dynamically updated with the new schema.

Supported API: false.


FindObjectsPanel

public FindObjectsPanel(boolean show_iba)
This class is used to find different types of objects. It allows the user to select the object type and the WTQuery is dynamically updated with the new schema.

Supported API: false.


FindObjectsPanel

public FindObjectsPanel(String options,
                        boolean show_iba)
This constructs the panel and sets the list of the classnames for the drop down that the user can select from

Supported API: false.

Method Detail

setChooserOptions

public void setChooserOptions(String options)
This sets the list of the classnames for the drop down that the user can select from

Supported API: false.


getChooserOptions

public String getChooserOptions()
This returns the list of the classnames for the drop down that the user can select from

Supported API: false.


localize

protected void localize()
Sets the localized text of display fields.

Supported API: false.


classChoice_ItemStateChanged

void classChoice_ItemStateChanged(ItemEvent event)

addListener

public void addListener(WTQueryListener a_listener)
Method 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.

Supported API: false.

Parameters:
a_listener - The WTQueryListener to be notified of WTQueryEvents.
See Also:
removeListener(wt.clients.beans.query.WTQueryListener), WTQueryListener, WTQueryEvent

removeListener

public void removeListener(WTQueryListener a_listener)
Method 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.

Supported API: false.

Parameters:
a_listener - the WTQueryistener to be removed as a listener of events generated by the help system of this panel.
See Also:
addListener(wt.clients.beans.query.WTQueryListener), WTQueryListener

display

private String display(String key,
                       Object[] params)
Returns the localized string to be displayed to the user given a key.

Parameters:
key - The string that represents the key in the BeansQueryRB.
Returns:
A string to be displayed to the user.