org.sadun.swt.widgets
Class LabelledCombo

java.lang.Object
  extended byorg.eclipse.swt.widgets.Widget
      extended byorg.eclipse.swt.widgets.Control
          extended byorg.eclipse.swt.widgets.Scrollable
              extended byorg.eclipse.swt.widgets.Composite
                  extended byorg.sadun.swt.widgets.LabelledCombo
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class LabelledCombo
extends org.eclipse.swt.widgets.Composite

A text with a label attached

Author:
Cristiano Sadun

Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
LabelledCombo(org.eclipse.swt.widgets.Composite parent, java.lang.String labelText, java.util.Collection items)
           
LabelledCombo(org.eclipse.swt.widgets.Composite parent, java.lang.String labelText, int style)
           
 
Method Summary
 org.eclipse.swt.widgets.Combo getComboWidget()
           
 java.lang.String[] getItems()
           
 java.lang.String getLabelText()
           
 void setItems(java.lang.String[] items)
           
 void setLabelText(java.lang.String text)
           
 
Methods inherited from class org.eclipse.swt.widgets.Composite
checkSubclass, computeSize, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelledCombo

public LabelledCombo(org.eclipse.swt.widgets.Composite parent,
                     java.lang.String labelText,
                     java.util.Collection items)

LabelledCombo

public LabelledCombo(org.eclipse.swt.widgets.Composite parent,
                     java.lang.String labelText,
                     int style)
Parameters:
parent -
style -
Method Detail

getComboWidget

public org.eclipse.swt.widgets.Combo getComboWidget()

getLabelText

public java.lang.String getLabelText()

setLabelText

public void setLabelText(java.lang.String text)

getItems

public java.lang.String[] getItems()
Returns:

setItems

public void setItems(java.lang.String[] items)
Parameters:
items -