|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jaer.util.chart.Category
public class Category
The Category class. A Category is a view of a data series in a chart.
Field Summary | |
---|---|
Axis[] |
axes
The axes of the series. |
protected float[] |
color
The color of the series. |
protected Series |
data
|
static Axis |
DUMMY_AXIS
|
protected double[] |
transform
|
Constructor Summary | |
---|---|
Category(Series data,
Axis[] axes)
Create a new Category |
Method Summary | |
---|---|
void |
draw(javax.media.opengl.GL gl)
Draw the category. |
float[] |
getColor()
Get the color. |
Series |
getData()
Get the data displayed by the category using some data transformation. |
double[] |
getDataTransformation()
Get the transformation of the data. |
void |
setColor(float[] color)
Set the color. |
void |
setData(Series data)
Set the data displayed by the category using some data transformation. |
void |
setDataTransformation(double[] transform)
Set the transformation of the data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Axis DUMMY_AXIS
protected Series data
protected double[] transform
protected float[] color
public Axis[] axes
Constructor Detail |
---|
public Category(Series data, Axis[] axes)
Method Detail |
---|
public void draw(javax.media.opengl.GL gl)
public void setData(Series data)
public Series getData()
public void setDataTransformation(double[] transform)
public double[] getDataTransformation()
public void setColor(float[] color)
public float[] getColor()
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |