|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel org.opensourcephysics.display.Dataset org.opensourcephysics.display.Stripchart
public class 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/interfaces inherited from class org.opensourcephysics.display.Dataset |
---|
Dataset.Loader |
Field Summary |
---|
Fields inherited from class org.opensourcephysics.display.Dataset |
---|
AREA, BAR, CIRCLE, columnID, CUSTOM, customMarker, datasetID, errorBars, generalPath, index, maxPoints, NO_MARKER, PIXEL, POST, sorted, SQUARE, visible, xmax, xmaxLogscale, xmin, xminLogscale, xpoints, ymax, ymaxLogscale, ymin, yminLogscale, 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 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 |