|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
org.cesilko.rachota.gui.CompletionListModel
public class CompletionListModel
Model that takes care of current list of completion items.
| Field Summary |
|---|
| Fields inherited from class javax.swing.AbstractListModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
CompletionListModel()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class javax.swing.AbstractListModel |
|---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompletionListModel()
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||