IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.desktop
Class MessageArea

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JComboBox
                  extended bycom.ibm.dse.desktop.MessageArea
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.ItemSelectable, javax.swing.event.ListDataListener, java.awt.MenuContainer, java.io.Serializable

public class MessageArea
extends javax.swing.JComboBox

This class provides a combo box that shows the messages sent from the desktop.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JComboBox
javax.swing.JComboBox.AccessibleJComboBox, javax.swing.JComboBox.KeySelectionManager
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class javax.swing.JComboBox
actionCommand, dataModel, editor, isEditable, keySelectionManager, lightWeightPopupEnabled, maximumRowCount, renderer, selectedItemReminder
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_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
MessageArea()
          This constructor creates a MessageArea object.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Handles events for the ActionListener interface.
 void addItem(java.lang.Object obj)
          Inserts the new message into the combo box.
 java.lang.Boolean getFocusTraversable()
          Returns an indication of whether the Message Area is traversable.
 java.lang.String getHotKey()
          Returns the value of the hotKey property.
 int getInformationLevel()
          Returns the value of the informationLevel property.
 int getIntNumberOfItems()
          Returns the value of the intNumberOfItems property.
 java.lang.Boolean getRequestFocusEnabled()
          Returns the value of the requestFocusEnabled property.
 boolean getShowMessageArea()
          Returns the value of the show property.
 boolean isFocusTraversable()
          Returns the focusTraversable property.
 void reset()
          Resets the data of the message area.
 void setComponentOrientation(java.awt.ComponentOrientation o)
          Changes the orientation of the components inside the MessageArea.
 void setFocusTraversable(java.lang.Object o)
           
 void setHeight(java.lang.Object o)
          Sets the MessageArea height.
 void setHotKey(java.lang.Object o)
          Sets the hotkey (keyboard shortcut) of the MessageArea.
 void setId(java.lang.Object o)
          Sets the ID (name) for this MessageArea.
 void setInformationLevel(java.lang.Object o)
          Sets the value of the informationLevel property.
 void setIntNumberOfItems(java.lang.Object o)
          Sets the value of the intNumberOfItems property.
 void setName(java.lang.Object o)
          Sets the value of the name property.
 void setNitems(java.lang.Object newValue)
          Sets the value of the intNumberOfItems property.
 void setOnInitialize(java.lang.Object o)
          Sets the specified Java script code that is executed when the component is initialized.
 void setShowMessageArea(java.lang.Object o)
          Sets the value of the show property.
 void setText(java.lang.Object o)
          Adds the new message to the MessageArea.
 void setWidth(java.lang.Object o)
          Sets the value of the width property.
 void setX(java.lang.Object o)
          Sets the X coordinate for the location of the MessageArea.
 void setY(java.lang.Object o)
          Sets the Y coordinate for the location of the MessageArea.
 
Methods inherited from class javax.swing.JComboBox
addActionListener, addItemListener, addPopupMenuListener, configureEditor, configurePropertiesFromAction, contentsChanged, createActionPropertyChangeListener, createDefaultKeySelectionManager, fireActionEvent, fireItemStateChanged, firePopupMenuCanceled, firePopupMenuWillBecomeInvisible, firePopupMenuWillBecomeVisible, getAccessibleContext, getAction, getActionCommand, getActionListeners, getEditor, getItemAt, getItemCount, getItemListeners, getKeySelectionManager, getMaximumRowCount, getModel, getPopupMenuListeners, getPrototypeDisplayValue, getRenderer, getSelectedIndex, getSelectedItem, getSelectedObjects, getUI, getUIClassID, hidePopup, insertItemAt, installAncestorListener, intervalAdded, intervalRemoved, isEditable, isLightWeightPopupEnabled, isPopupVisible, paramString, processKeyEvent, removeActionListener, removeAllItems, removeItem, removeItemAt, removeItemListener, removePopupMenuListener, selectedItemChanged, selectWithKeyChar, setAction, setActionCommand, setEditable, setEditor, setEnabled, setKeySelectionManager, setLightWeightPopupEnabled, setMaximumRowCount, setModel, setPopupVisible, setPrototypeDisplayValue, setRenderer, setSelectedIndex, setSelectedItem, setUI, showPopup, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageArea

public MessageArea()
This constructor creates a MessageArea object.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Handles events for the ActionListener interface.

Parameters:
e - java.awt.event.ActionEvent

addItem

public void addItem(java.lang.Object obj)
Inserts the new message into the combo box.

Parameters:
obj - java.lang.Object

getFocusTraversable

public java.lang.Boolean getFocusTraversable()
Returns an indication of whether the Message Area is traversable.

Returns:
java.lang.Boolean

getHotKey

public java.lang.String getHotKey()
Returns the value of the hotKey property.

Returns:
java.lang.String - the current value of hotKey

getInformationLevel

public int getInformationLevel()
Returns the value of the informationLevel property.

Returns:
int - the current value of informationLevel

getIntNumberOfItems

public int getIntNumberOfItems()
Returns the value of the intNumberOfItems property.

Returns:
int - the current value of intNumberOfItems

getRequestFocusEnabled

public java.lang.Boolean getRequestFocusEnabled()
Returns the value of the requestFocusEnabled property.

Returns:
java.lang.Boolean - the current value of requestFocusEnabled

getShowMessageArea

public boolean getShowMessageArea()
Returns the value of the show property.

Returns:
booleaan - the current value of show

isFocusTraversable

public boolean isFocusTraversable()
Returns the focusTraversable property.

Returns:
boolean

reset

public void reset()
Resets the data of the message area.


setComponentOrientation

public void setComponentOrientation(java.awt.ComponentOrientation o)
Changes the orientation of the components inside the MessageArea.

Parameters:
o - ComponentOrientation

setFocusTraversable

public void setFocusTraversable(java.lang.Object o)

setHeight

public void setHeight(java.lang.Object o)
Sets the MessageArea height.

Parameters:
o - java.lang.Object

setHotKey

public void setHotKey(java.lang.Object o)
Sets the hotkey (keyboard shortcut) of the MessageArea.

Parameters:
o - java.lang.Object

setId

public void setId(java.lang.Object o)
Sets the ID (name) for this MessageArea.

Parameters:
o - java.lang.Object

setInformationLevel

public void setInformationLevel(java.lang.Object o)
Sets the value of the informationLevel property.

Parameters:
o - java.lang.Object - the new value of the property

setIntNumberOfItems

public void setIntNumberOfItems(java.lang.Object o)
Sets the value of the intNumberOfItems property.

Parameters:
o - java.lang.Object - the new value of the property

setName

public void setName(java.lang.Object o)
Sets the value of the name property.

Parameters:
o - java.lang.Object - the new value of the property

setNitems

public void setNitems(java.lang.Object newValue)
Sets the value of the intNumberOfItems property.


setOnInitialize

public void setOnInitialize(java.lang.Object o)
Sets the specified Java script code that is executed when the component is initialized.

Parameters:
o - java.lang.Object

setShowMessageArea

public void setShowMessageArea(java.lang.Object o)
Sets the value of the show property.

Parameters:
o - java.lang.Object - the new value of the property

setText

public void setText(java.lang.Object o)
Adds the new message to the MessageArea.

Parameters:
o - java.lang.Object - the new value of the property

setWidth

public void setWidth(java.lang.Object o)
Sets the value of the width property.

Parameters:
o - java.lang.Object - the new value of the property

setX

public void setX(java.lang.Object o)
Sets the X coordinate for the location of the MessageArea.

Parameters:
o - java.lang.Object

setY

public void setY(java.lang.Object o)
Sets the Y coordinate for the location of the MessageArea.

Parameters:
o - java.lang.Object

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005