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, removeListDataListenerpublic Object getElementAt(int index)
getElementAt in interface ListModelpublic TestAssertion getAssertionAt(int index)
public void refresh()
public void release()
public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic void assertionAdded(TestAssertion assertion)
assertionAdded in interface AssertionsListenerprotected void addAssertion(TestAssertion assertion)
public void assertionRemoved(TestAssertion assertion)
assertionRemoved in interface AssertionsListenerpublic void assertionMoved(TestAssertion newAssertion, int ix, int offset)
assertionMoved in interface AssertionsListenerCopyright © 2019. All Rights Reserved.