|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCellEditor
com.ibm.etools.systems.core.ui.view.SystemComboBoxCellEditor
A slight variation of the Eclipse-supplied ComboBoxCellEditor class, which allows the input array to be changed dynamically.
A cell editor that presents a list of items in a combo box. The cell editor's value is the zero-based index of the selected item.
This class may be instantiated; it is not intended to be subclassed.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SystemComboBoxCellEditor(Composite parent)
Creates a new cell editor with a combo containing the given list of choices and parented under the given control. |
|
SystemComboBoxCellEditor(Composite parent,
String[] items)
Creates a new cell editor with a combo containing the given list of choices and parented under the given control. |
Method Summary | |
---|---|
protected Control |
createControl(Composite parent)
|
protected Object |
doGetValue()
The ComboBoxCellEditor implementation of
this CellEditor framework method returns
the zero-based index of the current selection. |
protected void |
doSetFocus()
|
protected void |
doSetValue(Object value)
The ComboBoxCellEditor implementation of
this CellEditor framework method
accepts a zero-based index of a selection. |
void |
setItems(String[] items)
Change the input items |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public SystemComboBoxCellEditor(Composite parent, String[] items)
parent
- the parent controlitems
- the list of strings for the combo boxpublic SystemComboBoxCellEditor(Composite parent)
parent
- the parent control
//@param whether or not this is readonlyMethod Detail |
public void setItems(String[] items)
protected Control createControl(Composite parent)
protected Object doGetValue()
ComboBoxCellEditor
implementation of
this CellEditor
framework method returns
the zero-based index of the current selection.
Integer
protected void doSetFocus()
protected void doSetValue(Object value)
ComboBoxCellEditor
implementation of
this CellEditor
framework method
accepts a zero-based index of a selection.
value
- the zero-based index of the selection wrapped
as an Integer
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |