|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XListHolder
A generic interface for drop down lists. Known uses include XComboBox and XListBinding
Copyright (c) Xoetrope Ltd., 2002-2003
License: see license.txt
$Revision: 2.3 $
| Method Summary | |
|---|---|
void |
addItem(java.lang.String s)
Add an item to the list |
int |
getItemCount()
Get the number of items in the list |
int |
getSelectedIndex()
Get the selected index |
java.lang.Object |
getSelectedObject()
Get the selected object |
void |
removeAll()
Remove all items from the list |
void |
select(int i)
Select an item |
void |
select(java.lang.Object object)
Select an item |
| Method Detail |
|---|
int getItemCount()
void removeAll()
void addItem(java.lang.String s)
s - the new Itemvoid select(int i)
i - the index of the item to selectvoid select(java.lang.Object object)
object - The object to selectjava.lang.Object getSelectedObject()
int getSelectedIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||