|
|||||||||
| Home >> All >> org >> jfree >> data >> [ xy overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jfree.data.xy
Class MatrixSeries

java.lang.Objectorg.jfree.data.general.Series
org.jfree.data.xy.MatrixSeries
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- NormalizedMatrixSeries
- public class MatrixSeries
- extends org.jfree.data.general.Series
- implements java.io.Serializable
- extends org.jfree.data.general.Series
Represents a dense matrix M[i,j] where each Mij item of the matrix has a value (default is 0).
| Field Summary | |
protected double[][] |
data
Series matrix values |
private static long |
serialVersionUID
For serialization. |
| Fields inherited from class org.jfree.data.general.Series |
|
| Constructor Summary | |
MatrixSeries(java.lang.String name,
int rows,
int columns)
Constructs a new matrix series. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Tests this object instance for equality with an arbitrary object. |
double |
get(int i,
int j)
Returns the value of the specified item in this matrix series. |
int |
getColumnsCount()
Returns the number of columns in this matrix series. |
java.lang.Number |
getItem(int itemIndex)
Return the matrix item at the specified index. |
int |
getItemColumn(int itemIndex)
Returns the column of the specified item. |
int |
getItemCount()
Returns the number of items in the series. |
int |
getItemRow(int itemIndex)
Returns the row of the specified item. |
int |
getRowCount()
Returns the number of rows in this matrix series. |
void |
update(int i,
int j,
double mij)
Updates the value of the specified item in this matrix series. |
void |
zeroAll()
Sets all matrix values to zero and sends a org.jfree.data.general.SeriesChangeEvent to all registered listeners. |
| Methods inherited from class org.jfree.data.general.Series |
addChangeListener, addPropertyChangeListener, clone, firePropertyChange, fireSeriesChanged, getDescription, getKey, getNotify, hashCode, notifyListeners, removeChangeListener, removePropertyChangeListener, setDescription, setKey, setNotify |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
serialVersionUID
private static final long serialVersionUID
- For serialization.
- See Also:
- Constant Field Values
data
protected double[][] data
- Series matrix values
| Constructor Detail |
MatrixSeries
public MatrixSeries(java.lang.String name, int rows, int columns)
- Constructs a new matrix series.
By default, all matrix items are initialzed to 0.
| Method Detail |
getColumnsCount
public int getColumnsCount()
- Returns the number of columns in this matrix series.
getItem
public java.lang.Number getItem(int itemIndex)
- Return the matrix item at the specified index.
getItemColumn
public int getItemColumn(int itemIndex)
- Returns the column of the specified item.
getItemCount
public int getItemCount()
- Returns the number of items in the series.
getItemRow
public int getItemRow(int itemIndex)
- Returns the row of the specified item.
getRowCount
public int getRowCount()
- Returns the number of rows in this matrix series.
get
public double get(int i,
int j)
- Returns the value of the specified item in this matrix series.
update
public void update(int i,
int j,
double mij)
- Updates the value of the specified item in this matrix series.
zeroAll
public void zeroAll()
- Sets all matrix values to zero and sends a
org.jfree.data.general.SeriesChangeEvent to all registered
listeners.
equals
public boolean equals(java.lang.Object obj)
- Tests this object instance for equality with an arbitrary object.
|
|||||||||
| Home >> All >> org >> jfree >> data >> [ xy overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC