Apache JMeter
2.0.1.20050615

org.apache.jmeter.visualizers
Class TableDataModel

java.lang.Object
  extended byorg.apache.jmeter.visualizers.GraphModel
      extended byorg.apache.jmeter.visualizers.TableDataModel
All Implemented Interfaces:
Clearable, Serializable, TableModel

public class TableDataModel
extends GraphModel
implements TableModel

This class implements the TableModel for the information kept by the GraphModel.

Version:
$Revision: 1.13 $ Last updated: $Date: 2004/02/13 01:48:46 $
Author:
Alf HogemarkHogemark Created March 10, 2002
See Also:
Serialized Form

Constructor Summary
TableDataModel()
          Constructor for the TableDataModel object.
 
Method Summary
 Sample addNewSample(long time, long timeStamp, boolean success, String url)
           
 Sample addSample(SampleResult e)
          Adds a feature to the Sample attribute of the GraphModel object.
 void addTableModelListener(TableModelListener l)
          Dummy implementation.
 void clear()
          Clears the current data of the object.
 String getClassLabel()
          Gets the ClassLabel attribute of the GraphModel object.
 Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 String getColumnName(int columnIndex)
           
 Class getGuiClass()
          Gets the GuiClass attribute of the TableModel object.
 int getRowCount()
           
 Object getValueAt(int rowIndex, int columnIndex)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void removeTableModelListener(TableModelListener l)
          Dummy implementation.
 void setValueAt(Object aValue, int rowIndex, int columnIndex)
          Dummy implementation.
 
Methods inherited from class org.apache.jmeter.visualizers.GraphModel
addGraphListener, addNewSample, fireDataChanged, getCurrentAverage, getCurrentData, getCurrentDeviation, getCurrentMedian, getCurrentThroughput, getGraphMax, getMaxSample, getName, getSampleCount, getSamples, getThroughputMax, quickUpdate, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableDataModel

public TableDataModel()
Constructor for the TableDataModel object.

Method Detail

getGuiClass

public Class getGuiClass()
Gets the GuiClass attribute of the TableModel object.

Overrides:
getGuiClass in class GraphModel
Returns:
the GuiClass value

clear

public void clear()
Description copied from interface: Clearable
Clears the current data of the object.

Specified by:
clear in interface Clearable
Overrides:
clear in class GraphModel

getClassLabel

public String getClassLabel()
Gets the ClassLabel attribute of the GraphModel object.

Returns:
the ClassLabel value

addNewSample

public Sample addNewSample(long time,
                           long timeStamp,
                           boolean success,
                           String url)

addSample

public Sample addSample(SampleResult e)
Description copied from class: GraphModel
Adds a feature to the Sample attribute of the GraphModel object.

Overrides:
addSample in class GraphModel
Parameters:
e - the feature to be added to the Sample attribute

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getColumnName

public String getColumnName(int columnIndex)
Specified by:
getColumnName in interface TableModel

getColumnClass

public Class getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel

setValueAt

public void setValueAt(Object aValue,
                       int rowIndex,
                       int columnIndex)
Dummy implementation.

Specified by:
setValueAt in interface TableModel

addTableModelListener

public void addTableModelListener(TableModelListener l)
Dummy implementation.

Specified by:
addTableModelListener in interface TableModel

removeTableModelListener

public void removeTableModelListener(TableModelListener l)
Dummy implementation.

Specified by:
removeTableModelListener in interface TableModel

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.