com.mtp.pounder
Class RecordingRecord

java.lang.Object
  |
  +--javax.swing.AbstractListModel
        |
        +--javax.swing.DefaultListModel
              |
              +--com.mtp.pounder.RecordingRecord
All Implemented Interfaces:
ListModel, Serializable

public class RecordingRecord
extends DefaultListModel

A record of all the recordin' that's been going down. Allows filtering, playback, and other useful operations.

Author:
Matthew Pekar
See Also:
Serialized Form

Field Summary
protected  DefaultListSelectionModel selectionModel
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
RecordingRecord()
           
RecordingRecord(Collection items)
           
 
Method Summary
 void addAssertion(RecordingItem ri)
           
 void addItem(RecordingItem item)
           
 void addItems(Collection c)
           
 void addItemsAsXML(Node parent, Document doc)
           
 boolean equals(Object o)
           
 DefaultListSelectionModel getSelectionModel()
           
protected  void init()
           
 void removeItem(RecordingItem item)
           
 void selectItem(int index)
           
 
Methods inherited from class javax.swing.DefaultListModel
add, addElement, capacity, clear, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, get, getElementAt, getSize, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, removeAllElements, removeElement, removeElementAt, removeRange, set, setElementAt, setSize, size, toArray, toString, trimToSize
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

selectionModel

protected DefaultListSelectionModel selectionModel
Constructor Detail

RecordingRecord

public RecordingRecord()

RecordingRecord

public RecordingRecord(Collection items)
Method Detail

init

protected void init()

getSelectionModel

public DefaultListSelectionModel getSelectionModel()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

addAssertion

public void addAssertion(RecordingItem ri)

addItemsAsXML

public void addItemsAsXML(Node parent,
                          Document doc)

addItems

public void addItems(Collection c)

selectItem

public void selectItem(int index)

addItem

public void addItem(RecordingItem item)

removeItem

public void removeItem(RecordingItem item)


Copyright © 2002 Matthew Pekar. All Rights Reserved.