Package | Description |
---|---|
org.eclipse.nebula.widgets.opal.duallist |
Modifier and Type | Method and Description |
---|---|
DLItem |
DualList.getItem(int index)
Returns the item at the given, zero-relative index in the receiver.
|
DLItem[] |
DualList.getItems()
Returns a (possibly empty) array of
DLItem s which are the items
in the receiver. |
DLItem[] |
DualList.getSelection()
Returns an array of
DLItem s that are currently selected in the
receiver. |
Modifier and Type | Method and Description |
---|---|
java.util.List<DLItem> |
SelectionChangeEvent.getItems() |
java.util.List<DLItem> |
DualList.getItemsAsList()
Returns a (possibly empty) list of
DLItem s which are the items
in the receiver. |
java.util.List<DLItem> |
DualList.getSelectionAsList()
Returns a list of
DLItem s that are currently selected in the
receiver. |
Modifier and Type | Method and Description |
---|---|
void |
DualList.add(DLItem item)
Adds the argument to the end of the receiver's list.
|
void |
DualList.add(DLItem item,
int index)
Adds the argument to the receiver's list at the given zero-relative index.
|
void |
DualList.remove(DLItem item)
Searches the receiver's list starting at the first item until an item is
found that is equal to the argument, and removes that item from the list.
|
void |
DualList.setItem(int index,
DLItem item)
Sets the item in the receiver's list at the given zero-relative index to the
item argument.
|
void |
DualList.setItems(DLItem[] items)
Sets the receiver's items to be the given array of items.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectionChangeEvent.setItems(java.util.List<DLItem> items) |
void |
DualList.setItems(java.util.List<DLItem> items)
Sets the receiver's items to be the given list of items.
|