wt.clients.beans
Class OrgChooser

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

public class OrgChooser
extends Container



Supported API: true

See Also:
Serialized Form

Nested Class Summary
(package private)  class OrgChooser.SymAction
           
 
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  ThreadGroup contextGroup
           
private static String ORG_STACK_NAME
           
private  WTOrganization organization
           
(package private)  Choice orgChoice
           
private  Frame parentFrame
           
private  HashMap recentOrgMap
           
private static String RESOURCE_BUNDLE
           
private static ReferenceFactory RF
           
private static RecentlyVisitedService RVS
           
(package private)  Button searchButton
           
 
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
OrgChooser()
          This is the no arg constructor that creates the OrgChooser.
 
Method Summary
 void addItemListener(ItemListener itemListener)
          Add a listener to the contained java.awt.Choice object to recieve item events when the state of an item changes.
private  void addRecentlyVisitedOrganization(WTOrganization org)
           
 WTOrganization getOrganization()
           
private  Frame getParentFrame()
          Returns the parent Frame to this Panel.
private  void initRecentItems()
           
private  void localize()
           
 void removeItemListener(ItemListener itemListener)
          Removes an item listener from the contained java.awt.Choice object.
(package private)  void searchButton_ActionPerformed(ActionEvent event)
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addNotify, 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, getAccessibleContext, 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, 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

RESOURCE_BUNDLE

private static final String RESOURCE_BUNDLE
See Also:
Constant Field Values

ORG_STACK_NAME

private static final String ORG_STACK_NAME

RF

private static final ReferenceFactory RF

RVS

private static final RecentlyVisitedService RVS

organization

private WTOrganization organization

parentFrame

private Frame parentFrame

contextGroup

private ThreadGroup contextGroup

recentOrgMap

private HashMap recentOrgMap

orgChoice

Choice orgChoice

searchButton

Button searchButton
Constructor Detail

OrgChooser

public OrgChooser()
This is the no arg constructor that creates the OrgChooser.

Supported API: false.

Method Detail

setEnabled

public void setEnabled(boolean enabled)

initRecentItems

private void initRecentItems()

addRecentlyVisitedOrganization

private void addRecentlyVisitedOrganization(WTOrganization org)

getOrganization

public WTOrganization getOrganization()

localize

private void localize()

getParentFrame

private Frame getParentFrame()
Returns the parent Frame to this Panel.


searchButton_ActionPerformed

void searchButton_ActionPerformed(ActionEvent event)

addItemListener

public void addItemListener(ItemListener itemListener)
Add a listener to the contained java.awt.Choice object to recieve item events when the state of an item changes. If itemListener is null, no exception is thrown and no action is performed.

Parameters:
itemListener - the item listener

removeItemListener

public void removeItemListener(ItemListener itemListener)
Removes an item listener from the contained java.awt.Choice object. If itemListener is null, no exception is thrown and no action is performed.

Parameters:
itemListener - the item listener