|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.iseries.edit.utils.SortedListbox
public class SortedListbox
A listbox that always shows a sorted list.
| Nested Class Summary | |
|---|---|
protected class |
SortedListbox.SortComparator
Comparator for sorting the elements to build a sorted list. |
| Field Summary | |
|---|---|
protected List |
_listbox
|
protected SortedListboxListener |
_listener
|
static String |
copyright
|
| Constructor Summary | |
|---|---|
SortedListbox(Composite compositeParent)
|
|
| Method Summary | |
|---|---|
void |
deselectAll()
|
String |
getSelectedString()
Returns the currently selected string, or null if none selected. |
void |
selectString(String itemToSelect)
Set the selection of the list to the inputted string (if it is in the list). |
void |
setListener(SortedListboxListener listener)
A listener that is notified when a choice has been selected. |
void |
setListItems(String[] straItems)
Makes a copy of the given list, sorts the copy and gives it to the listbox. |
void |
widgetDefaultSelected(SelectionEvent e)
Declared in SelectionListener. |
void |
widgetSelected(SelectionEvent e)
Declared in SelectionListener. |
| 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
protected List _listbox
protected SortedListboxListener _listener
| Constructor Detail |
|---|
public SortedListbox(Composite compositeParent)
| Method Detail |
|---|
public void deselectAll()
public String getSelectedString()
public void selectString(String itemToSelect)
public void setListener(SortedListboxListener listener)
public void setListItems(String[] straItems)
public void widgetDefaultSelected(SelectionEvent e)
public void widgetSelected(SelectionEvent e)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||