com.esri.arcgisws
Class CenterAndSize

java.lang.Object
  extended by com.esri.arcgisws.MapArea
      extended by com.esri.arcgisws.CenterAndSize
All Implemented Interfaces:
Serializable

public class CenterAndSize
extends MapArea
implements Serializable

Java class for CenterAndSize complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CenterAndSize">
   <complexContent>
     <extension base="{http://www.esri.com/schemas/ArcGIS/10.0}MapArea">
       <sequence>
         <element name="Center" type="{http://www.esri.com/schemas/ArcGIS/10.0}Point" minOccurs="0"/>
         <element name="Height" type="{http://www.w3.org/2001/XMLSchema}double"/>
         <element name="Width" type="{http://www.w3.org/2001/XMLSchema}double"/>
         <element name="Units" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
CenterAndSize()
          CenterAndSize default constructor.
CenterAndSize(Envelope extent, Point center, double height, double width, String units)
          Deprecated. 
 
Method Summary
 Point getCenter()
          Gets the value of the center property.
 double getHeight()
          Gets the value of the height property.
 String getUnits()
          Gets the value of the units property.
 double getWidth()
          Gets the value of the width property.
 void setCenter(Point value)
          Sets the value of the center property.
 void setHeight(double value)
          Sets the value of the height property.
 void setUnits(String value)
          Sets the value of the units property.
 void setWidth(double value)
          Sets the value of the width property.
 
Methods inherited from class com.esri.arcgisws.MapArea
getExtent, setExtent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CenterAndSize

@Deprecated
public CenterAndSize(Envelope extent,
                                Point center,
                                double height,
                                double width,
                                String units)
Deprecated. 

CenterAndSize constructor.


CenterAndSize

public CenterAndSize()
CenterAndSize default constructor.

Method Detail

getCenter

public Point getCenter()
Gets the value of the center property.

Returns:
possible object is Point

setCenter

public void setCenter(Point value)
Sets the value of the center property.

Parameters:
value - allowed object is Point

getHeight

public double getHeight()
Gets the value of the height property.


setHeight

public void setHeight(double value)
Sets the value of the height property.


getWidth

public double getWidth()
Gets the value of the width property.


setWidth

public void setWidth(double value)
Sets the value of the width property.


getUnits

public String getUnits()
Gets the value of the units property.

Returns:
possible object is String

setUnits

public void setUnits(String value)
Sets the value of the units property.

Parameters:
value - allowed object is String