|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
org.opensourcephysics.display.Dataset
org.opensourcephysics.display.Stripchart
Stripchart stores data having increasing x values. Only data within the interval [lastx-xrange, lastx] is retained.
Nested Class Summary | |
protected static class |
Stripchart.StripchartLoader
|
Nested classes inherited from class org.opensourcephysics.display.Dataset |
Dataset.Loader |
Field Summary |
Fields inherited from class org.opensourcephysics.display.Dataset |
AREA, BAR, CIRCLE, CUSTOM, customMarker, datasetID, errorBars, generalPath, index, maxPoints, NO_MARKER, PIXEL, POST, sorted, SQUARE, xmax, xmin, xpoints, ymax, ymin, ypoints |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
protected |
Stripchart()
Constructs a Stripchart for use by the XML loader. |
|
Stripchart(double _xrange,
double _yrange)
Constructs a Stripchart witht he given ranges. |
Method Summary | |
void |
append(double[] _xpoints,
double[] _ypoints)
Appends (x,y) data-arrays to the Stipchart. |
void |
append(double x,
double y)
Appends an (x,y) datum to the Stipchart. |
void |
clear()
Clears all data from this Dataset. |
void |
enable(boolean enabled)
|
static XML.ObjectLoader |
getLoader()
Returns the XML.ObjectLoader for this class. |
void |
setRange(double _xrange,
double _yrange)
Sets the range of the stipchart. |
Methods inherited from class org.opensourcephysics.display.Dataset |
append, append, convertTableColumnIndex, countColumnsVisible, draw, drawFilledPlot, drawLinePlot, drawScatterPlot, getColumnClass, getColumnCount, getColumnName, getEdgeColor, getFillColor, getID, getIndex, getLineColor, getMarkerShape, getMarkerSize, getName, getPoints, getRowCount, getValidXPoints, getValidYPoints, getValueAt, getXMax, getXMin, getXPoints, getYMax, getYMin, getYPoints, insertionSort, isConnected, isMeasured, isSorted, isXColumnVisible, isYColumnVisible, moveDatum, read, recalculatePath, setConnected, setCustomMarker, setID, setLineColor, setMarkerColor, setMarkerColor, setMarkerColor, setMarkerShape, setMarkerSize, setMaximumPoints, setName, setSorted, setStride, setXColumnVisible, setXYColumnNames, setXYColumnNames, setYColumnVisible, toString, write |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Stripchart(double _xrange, double _yrange)
_xrange
- double_yrange
- doubleprotected Stripchart()
Method Detail |
public void setRange(double _xrange, double _yrange)
_xrange
- double_yrange
- doublepublic void enable(boolean enabled)
public void append(double x, double y)
append
in class Dataset
x
- y
- public void append(double[] _xpoints, double[] _ypoints)
append
in class Dataset
_xpoints
- _ypoints
- public void clear()
clear
in class Dataset
public static XML.ObjectLoader getLoader()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |