|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractListModel
org.apache.felix.ipojo.junit4osgi.command.TestListModel
public class TestListModel
Test Suite list model.
Field Summary |
---|
Fields inherited from class javax.swing.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
TestListModel()
|
Method Summary | |
---|---|
void |
addTest(junit.framework.Test test)
Adds a test. |
void |
clear()
Clears the list. |
Object |
getElementAt(int index)
Gets the element placed at the given index. |
int |
getSize()
Gets the list size. |
junit.framework.Test |
getTestElementAt(int index)
Gets the test object placed at the given index. |
void |
removeTest(junit.framework.Test test)
Removes a test. |
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 TestListModel()
Method Detail |
---|
public Object getElementAt(int index)
index
- the index
null
if no element at this indexListModel.getElementAt(int)
public junit.framework.Test getTestElementAt(int index)
index
- the index
public void addTest(junit.framework.Test test)
test
- the test to addpublic void removeTest(junit.framework.Test test)
test
- the test to removepublic void clear()
public int getSize()
ListModel.getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |