com.ibm.dse.desktop
Class MessageArea

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JComboBox
                          |
                          +--com.ibm.dse.desktop.MessageArea

public class MessageArea
extends javax.swing.JComboBox

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

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JComboBox
javax.swing.JComboBox.AccessibleJComboBox, javax.swing.JComboBox.KeySelectionManager
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
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.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
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)
          This method inserts the new message in the combo box
 java.lang.Boolean getFocusTraversable()
          This method returns if the Message Area has or not focus transversable.
 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 focus traversable property.
 void reset()
          This method resets the data of the message area
 void setComponentOrientation(java.awt.ComponentOrientation o)
          This method 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, configureEditor, contentsChanged, createDefaultKeySelectionManager, fireActionEvent, fireItemStateChanged, getAccessibleContext, getActionCommand, getEditor, getItemAt, getItemCount, getKeySelectionManager, getMaximumRowCount, getModel, getRenderer, getSelectedIndex, getSelectedItem, getSelectedObjects, getUI, getUIClassID, hidePopup, insertItemAt, installAncestorListener, intervalAdded, intervalRemoved, isEditable, isLightWeightPopupEnabled, isPopupVisible, paramString, processKeyEvent, removeActionListener, removeAllItems, removeItem, removeItemAt, removeItemListener, selectedItemChanged, selectWithKeyChar, setActionCommand, setEditable, setEditor, setEnabled, setKeySelectionManager, setLightWeightPopupEnabled, setMaximumRowCount, setModel, setPopupVisible, setRenderer, setSelectedIndex, setSelectedItem, setUI, showPopup, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, processComponentKeyEvent, processFocusEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setCursor, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
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.
Overrides:
actionPerformed in class javax.swing.JComboBox
Parameters:
e - java.awt.event.ActionEvent

addItem

public void addItem(java.lang.Object obj)
This method inserts the new message in the combo box
Overrides:
addItem in class javax.swing.JComboBox
Parameters:
obj - java.lang.Object

getFocusTraversable

public java.lang.Boolean getFocusTraversable()
This method returns if the Message Area has or not focus transversable.
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 focus traversable property.
Overrides:
isFocusTraversable in class javax.swing.JComboBox
Returns:
boolean

reset

public void reset()
This method resets the data of the message area

setComponentOrientation

public void setComponentOrientation(java.awt.ComponentOrientation o)
This method changes the orientation of the components inside the MessageArea
Overrides:
setComponentOrientation in class java.awt.Component
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.
Parameters:
o - java.lang.Object. The new value of the 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