|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.aims.mtier.model.envelope.Envelope
public class Envelope
Defines an Envelope object that is used for setting extents of the map, setting spatial queries in a FeatureLayer's Filter object, and displaying individual extents of recordset results.
Field Summary | |
---|---|
static String |
EXTENTLIMIT
|
static String |
INTIALEXTENT
|
Constructor Summary | |
---|---|
Envelope()
Creates an instance of an Envelope object. |
Method Summary | |
---|---|
double |
getMaxX()
Returns the Envelope object's maximum x coordinate value. |
double |
getMaxY()
Returns the Envelope object's maximum y coordinate value. |
double |
getMinX()
Returns the Envelope object's minimum x coordinate value. |
double |
getMinY()
Returns the Envelope object's minimum y coordinate value. |
String |
getName()
Identifies the type of envelope extent in a viewer or map configuration file. |
String |
getType()
Returns a name string that defines the type of this Shape. |
boolean |
isReaspect()
Flag indicating whether the ENVELOPE should be stretched to fit the viewing area in the client. |
void |
setMaxX(double maxX)
Sets the Envelope object's x coordinate value. |
void |
setMaxY(double maxY)
Sets the Envelope object's maximum y coordinate value. |
void |
setMinX(double minX)
Sets the Envelope object's minimum x coordinate value. |
void |
setMinY(double minY)
Sets the Envelope object's minimum y coordinate value. |
void |
setName(String value)
Sets the type of envelope extent. |
void |
setReaspect(boolean value)
Sets the reaspect value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INTIALEXTENT
public static final String EXTENTLIMIT
Constructor Detail |
---|
public Envelope()
Envelope env = new Envelope();
Method Detail |
---|
public void setMinX(double minX)
env.setMinX(-124.00);
minX
- is the x minimum value.getMinX()
public void setMinY(double minY)
env.setMinY(25.0);
minY
- is the y minimum value.getMinY()
public void setMaxX(double maxX)
env.setMaxX(100.00);
maxX
- is the X maximum value.getMaxX()
public void setMaxY(double maxY)
env.setMaxY(45.0);
maxY
- is the Y maximum value.getMaxY()
public double getMinX()
double minx = env.getMinX();
setMinX(double)
public double getMinY()
double miny = env.getMinY();
setMinY(double)
public double getMaxX()
double maxx = env.getMaxX();
setMaxX(double)
public double getMaxY()
double maxy = env.getMaxY();
setMaxY(double)
public String getType()
getType
in interface Shape
public String getName()
public void setName(String value)
value
- Stringpublic boolean isReaspect()
public void setReaspect(boolean value)
value
- boolean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |