|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.core.internal.DCoordAbstract
org.eclipse.tptp.platform.report.core.internal.DCoord
org.eclipse.tptp.platform.report.birt).
public class DCoord
A double coordinate on an axis, designed to be a child of a DPoint. As using double, all java number primitive types are covered (and can be stored here ). But this is the worst choice in term of memory consumming, especially if you have to store only a byte or integer ... In this case this is a good idea to create your own IDCoord implementation (might extending DCoordAbstract) to store only an integer.
DPoint| Constructor Summary | |
|---|---|
DCoord()
Deprecated. Create unusable unknown coordinate on an inexistent axis. |
|
DCoord(DAxis a,
double v)
Deprecated. Create coordinate v on axis a |
|
| Method Summary | |
|---|---|
double |
getValue()
Deprecated. |
java.lang.Object |
getValue(java.lang.Object _p)
Deprecated. |
void |
setValue(double _value)
Deprecated. Change the value of the coordinate. |
void |
setValue(java.lang.Object _value)
Deprecated. Change value in coordinate if parameter is an instance of java.lang.Number. |
| Methods inherited from class org.eclipse.tptp.platform.report.core.internal.DCoordAbstract |
|---|
addChild, clear, getAppliedStyle, getAxis, getChildCount, getChildPosition, getFirstChild, getIterator, getLastChild, getNext, getParent, getRoot, getStyle, insertChild, isContainer, removeChild, setAxis, setNext, setParent, setStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DCoord(DAxis a,
double v)
a - axis of the coordinatev - value of coordinatepublic DCoord()
| Method Detail |
|---|
public double getValue()
public java.lang.Object getValue(java.lang.Object _p)
VFloat,
getValue()public void setValue(java.lang.Object _value)
public void setValue(double _value)
_value - new value of the coordinate.
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||