Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.simscomputing.testbed.gui
Class TestCaseCollectionListModel  view TestCaseCollectionListModel download TestCaseCollectionListModel.java

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended bycom.simscomputing.testbed.gui.TestCaseCollectionListModel
All Implemented Interfaces:
javax.swing.ListModel, java.io.Serializable

public class TestCaseCollectionListModel
extends javax.swing.AbstractListModel


Nested Class Summary
private  class TestCaseCollectionListModel.ObjectTestResultPair
           
 
Field Summary
(package private)  java.util.List elements
           
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
TestCaseCollectionListModel()
           
 
Method Summary
 void add(java.lang.String element, com.simscomputing.testbed.TestResult testResult)
           
 void clear()
           
 java.lang.Object getElementAt(int index)
          Retrieves a data element at a specified index.
 int getSize()
          Return the number of data elements in the list.
 com.simscomputing.testbed.TestResult getTestResult(int index)
           
 
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
 

Field Detail

elements

final java.util.List elements
Constructor Detail

TestCaseCollectionListModel

public TestCaseCollectionListModel()
Method Detail

add

public void add(java.lang.String element,
                com.simscomputing.testbed.TestResult testResult)

getElementAt

public java.lang.Object getElementAt(int index)
Description copied from interface: javax.swing.ListModel
Retrieves a data element at a specified index.


getSize

public int getSize()
Description copied from interface: javax.swing.ListModel
Return the number of data elements in the list.


clear

public void clear()

getTestResult

public com.simscomputing.testbed.TestResult getTestResult(int index)