public class ComboBoxWrapper<VALUE_TYPE> extends InputControlWrapper<VALUE_TYPE> implements IComboBox<VALUE_TYPE>
Constructor and Description |
---|
ComboBoxWrapper(IComboBox<VALUE_TYPE> widget) |
Modifier and Type | Method and Description |
---|---|
java.util.List<VALUE_TYPE> |
getElements() |
IObservableValue<VALUE_TYPE> |
getObservableValue()
Gets the observable value
|
int |
getSelectedIndex() |
protected IComboBox<VALUE_TYPE> |
getWidget() |
boolean |
isPopupVisible() |
void |
select() |
void |
setElements(java.util.Collection<? extends VALUE_TYPE> elements) |
void |
setElements(VALUE_TYPE... elements) |
void |
setPopupVisible(boolean visible) |
void |
setSelectedIndex(int index) |
addInputListener, addValidationConditionListener, addValidator, getValue, hasModifications, isEditable, removeInputListener, removeValidationConditionListener, resetModificationState, setEditable, setValue, validate
addParentListener, getDragSource, getDropTarget, getLayoutConstraints, getMaxSize, getMinSize, getParent, getPreferredSize, getRoot, removeParentListener, setLayoutConstraints, setMaxSize, setMinSize, setParent, setPreferredSize, setToolTipText
addComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, addPopupDetectionListener, addShowingStateListener, createPopupMenu, fromComponent, getBackgroundColor, getBounds, getForegroundColor, getPosition, getSize, hasFocus, isReparentable, isShowing, isVisible, redraw, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePopupDetectionListener, removeShowingStateListener, requestFocus, setBackgroundColor, setBounds, setCursor, setForegroundColor, setPopupMenu, setPosition, setPosition, setRedrawEnabled, setSize, setSize, setVisible, toComponent, toLocal, toScreen
addDisposeListener, dispose, getUiReference, isDisposed, isEnabled, removeDisposeListener, setEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDragSource, getDropTarget, getParent, getRoot, setMaxSize, setMinSize, setParent, setPreferredSize
getLayoutConstraints, getMaxSize, getMinSize, getPreferredSize, setLayoutConstraints, setToolTipText
addParentListener, removeParentListener
addValidator, hasModifications, isEditable, resetModificationState
createPopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreen
dispose, isDisposed
addDisposeListener, removeDisposeListener
addShowingStateListener, removeShowingStateListener
getValue, setValue
addValidationConditionListener, removeValidationConditionListener, validate
setEditable
getBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisible
getUiReference, isEnabled, setEnabled
addComponentListener, removeComponentListener
addFocusListener, removeFocusListener
addKeyListener, removeKeyListener
addMouseListener, removeMouseListener
addMouseMotionListener, removeMouseMotionListener
addPopupDetectionListener, removePopupDetectionListener
addInputListener, removeInputListener
public ComboBoxWrapper(IComboBox<VALUE_TYPE> widget)
protected IComboBox<VALUE_TYPE> getWidget()
getWidget
in class InputControlWrapper<VALUE_TYPE>
public IObservableValue<VALUE_TYPE> getObservableValue()
IObservableValueViewer
getObservableValue
in interface IObservableValueViewer<VALUE_TYPE>
public java.util.List<VALUE_TYPE> getElements()
getElements
in interface IComboBox<VALUE_TYPE>
public void setElements(java.util.Collection<? extends VALUE_TYPE> elements)
setElements
in interface IComboBox<VALUE_TYPE>
public void setElements(VALUE_TYPE... elements)
setElements
in interface IComboBox<VALUE_TYPE>
public int getSelectedIndex()
getSelectedIndex
in interface IComboBox<VALUE_TYPE>
public void setSelectedIndex(int index)
setSelectedIndex
in interface IComboBox<VALUE_TYPE>
public void select()
select
in interface ISelectable
public void setPopupVisible(boolean visible)
setPopupVisible
in interface IComboBox<VALUE_TYPE>
public boolean isPopupVisible()
isPopupVisible
in interface IComboBox<VALUE_TYPE>
Siehe auch Jowidgets Nutzerhandbuch