Apache JMeter
1.9

org.apache.jmeter.visualizers
Class TableDataModel

java.lang.Object
  |
  +--org.apache.jmeter.visualizers.GraphModel
        |
        +--org.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:
1.0
Author:
Alf HogemarkHogemark
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()
          Description of the Method
 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 class: GraphModel
Description of the Method

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
Returns:
Description of the Returned Value

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
1.9

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