com.esri.aims.mtier.model.envelope
Class Envelope

java.lang.Object
  |
  +--com.esri.aims.mtier.model.acetate.Object
        |
        +--com.esri.aims.mtier.model.envelope.Envelope
All Implemented Interfaces:
AcetateElement, Serializable, Shape

public class Envelope
extends Object
implements Shape, Serializable

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.

See Also:
Serialized Form

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

Envelope

public Envelope()
Creates an instance of an Envelope object. Example:
Envelope env = new Envelope();

Method Detail

setMinX

public void setMinX(double minX)
Sets the Envelope object's minimum x coordinate value. Example:
env.setMinX(-124.00);

Parameters:
minX - is the x minimum value.
See Also:
#getXMin

setMinY

public void setMinY(double minY)
Sets the Envelope object's minimum y coordinate value. Example:
env.setMinY(25.0);

Parameters:
minY - is the y minimum value.
See Also:
#getYMin

setMaxX

public void setMaxX(double maxX)
Sets the Envelope object's x coordinate value. Example:
env.setMaxX(100.00);

Parameters:
maxX - is the X maximum value.
See Also:
#getXMax

setMaxY

public void setMaxY(double maxY)
Sets the Envelope object's maximum y coordinate value. Example:
env.setMaxY(45.0);

Parameters:
maxY - is the Y maximum value.
See Also:
#getYMax

getMinX

public double getMinX()
Returns the Envelope object's minimum x coordinate value. Example:
double minx = env.getMinX();

Returns:
double
See Also:
#setXMin

getMinY

public double getMinY()
Returns the Envelope object's minimum y coordinate value. Example:
double miny = env.getMinY();

Returns:
double
See Also:
#setYMin

getMaxX

public double getMaxX()
Returns the Envelope object's maximum x coordinate value. Example:
double maxx = env.getMaxX();

Returns:
double
See Also:
#setXMax

getMaxY

public double getMaxY()
Returns the Envelope object's maximum y coordinate value. Example:
double maxy = env.getMaxY();

Returns:
double
See Also:
#setYMax

getType

public String getType()
Returns a name string that defines the type of this Shape.

Specified by:
getType in interface Shape
Specified by:
getType in class Object
Returns:
String