|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.acetate.Object | +--com.esri.aims.mtier.model.envelope.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.
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 |
getType()
Returns a name string that defines the type of this Shape. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.#getXMin
public void setMinY(double minY)
env.setMinY(25.0);
minY
- is the y minimum value.#getYMin
public void setMaxX(double maxX)
env.setMaxX(100.00);
maxX
- is the X maximum value.#getXMax
public void setMaxY(double maxY)
env.setMaxY(45.0);
maxY
- is the Y maximum value.#getYMax
public double getMinX()
double minx = env.getMinX();
#setXMin
public double getMinY()
double miny = env.getMinY();
#setYMin
public double getMaxX()
double maxx = env.getMaxX();
#setXMax
public double getMaxY()
double maxy = env.getMaxY();
#setYMax
public String getType()
getType
in interface Shape
getType
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |