|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.MapDescriptor
public class MapDescriptor
The Map Descriptor coclass contains a description of a map in the current document.
| Constructor Summary | |
|---|---|
MapDescriptor()
Constructs a MapDescriptor using ArcGIS Engine. |
|
MapDescriptor(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(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 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. |
IGeometryCollection |
getLabelBarriers()
The barriers used for labeling. |
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. |
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 |
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(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(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 |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public MapDescriptor()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public MapDescriptor(Object obj)
throws IOException
MapDescriptor theMapDescriptor = (MapDescriptor) obj;
obj to MapDescriptor.
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 String getName()
throws IOException,
AutomationException
getName in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(String name)
throws IOException,
AutomationException
setName in interface IMapDescriptorname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getFullExtent()
throws IOException,
AutomationException
getFullExtent in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFullExtent(IEnvelope extent)
throws IOException,
AutomationException
setFullExtent in interface IMapDescriptorextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws IOException,
AutomationException
getExtent in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExtent(IEnvelope extent)
throws IOException,
AutomationException
setExtent in interface IMapDescriptorextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getSpatialReference()
throws IOException,
AutomationException
getSpatialReference in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialReferenceByRef(ISpatialReference spatialReference)
throws IOException,
AutomationException
setSpatialReferenceByRef in interface IMapDescriptorspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAngle()
throws IOException,
AutomationException
getAngle in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAngle(double angleDegrees)
throws IOException,
AutomationException
setAngle in interface IMapDescriptorangleDegrees - The angleDegrees (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getLayers()
throws IOException,
AutomationException
getLayers in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayers(IArray layerDescriptors)
throws IOException,
AutomationException
setLayers in interface IMapDescriptorlayerDescriptors - A reference to a com.esri.arcgis.system.IArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getLayerOrder()
throws IOException,
AutomationException
getLayerOrder in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerOrder(Object layerIds)
throws IOException,
AutomationException
setLayerOrder in interface IMapDescriptorlayerIds - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IArray getCustomGraphics()
throws IOException,
AutomationException
getCustomGraphics in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomGraphics(IArray elements)
throws IOException,
AutomationException
setCustomGraphics in interface IMapDescriptorelements - A reference to a com.esri.arcgis.system.IArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometryCollection getLabelBarriers()
throws IOException,
AutomationException
getLabelBarriers in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLabelBarriers(IGeometryCollection barriers)
throws IOException,
AutomationException
setLabelBarriers in interface IMapDescriptorbarriers - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMapScale()
throws IOException,
AutomationException
getMapScale in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapScale(double mapScale)
throws IOException,
AutomationException
setMapScale in interface IMapDescriptormapScale - The mapScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IPoint getMapCenter()
throws IOException,
AutomationException
getMapCenter in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMapCenter(IPoint center)
throws IOException,
AutomationException
setMapCenter in interface IMapDescriptorcenter - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isKeepAspectRatio()
throws IOException,
AutomationException
isKeepAspectRatio in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setKeepAspectRatio(boolean keep)
throws IOException,
AutomationException
setKeepAspectRatio in interface IMapDescriptorkeep - The keep (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getBackgroundColor()
throws IOException,
AutomationException
getBackgroundColor in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setBackgroundColor(IColor color)
throws IOException,
AutomationException
setBackgroundColor in interface IMapDescriptorcolor - A reference to a com.esri.arcgis.display.IColor (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor getTransparentColor()
throws IOException,
AutomationException
getTransparentColor in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setTransparentColor(IColor color)
throws IOException,
AutomationException
setTransparentColor in interface IMapDescriptorcolor - A reference to a com.esri.arcgis.display.IColor (in)
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 IOException,
AutomationException
addMapSurround in interface IMapDescriptorsurround - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearMapSurrounds()
throws IOException,
AutomationException
clearMapSurrounds in interface IMapDescriptorIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addPixelGraphic(IElement graphic)
throws IOException,
AutomationException
addPixelGraphic in interface IMapDescriptorgraphic - A reference to a com.esri.arcgis.carto.IElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void clearPixelGraphics()
throws IOException,
AutomationException
clearPixelGraphics in interface IMapDescriptorIOException - 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 | ||||||||