|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.co.agena.minerva.util.model.DataPoint
uk.co.agena.minerva.util.model.AbsoluteDataPoint
public class AbsoluteDataPoint
This class represents DataPoints that have an absolute number (e.g. 1.233) as their "x" value.
Field Summary |
---|
Fields inherited from class uk.co.agena.minerva.util.model.DataPoint |
---|
connObjectId, label, value, version |
Fields inherited from interface uk.co.agena.minerva.util.model.Writable |
---|
FIELD_SEPARATOR |
Constructor Summary | |
---|---|
AbsoluteDataPoint()
Default constructor. |
|
AbsoluteDataPoint(double value,
int connObjectId,
double absoluteValue)
Constructs and AbsoluteDataPoint with the supplied "y" value, connected object ID and "x" value. |
|
AbsoluteDataPoint(java.lang.String label,
double value,
int connObjectId,
double absoluteValue)
Constructs and AbsoluteDataPoint with the supplied label, "y" value, connected object ID and "x" value. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Makes a copy of this AbsoluteDataPoint |
double |
getAbsoluteValue()
Returns the absolute "x" value. |
void |
setAbsoluteValue(double absoluteValue)
Sets the absolute "x" value. |
Methods inherited from class uk.co.agena.minerva.util.model.DataPoint |
---|
getAdjustedValue, getConnObjectId, getLabel, getValue, getVersion, read, readRestOfFields, setConnObjectId, setLabel, setValue, setVersion, toHTMLString, toString, toString, write, writeRestOfFields |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbsoluteDataPoint()
public AbsoluteDataPoint(double value, int connObjectId, double absoluteValue)
value
- the "y" valueconnObjectId
- the ID of the object to which this AbsoluteDataPoint refersabsoluteValue
- the "x" valuepublic AbsoluteDataPoint(java.lang.String label, double value, int connObjectId, double absoluteValue)
label
- the label for the AbsoluteDataPointvalue
- the "y" valueconnObjectId
- the ID of the object to which this AbsoluteDataPoint refersabsoluteValue
- the "x" valueMethod Detail |
---|
public double getAbsoluteValue()
public void setAbsoluteValue(double absoluteValue)
absoluteValue
- the new absolute "x" valuepublic java.lang.Object clone()
clone
in class DataPoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |