com.esri.arcgisws
Class Patch

java.lang.Object
  extended by com.esri.arcgisws.Patch
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AreaPatch, LinePatch

public class Patch
extends Object
implements Serializable

legend patch.

Java class for Patch complex type.

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

 <complexType name="Patch">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PreserveAspectRatio" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="Geometry" type="{http://www.esri.com/schemas/ArcGIS/10.0}Geometry" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
legend patch.

See Also:
Serialized Form

Constructor Summary
Patch()
          Patch default constructor.
Patch(String name, Boolean preserveAspectRatio, Geometry geometry)
          Deprecated. 
 
Method Summary
 Geometry getGeometry()
          Patch geometry sized to fit the specified bounds.
 String getName()
          Gets the value of the name property.
 Boolean getPreserveAspectRatio()
          Gets the value of the preserveAspectRatio property.
 Boolean isPreserveAspectRatio()
           
 void setGeometry(Geometry value)
          Patch geometry sized to fit the specified bounds.
 void setName(String value)
          Sets the value of the name property.
 void setPreserveAspectRatio(Boolean value)
          Sets the value of the preserveAspectRatio property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Patch

@Deprecated
public Patch(String name,
                        Boolean preserveAspectRatio,
                        Geometry geometry)
Deprecated. 

Patch constructor.


Patch

public Patch()
Patch default constructor.

Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getPreserveAspectRatio

public Boolean getPreserveAspectRatio()
Gets the value of the preserveAspectRatio property.

Returns:
possible object is Boolean

isPreserveAspectRatio

public Boolean isPreserveAspectRatio()

setPreserveAspectRatio

public void setPreserveAspectRatio(Boolean value)
Sets the value of the preserveAspectRatio property.

Parameters:
value - allowed object is Boolean

getGeometry

public Geometry getGeometry()
Patch geometry sized to fit the specified bounds. Gets the value of the geometry property.

Returns:
possible object is Geometry

setGeometry

public void setGeometry(Geometry value)
Patch geometry sized to fit the specified bounds. Sets the value of the geometry property.

Parameters:
value - allowed object is Geometry