twaver.gis
Interface GisBackground

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

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 grab(java.awt.Point start)
           
 void panMap(double sxOnScreen, double syOnScreen, double txOnScreen, double tyOnScreen)
           
 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

setMap

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

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

getMap

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

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

panMap

public void panMap(double sxOnScreen,
                   double syOnScreen,
                   double txOnScreen,
                   double tyOnScreen)

grab

public void grab(java.awt.Point start)

drag

public void drag(java.awt.Point end)

releaseGrabbing

public void releaseGrabbing()