jadex.swing.map
Interface MapPoint

All Known Implementing Classes:
AbstractMapPoint, Locus, Clone

public interface MapPoint

This is the specification for objects which can be displayed in the LocusDisplay.


Method Summary
 float getError()
          Get the error of the position of this MapPoint.
 java.lang.String getName()
          The name of the MapPoint.
 float getPosition()
          Get the position of this MapPoint.
 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.
 

Method Detail

getName

public java.lang.String getName()
The name of the MapPoint.
Returns:
the name of the MapPoint.

getPosition

public float getPosition()
                  throws UnknownPositionException
Get the position of this MapPoint.
Returns:
the position of this mappoint.
Throws:
throw - an UnknownPositionException if the positon is unknown.

setName

public void setName(java.lang.String name)
Set the name of the mappoint.

setPosition

public void setPosition(float position)
Set the position of the MapPoint.
Parameters:
position - the position of the MapPoint.

setError

public void setError(float err)
Set the error of the position of this MapPoint.
Parameters:
err - the error of the position

getError

public float getError()
Get the error of the position of this MapPoint.
Returns:
the error of the position of the MapPoint.