|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.MapDescriptor
public class MapDescriptor
COM Class 'MapDescriptor'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'The Map Descriptor coclass contains a description 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 =
Field Summary |
---|
Constructor Summary | |
---|---|
MapDescriptor()
Constructs a MapDescriptor using ArcGIS Engine. |
|
MapDescriptor(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MapDescriptor theMapDescriptor = (MapDescriptor) obj; |
Method Summary | |
---|---|
void |
addMapSurround(IMapSurround surround,
int xPixelOrigin,
int yPixelOrigin,
int anchorPoint)
Call this multiple times to place surrounds on the surface of the map. |
void |
addPixelGraphic(IElement graphic)
Call this multiple times to place graphics in pixel space on the map above Custom Graphics and Map Surrounds. |
void |
clearMapSurrounds()
Remove all surrounds from the map. |
void |
clearPixelGraphics()
Remove all pixel graphics from the map. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
double |
getAngle()
The angle/rotation of the map in degrees, measured anti-clockwise. |
IColor |
getBackgroundColor()
The background color of the map. |
static java.lang.String |
getClsid()
getClsid. |
IArray |
getCustomGraphics()
Custom graphics of the map. |
IEnvelope |
getExtent()
The current extent of the map. |
IEnvelope |
getFullExtent()
The full extent of the map. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IGeometryCollection |
getLabelBarriers()
The barriers used for labeling. |
java.lang.Object |
getLayerOrder()
The layer order for the map. |
IArray |
getLayers()
The layer descriptors of the map. |
IPoint |
getMapCenter()
The center of the map. |
double |
getMapScale()
The scale of the map. |
java.lang.String |
getName()
The name of the map. |
ISpatialReference |
getSpatialReference()
The spatial reference of the map. |
IColor |
getTransparentColor()
The color used for transparency (100 %). |
int |
hashCode()
the hashcode for this object |
boolean |
isKeepAspectRatio()
Indicates whether of not to maintain the aspect ratio. |
void |
release()
Release a MapDescriptor. |
void |
setAngle(double angleDegrees)
The angle/rotation of the map in degrees, measured anti-clockwise. |
void |
setBackgroundColor(IColor color)
The background color of the map. |
void |
setCustomGraphics(IArray elements)
Custom graphics of the map. |
void |
setExtent(IEnvelope extent)
The current extent of the map. |
void |
setFullExtent(IEnvelope extent)
The full extent of the map. |
void |
setKeepAspectRatio(boolean keep)
Indicates whether of not to maintain the aspect ratio. |
void |
setLabelBarriers(IGeometryCollection barriers)
The barriers used for labeling. |
void |
setLayerOrder(java.lang.Object layerIds)
The layer order for the map. |
void |
setLayers(IArray layerDescriptors)
The layer descriptors of the map. |
void |
setMapCenter(IPoint center)
The center of the map. |
void |
setMapScale(double mapScale)
The scale of the map. |
void |
setName(java.lang.String name)
The name of the map. |
void |
setSpatialReferenceByRef(ISpatialReference spatialReference)
The spatial reference of the map. |
void |
setTransparentColor(IColor color)
The color used for transparency (100 %). |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapDescriptor() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic MapDescriptor(java.lang.Object obj) throws java.io.IOException
MapDescriptor theMapDescriptor = (MapDescriptor) obj;
obj
to MapDescriptor
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IMapDescriptor
java.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 IMapDescriptor
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getFullExtent() throws java.io.IOException, AutomationException
getFullExtent
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFullExtent(IEnvelope extent) throws java.io.IOException, AutomationException
setFullExtent
in interface IMapDescriptor
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.IOException, AutomationException
getExtent
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtent(IEnvelope extent) throws java.io.IOException, AutomationException
setExtent
in interface IMapDescriptor
extent
- A reference to a com.esri.arcgis.geometry.IEnvelope (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 IMapDescriptor
java.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 IMapDescriptor
spatialReference
- 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 double getAngle() throws java.io.IOException, AutomationException
getAngle
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAngle(double angleDegrees) throws java.io.IOException, AutomationException
setAngle
in interface IMapDescriptor
angleDegrees
- The angleDegrees (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getLayers() throws java.io.IOException, AutomationException
getLayers
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayers(IArray layerDescriptors) throws java.io.IOException, AutomationException
setLayers
in interface IMapDescriptor
layerDescriptors
- A reference to a com.esri.arcgis.system.IArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getLayerOrder() throws java.io.IOException, AutomationException
getLayerOrder
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLayerOrder(java.lang.Object layerIds) throws java.io.IOException, AutomationException
setLayerOrder
in interface IMapDescriptor
layerIds
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getCustomGraphics() throws java.io.IOException, AutomationException
getCustomGraphics
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCustomGraphics(IArray elements) throws java.io.IOException, AutomationException
setCustomGraphics
in interface IMapDescriptor
elements
- A reference to a com.esri.arcgis.system.IArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometryCollection getLabelBarriers() throws java.io.IOException, AutomationException
getLabelBarriers
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLabelBarriers(IGeometryCollection barriers) throws java.io.IOException, AutomationException
setLabelBarriers
in interface IMapDescriptor
barriers
- A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMapScale() throws java.io.IOException, AutomationException
getMapScale
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapScale(double mapScale) throws java.io.IOException, AutomationException
setMapScale
in interface IMapDescriptor
mapScale
- The mapScale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getMapCenter() throws java.io.IOException, AutomationException
getMapCenter
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMapCenter(IPoint center) throws java.io.IOException, AutomationException
setMapCenter
in interface IMapDescriptor
center
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isKeepAspectRatio() throws java.io.IOException, AutomationException
isKeepAspectRatio
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setKeepAspectRatio(boolean keep) throws java.io.IOException, AutomationException
setKeepAspectRatio
in interface IMapDescriptor
keep
- The keep (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getBackgroundColor() throws java.io.IOException, AutomationException
getBackgroundColor
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackgroundColor(IColor color) throws java.io.IOException, AutomationException
setBackgroundColor
in interface IMapDescriptor
color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getTransparentColor() throws java.io.IOException, AutomationException
getTransparentColor
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparentColor(IColor color) throws java.io.IOException, AutomationException
setTransparentColor
in interface IMapDescriptor
color
- A reference to a com.esri.arcgis.display.IColor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addMapSurround(IMapSurround surround, int xPixelOrigin, int yPixelOrigin, int anchorPoint) throws java.io.IOException, AutomationException
addMapSurround
in interface IMapDescriptor
surround
- A reference to a com.esri.arcgis.carto.IMapSurround (in)xPixelOrigin
- The xPixelOrigin (in)yPixelOrigin
- The yPixelOrigin (in)anchorPoint
- A com.esri.arcgis.carto.esriAnchorPointEnum constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearMapSurrounds() throws java.io.IOException, AutomationException
clearMapSurrounds
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addPixelGraphic(IElement graphic) throws java.io.IOException, AutomationException
addPixelGraphic
in interface IMapDescriptor
graphic
- A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearPixelGraphics() throws java.io.IOException, AutomationException
clearPixelGraphics
in interface IMapDescriptor
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |