twaver.gis
Interface GisBackground

All Superinterfaces:
twaver.network.background.Background, java.io.Serializable
All Known Implementing Classes:
twaver.base.gis.gadget.TileMapBackground

public interface GisBackground
extends twaver.network.background.Background

A GisBackground interface is designed for displaying vector shape.


Method Summary
 void drag(java.awt.Point end)
           
 GeographyMap getMap()
          Gets the GeographyMap object used as the background.
 void goBack()
           
 void grab(java.awt.Point start)
           
 void panMap(java.awt.geom.Point2D start, java.awt.geom.Point2D to)
           
 void releaseGrabbing()
           
 void setMap(GeographyMap map)
          Sets the map object of the GisBackground object.
 
Methods inherited from interface twaver.network.background.Background
getBackgroundSize, paint
 

Method Detail

drag

public void drag(java.awt.Point end)

getMap

public GeographyMap getMap()
Gets the GeographyMap object used as the background.

Returns:
the pre-set GeographyMap object of the GisBackground object.

goBack

public void goBack()

grab

public void grab(java.awt.Point start)

panMap

public void panMap(java.awt.geom.Point2D start,
                   java.awt.geom.Point2D to)

releaseGrabbing

public void releaseGrabbing()

setMap

public void setMap(GeographyMap map)
Sets the map object of the GisBackground object.

Parameters:
map - the specified GeographyMap object used as the backgroud.