|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.charts.SSJCategorySeriesCollection
public abstract class SSJCategorySeriesCollection
Stores data used in a CategoryChart. This class provides tools to manage data sets and rendering options, and modify plot color, plot style, and marks on points for each series.
Constructor Summary | |
---|---|
SSJCategorySeriesCollection()
|
Method Summary | |
---|---|
String |
getCategory(int series)
Returns the category-value in the specified series. |
Color |
getColor(int series)
Gets the current plotting color of the selected series. |
abstract double[] |
getRangeBounds()
Returns range (y-coordinates) min and max values. |
CategoryItemRenderer |
getRenderer()
Returns the CategoryItemRenderer object associated with the current object. |
CategoryDataset |
getSeriesCollection()
Returns the CategoryDataset object associated with the current object. |
double |
getValue(int series,
int index)
Returns the y-value at the specified index in the specified series. |
void |
setColor(int series,
Color color)
Sets a new plotting color to the series series. |
void |
setRenderer(CategoryItemRenderer renderer)
Sets the CategoryItemRenderer object associated with the current variable. |
abstract String |
toLatex(double YScale,
double YShift,
double ymin,
double ymax)
Formats and returns a string containing a LATEX-compatible source code which represents this data series collection. |
abstract String |
toString()
Returns in a String all data contained in the current object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SSJCategorySeriesCollection()
Method Detail |
---|
public String getCategory(int series)
series
- required series value.
public double getValue(int series, int index)
series
- required series value.index
- value's index.
public CategoryDataset getSeriesCollection()
public abstract double[] getRangeBounds()
public abstract String toString()
toString
in class Object
String
.public CategoryItemRenderer getRenderer()
public void setRenderer(CategoryItemRenderer renderer)
XYChart
.
renderer
- new CategoryItemRenderer object.public Color getColor(int series)
public void setColor(int series, Color color)
series
- series index.color
- plotting color.public abstract String toLatex(double YScale, double YShift, double ymin, double ymax)
YScale
- Range original data scale.YShift
- Range original data shift value.ymin
- Range min bound.ymax
- Range max bound.
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |