|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.agmodel.chizudata.ChizuRequest
Title:
Description:
Copyright: Copyright (c) 2002
Company:
| Field Summary | |
(package private) GeographicalArea |
area
|
(package private) int |
height
|
(package private) String |
language
|
(package private) double |
scale
|
(package private) String |
sourceID
|
(package private) int |
width
|
| Constructor Summary | |
ChizuRequest(Location2D center,
Rectangle rect,
double aScale,
String aLanguage,
String aSourceID)
Creates a request object to be sent to ChizuBroker |
|
| Method Summary | |
int |
getHeight()
Returns the height of the requested map, in pixels |
String |
getLanguage()
|
GeographicalArea |
getRegion()
Returns the geographical area calculated by the request constructor from the center, scale and rect parameters |
double |
getScale()
|
String |
getSourceID()
|
int |
getWidth()
Returns the width of the requested map, in pixels |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
GeographicalArea area
double scale
int width
int height
String language
String sourceID
| Constructor Detail |
public ChizuRequest(Location2D center,
Rectangle rect,
double aScale,
String aLanguage,
String aSourceID)
center - the center of the area for which a map is required.rect - the screen rectangle that the map must fill (in pixels)aScale - the scale of the required map (eg use 10,000 for 1:10,0000)aLanguage - the preferred language of the user (for placenames etc)aSourceID - the identifier of a preferred source - use null if no particular source is preferred.| Method Detail |
public String getSourceID()
public GeographicalArea getRegion()
public String getLanguage()
public double getScale()
public int getWidth()
public int getHeight()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||