Save This Page
Home » jcommon-1.0.13 » org.jfree » data » xy » [javadoc | source]
org.jfree.data.xy
public class: NormalizedMatrixSeries [javadoc | source]
java.lang.Object
   org.jfree.data.general.Series
      org.jfree.data.xy.MatrixSeries
         org.jfree.data.xy.NormalizedMatrixSeries

All Implemented Interfaces:
    Serializable, Cloneable

Represents a dense normalized matrix M[i,j] where each Mij item of the matrix has a value (default is 0). When a matrix item is observed using getItem method, it is normalized, that is, divided by the total sum of all items. It can be also be scaled by setting a scale factor.
Field Summary
public static final  double DEFAULT_SCALE_FACTOR    The default scale factor. 
Fields inherited from org.jfree.data.xy.MatrixSeries:
data
Constructor:
 public NormalizedMatrixSeries(String name,
    int rows,
    int columns) 
    Constructor for NormalizedMatrixSeries.
    Parameters:
    name - the series name.
    rows - the number of rows.
    columns - the number of columns.
Method from org.jfree.data.xy.NormalizedMatrixSeries Summary:
getItem,   getScaleFactor,   setScaleFactor,   update,   zeroAll
Methods from org.jfree.data.xy.MatrixSeries:
equals,   get,   getColumnsCount,   getItem,   getItemColumn,   getItemCount,   getItemRow,   getRowCount,   update,   zeroAll
Methods from org.jfree.data.general.Series:
addChangeListener,   addPropertyChangeListener,   clone,   equals,   firePropertyChange,   fireSeriesChanged,   getDescription,   getItemCount,   getKey,   getNotify,   hashCode,   isEmpty,   notifyListeners,   removeChangeListener,   removePropertyChangeListener,   setDescription,   setKey,   setNotify
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.data.xy.NormalizedMatrixSeries Detail:
 public Number getItem(int itemIndex) 
    Returns an item.
 public double getScaleFactor() 
    Returns the factor that multiplies each item in this series when observed using getItem mehtod.
 public  void setScaleFactor(double factor) 
    Sets the factor that multiplies each item in this series when observed using getItem mehtod.
 public  void update(int i,
    int j,
    double mij) 
    Updates the value of the specified item in this matrix series.
 public  void zeroAll()