|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--edu.ull.cgunay.plots.Grapher.Data
|
+--edu.ull.cgunay.plots.Grapher.ErrorData
For errorbar plots.
| Field Summary | |
(package private) Grapher.DataType |
dataType
|
(package private) String |
label
Legend label for the data. |
(package private) Collection |
maxValues
Vectors representing values and their corresponding minimum and maximum limits. |
(package private) Collection |
minValues
Vectors representing values and their corresponding minimum and maximum limits. |
(package private) Collection |
values
Vectors representing values and their corresponding minimum and maximum limits. |
(package private) Hashtable |
variables
Variables used by this plot data definition. name->Range or name->vector pairs. |
(package private) Collection |
xAxis
Vectors representing values and their corresponding minimum and maximum limits. |
| Constructor Summary | |
Grapher.ErrorData(String label,
Profile errorValues)
|
|
| Method Summary | |
void |
addVariable(String name,
Collection vector)
Add a vector variable to variables. |
void |
addVariable(String name,
Range range)
Add a range variable to variables. |
Grapher.DataType |
getDataType()
Get the DataType value. |
String |
getLabel()
Get the value of label. |
Hashtable |
getVariables()
Get the Variables value. |
(package private) void |
init()
Put initialization code in this method. |
String |
maxExpression()
Returns the upper limit expression for each data point. |
String |
minExpression()
Returns the lower limit expression for each data point. |
(package private) String |
preamble()
Put preambles in this method. |
void |
setDataType(String dataTypeName)
Looks up the name from dataTypes. |
void |
setLabel(String v)
Set the value of label. |
String |
xExpression()
Expression to appear on the x-axis part of the plot command. |
String |
yExpression()
Expression to appear on the x-axis part of the plot command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
Collection values
Collection minValues
Collection maxValues
Collection xAxis
Hashtable variables
Grapher.DataType dataType
String label
| Constructor Detail |
public Grapher.ErrorData(String label,
Profile errorValues)
| Method Detail |
public String xExpression()
Grapher.DataGrapher.
xExpression in class Grapher.DataString valuepublic String yExpression()
Grapher.DataGrapher.
yExpression in class Grapher.DataString valueGrapher.Data.variablespublic String minExpression()
String valuepublic String maxExpression()
String valuepublic Hashtable getVariables()
void init()
String preamble()
public void addVariable(String name,
Range range)
variables. TODO: maybe just take the name ot the member variable and use reflection to look it up? (like in catacomb)
name - a String valuerange - a Range valueGrapher.Data.variables
public void addVariable(String name,
Collection vector)
variables.
name - a String valuevector - a Collection valueGrapher.Data.variablespublic Grapher.DataType getDataType()
public void setDataType(String dataTypeName)
dataTypes.
dataTypeName - a String valuepublic String getLabel()
public void setLabel(String v)
v - Value to assign to label.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||