|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jadex.swing.map.AbstractMapPoint
Default implementation of MapPoint.
Constructor Summary | |
AbstractMapPoint()
Default constructor. |
|
AbstractMapPoint(java.lang.String name,
float pos)
An overloaded construcor. |
Method Summary | |
float |
getError()
Get the error of this position. |
java.lang.String |
getName()
Get the name of this MapPoint. |
float |
getPosition()
Get the position of this MapPoint. |
void |
setError(float err)
Set the error of the position. |
void |
setName(java.lang.String name)
Set the name of this MapPoint. |
void |
setPosition(float position)
Set the position of this MapPoint. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractMapPoint()
public AbstractMapPoint(java.lang.String name, float pos)
name
- the name of the MapPoint.pos
- the position of the MapPointMethod Detail |
public java.lang.String getName()
getName
in interface MapPoint
public float getPosition() throws UnknownPositionException
getPosition
in interface MapPoint
public void setName(java.lang.String name)
setName
in interface MapPoint
name
- the name of this MapPoint.public void setPosition(float position)
setPosition
in interface MapPoint
position
- the position of this MapPoint.public void setError(float err)
setError
in interface MapPoint
jadex.swing.map.MapPoint
err
- the error of the positionpublic float getError()
getError
in interface MapPoint
jadex.swing.map.MapPoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |