|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.FeatureExtent
public class FeatureExtent
The Feature Extent coclass allows you to zoom to selected features in a layer.
| Constructor Summary | |
|---|---|
FeatureExtent()
Constructs a FeatureExtent using ArcGIS Engine. |
|
FeatureExtent(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FeatureExtent theFeatureExtent = (FeatureExtent) obj; |
|
| Method Summary | |
|---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
double |
getDefaultScale()
Scale at which the extent of a single point is drawn. |
double |
getExpandRatio()
Ratio used to expand the extent. |
IEnvelope |
getExtent()
The geographic extent of the map. |
IFIDSet |
getFeatureIDs()
The set of feature IDs. |
int |
getLayerID()
The ID of the layer. |
String |
getMapName()
Name of the map (data frame). |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setDefaultScale(double mapScale)
Scale at which the extent of a single point is drawn. |
void |
setExpandRatio(double ratio)
Ratio used to expand the extent. |
void |
setFeatureIDs(IFIDSet featureIDs)
The set of feature IDs. |
void |
setLayerID(int layerID)
The ID of the layer. |
void |
setMapName(String name)
Name of the map (data frame). |
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public FeatureExtent()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public FeatureExtent(Object obj)
throws IOException
FeatureExtent theFeatureExtent = (FeatureExtent) obj;
obj to FeatureExtent.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IEnvelope getExtent()
throws IOException,
AutomationException
getExtent in interface IMapAreaIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getMapName()
throws IOException,
AutomationException
getMapName in interface IFeatureExtentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapName(String name)
throws IOException,
AutomationException
setMapName in interface IFeatureExtentname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLayerID()
throws IOException,
AutomationException
getLayerID in interface IFeatureExtentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerID(int layerID)
throws IOException,
AutomationException
setLayerID in interface IFeatureExtentlayerID - The layerID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFIDSet getFeatureIDs()
throws IOException,
AutomationException
getFeatureIDs in interface IFeatureExtentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFeatureIDs(IFIDSet featureIDs)
throws IOException,
AutomationException
setFeatureIDs in interface IFeatureExtentfeatureIDs - A reference to a com.esri.arcgis.geodatabase.IFIDSet (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getExpandRatio()
throws IOException,
AutomationException
Use ExpandRatio to add a "buffer" around the requested geographic extent. For example, an ExpandRatio value of 1.5 will expand the map extent by 1.5 times.ExpandRatio should be used to ensure that the set of features can be viewed easily. Otherwise, some features may be at the very edge of the displayed map extent. If the ExpandRatio is not set (the default value is 1) some of the selected features will be located at the very edge of the map image. A number greater than 1 will "zoom out", providing a spatial buffer around the selected features. A number less than 1 will "zoom in".
getExpandRatio in interface IFeatureExtentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExpandRatio(double ratio)
throws IOException,
AutomationException
setExpandRatio in interface IFeatureExtentratio - The ratio (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getDefaultScale()
throws IOException,
AutomationException
Use DefaultScale to control the map scale when zooming to a single point feature. The DefaultScale value only affects conditions where a single point feature is selected. This value will be ignored when selecting multiple points or when selecting other feature types. If this value is not set and FeatureIDs is comprised of a single point feature, the new spatial extent may be too large.
getDefaultScale in interface IFeatureExtentIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDefaultScale(double mapScale)
throws IOException,
AutomationException
setDefaultScale in interface IFeatureExtentmapScale - The mapScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void serialize(IXMLSerializeData data)
throws IOException,
AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deserialize(IXMLSerializeData data)
throws IOException,
AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty in interface IPersistStreamIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws IOException,
AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws IOException,
AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||