|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jadex.swing.map.Locus
An implementataion of MapPoint. This class holds information on a Locus from AceDB. In fact, this is a wrapper for the AceObject for the Locus.
Constructor Summary | |
Locus()
Default constructor. |
|
Locus(jade.db.AceObject o)
An overloaded constructor. |
|
Locus(java.lang.String name,
float pos)
An overloaded construtor. |
|
Locus(java.lang.String name,
float pos,
jade.db.AceObject o)
An overloaded constructor. |
|
Locus(java.lang.String name,
float pos,
float err,
jade.db.AceObject o)
An overloaded constructor. |
Method Summary | |
jade.db.AceObject |
getAceObject()
Get the AceObject. |
float |
getError()
Get the error of the position of this MapPoint. |
java.lang.String |
getName()
Get the name of this Locus. |
float |
getPosition()
Get the position of this Locus. |
void |
setAceObject(jade.db.AceObject o)
Set up the AceObject for this Locus. |
void |
setError(float err)
Set the error of the position of this MapPoint. |
void |
setName(java.lang.String name)
Set the name of the mappoint. |
void |
setPosition(float position)
Set the position of the MapPoint. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Locus()
public Locus(java.lang.String name, float pos)
name
- the name of the Locus.pos
- the posistion of this Locus.public Locus(java.lang.String name, float pos, jade.db.AceObject o)
name
- the name of the Locus.pos
- the position of this Locus.o
- the AceObejct holding all information for this Locus.public Locus(java.lang.String name, float pos, float err, jade.db.AceObject o)
name
- the name of this locus.pos
- the position of this locus.err
- the error of the position of this locus.o
- the AceObejct.public Locus(jade.db.AceObject o)
o
- the AceObject holding all information for this locus.Method Detail |
public void setAceObject(jade.db.AceObject o)
o
- the AceObject holding all information for this Locus.public jade.db.AceObject getAceObject()
public float getPosition() throws UnknownPositionException
getPosition
in interface MapPoint
throw
- an exception if the position has not be set.public java.lang.String getName()
getName
in interface MapPoint
public void setName(java.lang.String name)
MapPoint
setName
in interface MapPoint
public void setPosition(float position)
MapPoint
setPosition
in interface MapPoint
jadex.swing.map.MapPoint
position
- the position of the MapPoint.public void setError(float err)
MapPoint
setError
in interface MapPoint
jadex.swing.map.MapPoint
err
- the error of the positionpublic float getError()
MapPoint
getError
in interface MapPoint
jadex.swing.map.MapPoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |