|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tensegrity.palowebviewer.modules.widgets.client.list.DefaultListModel
public class DefaultListModel
Default implementation of IListModel
.
Field Summary | |
---|---|
protected ListModelListnerCollection |
listeners
|
Constructor Summary | |
---|---|
DefaultListModel()
|
Method Summary | |
---|---|
void |
addItem(int index,
java.lang.Object item)
|
void |
addItems(int index,
java.lang.Object[] items)
|
void |
addListModelListener(IListModelListener listener)
Adds a listener to the list that's notified each time a change to the data model occurs. |
java.lang.Object |
getElementAt(int index)
Returns the value at the specified index. |
int |
getSize()
Returns the length of the list. |
void |
removeItem(int index)
|
void |
removeItems(int index0,
int index1)
|
void |
removeListModelListener(IListModelListener listener)
Removes a listener from the list that's notified each time a change to the data model occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final ListModelListnerCollection listeners
Constructor Detail |
---|
public DefaultListModel()
Method Detail |
---|
public void addListModelListener(IListModelListener listener)
IListModel
addListModelListener
in interface IListModel
public java.lang.Object getElementAt(int index)
IListModel
getElementAt
in interface IListModel
public int getSize()
IListModel
getSize
in interface IListModel
public void removeListModelListener(IListModelListener listener)
IListModel
removeListModelListener
in interface IListModel
public void addItem(int index, java.lang.Object item)
public void addItems(int index, java.lang.Object[] items)
public void removeItems(int index0, int index1)
public void removeItem(int index)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |