public class MapDescription extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IMapDescription, IMapTimeDescription, IMapServerGeoTransformation, IXMLSerialize, IPersistStream, IPersist, java.io.Externalizable
Description 'The Map Description coclass contains settings of a map in the current document.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
IID, IID4a81affe_0883_4062_8536_85ab858a10a5, xxDummyIID, IIDaa4291a6_8c04_4519_8aa5_4edb246f726b, xxDummyIID, IIDae983588_93a2_465f_8228_0617d8d5c23b, xxDummyIID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummyIID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046| Constructor and Description |
|---|
MapDescription()
Constructs a MapDescription using ArcGIS Engine.
|
MapDescription(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
MapDescription theMapDescription = (MapDescription) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
IGeoTransformation |
getGeoTransformation()
On-the-fly geographic transformations.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
ILayerDescriptions |
getLayerDescriptions()
A collection of Layer Description objects, each describing a layer within the map (data frame).
|
IMapArea |
getMapArea()
The display area of the map (data frame).
|
double |
getMapRotation()
The angle/rotation of the map (data frame) in degrees, measured anti-clockwise.
|
java.lang.String |
getName()
The name of the map (data frame).
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
ISpatialReference |
getSpatialReference()
The spatial reference of the map (data frame).
|
ITimeReference |
getTimeReference()
Time reference used by the time aware content.
|
ITimeValue |
getTimeValue()
Time value that will be used by the time aware content of the map.
|
IColorDescription |
getTransparentColor()
The color that is transparent (100 %).
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setGeoTransformationByRef(IGeoTransformation transformations)
On-the-fly geographic transformations.
|
void |
setLayerDescriptions(ILayerDescriptions layerDescriptions)
A collection of Layer Description objects, each describing a layer within the map (data frame).
|
void |
setMapArea(IMapArea area)
The display area of the map (data frame).
|
void |
setMapRotation(double angleDegrees)
The angle/rotation of the map (data frame) in degrees, measured anti-clockwise.
|
void |
setName(java.lang.String name)
The name of the map (data frame).
|
void |
setSpatialReferenceByRef(ISpatialReference spatialReference)
The spatial reference of the map (data frame).
|
void |
setTimeReferenceByRef(ITimeReference timeReference)
Time reference used by the time aware content.
|
void |
setTimeValueByRef(ITimeValue timeValue)
Time value that will be used by the time aware content of the map.
|
void |
setTransparentColor(IColorDescription color)
The color that is transparent (100 %).
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public MapDescription()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic MapDescription(java.lang.Object obj)
throws java.io.IOException
MapDescription theMapDescription = (MapDescription) obj;obj to MapDescription.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IMapDescriptionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
setName in interface IMapDescriptionname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IMapArea getMapArea() throws java.io.IOException, AutomationException
getMapArea in interface IMapDescriptionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMapArea(IMapArea area) throws java.io.IOException, AutomationException
setMapArea in interface IMapDescriptionarea - A reference to a com.esri.arcgis.carto.IMapArea (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ILayerDescriptions getLayerDescriptions() throws java.io.IOException, AutomationException
getLayerDescriptions in interface IMapDescriptionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setLayerDescriptions(ILayerDescriptions layerDescriptions) throws java.io.IOException, AutomationException
setLayerDescriptions in interface IMapDescriptionlayerDescriptions - A reference to a com.esri.arcgis.carto.ILayerDescriptions (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double getMapRotation()
throws java.io.IOException,
AutomationException
getMapRotation in interface IMapDescriptionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMapRotation(double angleDegrees)
throws java.io.IOException,
AutomationException
setMapRotation in interface IMapDescriptionangleDegrees - The angleDegrees (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
getSpatialReference in interface IMapDescriptionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference spatialReference) throws java.io.IOException, AutomationException
setSpatialReferenceByRef in interface IMapDescriptionspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IColorDescription getTransparentColor() throws java.io.IOException, AutomationException
getTransparentColor in interface IMapDescriptionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setTransparentColor(IColorDescription color) throws java.io.IOException, AutomationException
setTransparentColor in interface IMapDescriptioncolor - A reference to a com.esri.arcgis.carto.IColorDescription (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ITimeValue getTimeValue() throws java.io.IOException, AutomationException
getTimeValue in interface IMapTimeDescriptionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setTimeValueByRef(ITimeValue timeValue) throws java.io.IOException, AutomationException
setTimeValueByRef in interface IMapTimeDescriptiontimeValue - A reference to a com.esri.arcgis.system.ITimeValue (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ITimeReference getTimeReference() throws java.io.IOException, AutomationException
getTimeReference in interface IMapTimeDescriptionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setTimeReferenceByRef(ITimeReference timeReference) throws java.io.IOException, AutomationException
setTimeReferenceByRef in interface IMapTimeDescriptiontimeReference - A reference to a com.esri.arcgis.system.ITimeReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setGeoTransformationByRef(IGeoTransformation transformations) throws java.io.IOException, AutomationException
setGeoTransformationByRef in interface IMapServerGeoTransformationtransformations - A reference to a com.esri.arcgis.geometry.IGeoTransformation (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IGeoTransformation getGeoTransformation() throws java.io.IOException, AutomationException
getGeoTransformation in interface IMapServerGeoTransformationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException