protected class AssertionsPanel.AssertionListModel extends AbstractListModel implements PropertyChangeListener, AssertionsListener
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
items |
listenerList
Constructor and Description |
---|
AssertionListModel() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAssertion(TestAssertion assertion) |
void |
assertionAdded(TestAssertion assertion) |
void |
assertionMoved(TestAssertion newAssertion,
int ix,
int offset) |
void |
assertionRemoved(TestAssertion assertion) |
TestAssertion |
getAssertionAt(int index) |
Object |
getElementAt(int index) |
int |
getSize() |
void |
propertyChange(PropertyChangeEvent evt) |
void |
refresh() |
void |
release() |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
public Object getElementAt(int index)
getElementAt
in interface ListModel
public TestAssertion getAssertionAt(int index)
public void refresh()
public void release()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void assertionAdded(TestAssertion assertion)
assertionAdded
in interface AssertionsListener
protected void addAssertion(TestAssertion assertion)
public void assertionRemoved(TestAssertion assertion)
assertionRemoved
in interface AssertionsListener
public void assertionMoved(TestAssertion newAssertion, int ix, int offset)
assertionMoved
in interface AssertionsListener
Copyright © 2019. All Rights Reserved.