|
|||||||||
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.tools.DataColumn
public class DataColumn
A Dataset that represents a single column in a DataToolTable. The x-column name is always "row" and the x-points are always row numbers.
Nested Class Summary | |
---|---|
protected static class |
DataColumn.Loader
A class to save and load DataColumn data in an XMLControl. |
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 | |
---|---|
DataColumn()
Constructs a DataColumn. |
Method Summary | |
---|---|
static XML.ObjectLoader |
getLoader()
Returns the XML.ObjectLoader for this class. |
void |
setPoints(double[] yPoints)
Sets the y-column points. |
void |
setXColumnVisible(boolean b)
Overrides Dataset.setXColumnVisible method. |
void |
setXYColumnNames(java.lang.String xName,
java.lang.String yName)
Overrides Dataset.setXYColumnNames method. |
void |
setXYColumnNames(java.lang.String xName,
java.lang.String yName,
java.lang.String name)
Overrides Dataset.setXYColumnNames method. |
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 DataColumn()
Method Detail |
---|
public void setPoints(double[] yPoints)
yPoints
- the y-column data pointspublic void setXYColumnNames(java.lang.String xName, java.lang.String yName)
setXYColumnNames
in class Dataset
xName
- ignoredyName
- the y-column namepublic void setXYColumnNames(java.lang.String xName, java.lang.String yName, java.lang.String name)
setXYColumnNames
in class Dataset
xName
- ignoredyName
- the y-column namename
- the dataset namepublic void setXColumnVisible(boolean b)
setXColumnVisible
in class Dataset
b
- ignoredpublic static XML.ObjectLoader getLoader()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |