com.ibm.dse.desktop
Class LanguageBox

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

public class LanguageBox
extends javax.swing.JComboBox
implements java.awt.event.ActionListener

This type creates a comboBox with all the possible languages to translate 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
LanguageBox()
          This method creates a LanguageBox constructor object.
LanguageBox(javax.swing.ComboBoxModel aModel)
          This method creates a LanguageBox constructor object.
LanguageBox(java.lang.Object[] items)
          This method creates a LanguageBox constructor object.
LanguageBox(java.util.Vector items)
          This method creates a LanguageBox constructor object.
 
Method Summary
 int getHeight()
          This method returns the height of the LanguageBox
 java.lang.String getLanguages()
          This method returns all the possible languages to be translated the Desktop
 int getWidth()
          This method returns the width of the LanguageBox
 int getX()
          This method returns the x position of the LanguageBox
 int getY()
          This method returns Y position of the LanguageBox.
 void setComponentOrientation(java.awt.ComponentOrientation o)
          This method changes the orientation of the components inside the LanguageBox
 void setHeight(java.lang.Object o)
          This method sets the height of the LanguageBox
 void setLanguages(java.lang.Object o)
          This method sets the languages to translate the Desktop
 void setName(java.lang.Object o)
          This method set the Name of the LanguageBox component
 void setWidth(java.lang.Object o)
          This method sets the width of the LanguageBox
 void setX(java.lang.Object o)
          This method sets the x position of the LanguageBox
 void setY(java.lang.Object o)
          This method sets the Y position of the LanguageBox.
 
Methods inherited from class javax.swing.JComboBox
actionPerformed, addActionListener, addItem, 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, isFocusTraversable, 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, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, 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

LanguageBox

public LanguageBox()
This method creates a LanguageBox constructor object.

LanguageBox

public LanguageBox(java.lang.Object[] items)
This method creates a LanguageBox constructor object.
Parameters:
items - java.lang.Object[]

LanguageBox

public LanguageBox(java.util.Vector items)
This method creates a LanguageBox constructor object.
Parameters:
items - java.util.Vector

LanguageBox

public LanguageBox(javax.swing.ComboBoxModel aModel)
This method creates a LanguageBox constructor object.
Parameters:
aModel - com.sun.java.swing.ComboBoxModel
Method Detail

getHeight

public int getHeight()
This method returns the height of the LanguageBox
Overrides:
getHeight in class javax.swing.JComponent
Returns:
int height.

getLanguages

public java.lang.String getLanguages()
This method returns all the possible languages to be translated the Desktop
Returns:
String languages

getWidth

public int getWidth()
This method returns the width of the LanguageBox
Overrides:
getWidth in class javax.swing.JComponent
Returns:
int width;

getX

public int getX()
This method returns the x position of the LanguageBox
Overrides:
getX in class javax.swing.JComponent
Returns:
x int;

getY

public int getY()
This method returns Y position of the LanguageBox.
Overrides:
getY in class javax.swing.JComponent

setComponentOrientation

public void setComponentOrientation(java.awt.ComponentOrientation o)
This method changes the orientation of the components inside the LanguageBox
Overrides:
setComponentOrientation in class java.awt.Component
Parameters:
o - ComponentOrientation

setHeight

public void setHeight(java.lang.Object o)
This method sets the height of the LanguageBox

setLanguages

public void setLanguages(java.lang.Object o)
This method sets the languages to translate the Desktop

setName

public void setName(java.lang.Object o)
This method set the Name of the LanguageBox component
Parameters:
Object - o;

setWidth

public void setWidth(java.lang.Object o)
This method sets the width of the LanguageBox

setX

public void setX(java.lang.Object o)
This method sets the x position of the LanguageBox

setY

public void setY(java.lang.Object o)
This method sets the Y position of the LanguageBox.