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, validateaddParentListener, getDragSource, getDropTarget, getLayoutConstraints, getMaxSize, getMinSize, getParent, getPreferredSize, getRoot, removeParentListener, setLayoutConstraints, setMaxSize, setMinSize, setParent, setPreferredSize, setToolTipTextaddComponentListener, 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, toScreenaddDisposeListener, dispose, getUiReference, isDisposed, isEnabled, removeDisposeListener, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDragSource, getDropTarget, getParent, getRoot, setMaxSize, setMinSize, setParent, setPreferredSizegetLayoutConstraints, getMaxSize, getMinSize, getPreferredSize, setLayoutConstraints, setToolTipTextaddParentListener, removeParentListeneraddValidator, hasModifications, isEditable, resetModificationStatecreatePopupMenu, fromComponent, getBounds, hasFocus, isReparentable, isShowing, setBounds, setPopupMenu, setPosition, setSize, toComponent, toLocal, toScreendispose, isDisposedaddDisposeListener, removeDisposeListeneraddShowingStateListener, removeShowingStateListenergetValue, setValueaddValidationConditionListener, removeValidationConditionListener, validatesetEditablegetBackgroundColor, getForegroundColor, getPosition, getSize, isVisible, redraw, requestFocus, setBackgroundColor, setCursor, setForegroundColor, setPosition, setRedrawEnabled, setSize, setVisiblegetUiReference, isEnabled, setEnabledaddComponentListener, removeComponentListeneraddFocusListener, removeFocusListeneraddKeyListener, removeKeyListeneraddMouseListener, removeMouseListeneraddMouseMotionListener, removeMouseMotionListeneraddPopupDetectionListener, removePopupDetectionListeneraddInputListener, removeInputListenerpublic ComboBoxWrapper(IComboBox<VALUE_TYPE> widget)
protected IComboBox<VALUE_TYPE> getWidget()
getWidget in class InputControlWrapper<VALUE_TYPE>public IObservableValue<VALUE_TYPE> getObservableValue()
IObservableValueViewergetObservableValue 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 ISelectablepublic void setPopupVisible(boolean visible)
setPopupVisible in interface IComboBox<VALUE_TYPE>public boolean isPopupVisible()
isPopupVisible in interface IComboBox<VALUE_TYPE>Siehe auch Jowidgets Nutzerhandbuch