|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tractrac.clientmodule.details.Attachments
com.tractrac.clientmodule.details.IdBase
com.tractrac.clientmodule.details.IdBaseNamed
com.tractrac.clientmodule.ControlPoint
public class ControlPoint
Encapsulates data related to a specific Control Point of a TracTrac Event.
An instance of this class has a unique id and a name. Furthermore it has a flag indicating whether it represents two buoys/marks or just one.
Custom data may be attached to each Control Point instance.
Use Event.addControlPoint(java.util.UUID, java.lang.String, boolean)
to create a new Control Point.
Event| Method Summary | |
|---|---|
boolean |
getHasTwoPoints()
Returns whether this Control Point represents two buoys/marks or just one. |
double |
getLat1()
The static latutide of mark 1 |
double |
getLat2()
The static latutide of mark 2 |
double |
getLon1()
The static longitude of mark 1 |
double |
getLon2()
The static longitude of mark 2 |
static AttKey |
newAttKey()
Creates a new (static) key to be used to set/get custom data related to control points. |
| Methods inherited from class com.tractrac.clientmodule.details.IdBaseNamed |
|---|
getName, toString |
| Methods inherited from class com.tractrac.clientmodule.details.IdBase |
|---|
equals, getId, hashCode |
| Methods inherited from class com.tractrac.clientmodule.details.Attachments |
|---|
getAttachment, setAttachment |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static AttKey newAttKey()
public boolean getHasTwoPoints()
true if two points are associated, false otherwise.public double getLat1()
public double getLat2()
public double getLon1()
public double getLon2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||