public class CompletionListModel
extends javax.swing.AbstractListModel
Constructor and Description |
---|
CompletionListModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getElementAt(int index)
Returns completion item at given index.
|
int |
getSize()
Returns number of completion items.
|
void |
setItems(java.util.Vector items)
Sets completion items to given list.
|
public int getSize()
public java.lang.Object getElementAt(int index)
index
- Index whose completion item should be returned.public void setItems(java.util.Vector items)
items
- Vector of new completion items to be used from now.