| java.lang.Object | ||
| ↳ | org.jfree.data.general.Series | |
| ↳ | org.jfree.data.xy.MatrixSeries | |
Known Direct Subclasses
|
Represents a dense matrix M[i,j] where each Mij item of the matrix has a value (default is 0).
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| data | Series matrix values | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new matrix series.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Tests this object instance for equality with an arbitrary object.
| |||||||||||
Returns the value of the specified item in this matrix series.
| |||||||||||
Returns the number of columns in this matrix series.
| |||||||||||
Return the matrix item at the specified index.
| |||||||||||
Returns the column of the specified item.
| |||||||||||
Returns the number of items in the series.
| |||||||||||
Returns the row of the specified item.
| |||||||||||
Returns the number of rows in this matrix series.
| |||||||||||
Updates the value of the specified item in this matrix series.
| |||||||||||
Sets all matrix values to zero and sends a
SeriesChangeEvent to all registered
listeners. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.data.general.Series
| |||||||||||
From class
java.lang.Object
| |||||||||||
Series matrix values
Constructs a new matrix series.
By default, all matrix items are initialzed to 0.
| name | series name (null not permitted). |
|---|---|
| rows | the number of rows. |
| columns | the number of columns. |
Tests this object instance for equality with an arbitrary object.
| obj | the object (null permitted). |
|---|
Returns the value of the specified item in this matrix series.
| i | the row of the item. |
|---|---|
| j | the column of the item. |
Returns the number of columns in this matrix series.
Return the matrix item at the specified index. Note that this method
creates a new Double instance every time it is called.
| itemIndex | item index. |
|---|
Returns the column of the specified item.
| itemIndex | the index of the item. |
|---|
Returns the number of items in the series.
Returns the row of the specified item.
| itemIndex | the index of the item. |
|---|
Returns the number of rows in this matrix series.
Updates the value of the specified item in this matrix series.
| i | the row of the item. |
|---|---|
| j | the column of the item. |
| mij | the new value for the item. |
Sets all matrix values to zero and sends a
SeriesChangeEvent to all registered
listeners.