|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapInterface
This interface defines the map.
Field Summary | |
---|---|
static byte |
AIRPHOTO
AIRPHOTO |
static byte |
ANGLEDEG
ANGLEDEG |
static byte |
ANGLERAD
ANGLERAD |
static byte |
CC
CC |
static double |
CENTIMETER_PER_INCH
CENTIMETER_PER_INCH |
static byte |
CL
CL |
static byte |
CR
CR |
static byte |
DD
DD contant |
static double |
DD_TO_METER
DD_TO_METER |
static byte |
FEET
FEET contant |
static double |
FEET_TO_METER
FEET_TO_METER |
static byte |
IMAGE
IMAGE |
static double |
INCH_TO_METER
INCH_TO_METER |
static byte |
INCHES
INCHES contant |
static double |
KILOMETER_TO_METER
KILOMETER_TO_METER |
static byte |
KILOMETERS
KILOMETERS contant |
static byte |
LC
LC |
static byte |
LINE
LINE |
static byte |
LL
LL |
static byte |
LR
LR |
static byte |
MAXX
MAXX contant |
static byte |
MAXY
MAXY contant |
static byte |
METERS
METERS contant |
static byte |
MILES
MILES contant |
static double |
MILES_TO_METER
MILES_TO_METER |
static byte |
MINX
MINX contant |
static byte |
MINY
MINY contant |
static byte |
POINT
POINT |
static byte |
POLYGON
POLYGON |
static byte |
TEXT
TEXT |
static byte |
UC
UC |
static byte |
UL
UL |
static byte |
UR
UR |
Method Summary | |
---|---|
void |
addLayer(LayerInterface layer)
Setter for property layers. |
Graphics2D |
drawLegend(Graphics2D graphics)
draws the legend on a graphics object |
Graphics2D |
drawMap(Graphics2D graphics)
draws the map on a graphics object |
Graphics2D |
drawReferenceMap(Graphics2D graphics)
draws the reference map on a graphics object |
Graphics2D |
drawScalebar(Graphics2D graphics)
draws the scalebar on a graphics object |
Rectangle2D |
getExtent()
Getter for property extent |
ImageInterface |
getImage()
Getter for property image |
List |
getLayers()
Getter for property layers |
String |
getName()
Getter for property name |
ReferenceMapInterface |
getReferenceMap()
Getter for property referenceMap |
double |
getScale()
returns the sclale of the map |
double |
getUnitImageRatio()
returns the scale of the Image |
int |
getUnits()
Getter for property units |
void |
setExtent(Rectangle2D extent)
Setter for property extent. |
void |
setImage(ImageInterface image)
Setter for property image. |
void |
setLayer(int index,
LayerInterface layer)
Setter for property layers. |
void |
setLayers(List layers)
Setter for property layers. |
void |
setName(String name)
Setter for property name. |
void |
setReferenceMap(ReferenceMapInterface referenceMap)
Setter for property referenceMap. |
void |
setUnits(int units)
Setter for property units. |
void |
zoom(double zoomFactor)
zooms the map with a prticular factor |
void |
zoomPoint(Point2D pixelPosition,
double zoomFactor)
zooms the map based on a given position in the image |
void |
zoomRectangle(SerializableRectangle2D rectangle)
zooms the map based on a given rectangle |
Field Detail |
---|
static final byte MINX
static final byte MINY
static final byte MAXX
static final byte MAXY
static final byte FEET
static final byte INCHES
static final byte KILOMETERS
static final byte METERS
static final byte MILES
static final byte DD
static final byte UL
static final byte UC
static final byte UR
static final byte CL
static final byte CC
static final byte CR
static final byte LL
static final byte LC
static final byte LR
static final byte TEXT
static final byte ANGLEDEG
static final byte ANGLERAD
static final byte IMAGE
static final byte AIRPHOTO
static final byte POLYGON
static final byte POINT
static final byte LINE
static final double FEET_TO_METER
static final double INCH_TO_METER
static final double KILOMETER_TO_METER
static final double MILES_TO_METER
static final double DD_TO_METER
static final double CENTIMETER_PER_INCH
Method Detail |
---|
Graphics2D drawLegend(Graphics2D graphics) throws GraphicsException, RemoteException
graphics
- the graphics object
GraphicsException
- on drawing failure
RemoteException
- on network failureGraphics2D drawMap(Graphics2D graphics) throws GraphicsException, RemoteException
graphics
- the graphics object
GraphicsException
- on drawing failure
RemoteException
- on network failureGraphics2D drawReferenceMap(Graphics2D graphics) throws GraphicsException, RemoteException
graphics
- the graphics object
GraphicsException
- on drawing failure
RemoteException
- on network failureGraphics2D drawScalebar(Graphics2D graphics) throws GraphicsException, RemoteException
graphics
- the graphics object
GraphicsException
- on drawing failure
RemoteException
- on network failureRectangle2D getExtent() throws RemoteException
RemoteException
- on network exceptionImageInterface getImage() throws RemoteException
RemoteException
- on network exceptionList getLayers() throws RemoteException
RemoteException
- on network exceptionString getName() throws RemoteException
RemoteException
- on network exceptionReferenceMapInterface getReferenceMap() throws RemoteException
RemoteException
- on network exceptiondouble getScale() throws RemoteException
RemoteException
- on network exceptiondouble getUnitImageRatio() throws RemoteException
RemoteException
- on network exceptionint getUnits() throws RemoteException
RemoteException
- on network exceptionvoid setExtent(Rectangle2D extent) throws RemoteException
extent
- New value of property extent..
RemoteException
- on network exceptionvoid setImage(ImageInterface image) throws RemoteException
image
- New value of property image.
RemoteException
- on network exceptionvoid setLayers(List layers) throws RemoteException
layers
- New value of property layers.
RemoteException
- on network exceptionvoid setLayer(int index, LayerInterface layer) throws RemoteException
index
- Index value of layerlayer
- New value of property layers.
RemoteException
- on network exceptionvoid addLayer(LayerInterface layer) throws RemoteException
layer
- New value of property layers.
RemoteException
- on network exceptionvoid setName(String name) throws RemoteException
name
- New value of property name.
RemoteException
- on network exceptionvoid setReferenceMap(ReferenceMapInterface referenceMap) throws RemoteException
referenceMap
- New value of property referenceMap.
RemoteException
- on network exceptionvoid setUnits(int units) throws RemoteException
units
- New value of property units.
RemoteException
- on network exceptionvoid zoom(double zoomFactor) throws RemoteException
zoomFactor
- (0=1)
RemoteException
- on network exceptionvoid zoomPoint(Point2D pixelPosition, double zoomFactor) throws RemoteException
pixelPosition
- the position in the imagezoomFactor
- the zoomFactor (0=1)
RemoteException
- on network exceptionvoid zoomRectangle(SerializableRectangle2D rectangle) throws RemoteException
rectangle
- a rectangle in the map (image units)
RemoteException
- on network exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |