public interface ISimpleList extends IIndexSelectable
| Modifier and Type | Method and Description |
|---|---|
int |
countListItems()
Count the number of list items.
|
Object |
getListItem(int index)
Get the Object at the list index.
|
Object[] |
getListItems()
Get all the list items.
|
boolean |
itemIsVisible(int index,
boolean fullyVisible)
Checks if an item is either partially or fully visible.
|
void |
makeItemVisible(int index)
Make the item at the specified index fully visibile, updating the screen if necessary.
|
void |
setListItems(Object[] items)
Set the list items.
|
void |
updateItems()
Redraw the items on the screen.
|
countSelectedIndexes, getSelectedIndex, getSelectedIndexes, isSelected, select, setSelectedIndexesint countListItems()
Object[] getListItems()
Object getListItem(int index)
void setListItems(Object[] items)
boolean itemIsVisible(int index,
boolean fullyVisible)
index - The item index.fullyVisible - if this is true, then this method will check for full visibility, otherwise
the method checks for full or partial visibility.void makeItemVisible(int index)
index - The item index.void updateItems()