|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.carto.ACMap
public class ACMap
Container for the display and manipulation of ArcIMS map services.
Constructor Summary | |
---|---|
ACMap()
Constructs a ACMap using ArcGIS Engine. |
|
ACMap(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. ACMap theACMap = (ACMap) obj; |
Method Summary | |
---|---|
void |
connect(IIMSAxlRequest request)
Connects to the ArcIMS service. |
boolean |
equals(Object o)
Compare this object with another |
IEnvelope |
getAreaOfInterest()
The area of interest for the ArcIMS service. |
IColor |
getBackgroundColor()
The background color. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getImageRequestXml(IEnvelope pExtent,
double dpi,
int width,
int height,
boolean scaleSymbols)
The xml to request an image. |
IACLayer |
getLayer(int index)
The layer at the given index. |
int |
getLayerCount()
The number of layers in the ArcIMS service. |
int |
getMapUnits()
The map units for the ArcIMS service. |
int |
getMaxPrintPixels()
The maximum number of pixels allowed for an image print request. |
ISpatialReference |
getNativeSpatialReference()
The native spatial reference of the data. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IColor |
getTransparentColor()
The transparent color. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
moveLayer(IACLayer layer,
int toIndex)
Moves a layer to another position. |
void |
readExternal(ObjectInput in)
|
String |
requestImage(IEnvelope pExtent,
double dpi,
int width,
int height,
boolean scaleSymbols)
The new image location as an URL. |
String |
requestImageWithXml(String xml)
The new image location as an URL. |
void |
save(IStream pstm,
int fClearDirty)
save |
String |
sendAxlQueryRequest(String axl,
ITrackCancel trackCancel,
boolean showConnectingAVI,
boolean processMessages)
Sends an Axl query request. |
String |
sendAxlRequest(String axl,
ITrackCancel trackCancel,
boolean showConnectingAVI,
boolean processMessages)
Sends an Axl request. |
void |
setBackgroundColor(IColor color)
The background color. |
void |
setSpatialReferenceByRef(ISpatialReference rhs1)
The spatial reference of the ArcIMS service. |
void |
setTransparentColor(IColor color)
The transparent color. |
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 ACMap() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic ACMap(Object obj) throws IOException
ACMap theACMap = (ACMap) obj;
obj
to ACMap
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String sendAxlRequest(String axl, ITrackCancel trackCancel, boolean showConnectingAVI, boolean processMessages) throws IOException, AutomationException
sendAxlRequest
in interface IACMap
axl
- The axl (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)showConnectingAVI
- The showConnectingAVI (in)processMessages
- The processMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String sendAxlQueryRequest(String axl, ITrackCancel trackCancel, boolean showConnectingAVI, boolean processMessages) throws IOException, AutomationException
sendAxlQueryRequest
in interface IACMap
axl
- The axl (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in)showConnectingAVI
- The showConnectingAVI (in)processMessages
- The processMessages (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor getBackgroundColor() throws IOException, AutomationException
getBackgroundColor
in interface IACMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBackgroundColor(IColor color) throws IOException, AutomationException
setBackgroundColor
in interface IACMap
color
- 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 IACMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTransparentColor(IColor color) throws IOException, AutomationException
setTransparentColor
in interface IACMap
color
- 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 String requestImage(IEnvelope pExtent, double dpi, int width, int height, boolean scaleSymbols) throws IOException, AutomationException
requestImage
in interface IACMap
pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)dpi
- The dpi (in)width
- The width (in)height
- The height (in)scaleSymbols
- The scaleSymbols (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String requestImageWithXml(String xml) throws IOException, AutomationException
requestImageWithXml
in interface IACMap
xml
- The xml (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getImageRequestXml(IEnvelope pExtent, double dpi, int width, int height, boolean scaleSymbols) throws IOException, AutomationException
getImageRequestXml
in interface IACMap
pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)dpi
- The dpi (in)width
- The width (in)height
- The height (in)scaleSymbols
- The scaleSymbols (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getLayerCount() throws IOException, AutomationException
getLayerCount
in interface IACMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IACLayer getLayer(int index) throws IOException, AutomationException
getLayer
in interface IACMap
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveLayer(IACLayer layer, int toIndex) throws IOException, AutomationException
moveLayer
in interface IACMap
layer
- A reference to a com.esri.arcgis.carto.IACLayer (in)toIndex
- The toIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference rhs1) throws IOException, AutomationException
setSpatialReferenceByRef
in interface IACMap
rhs1
- 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 ISpatialReference getNativeSpatialReference() throws IOException, AutomationException
getNativeSpatialReference
in interface IACMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getAreaOfInterest() throws IOException, AutomationException
getAreaOfInterest
in interface IACMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapUnits() throws IOException, AutomationException
getMapUnits
in interface IACMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMaxPrintPixels() throws IOException, AutomationException
getMaxPrintPixels
in interface IACMap
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void connect(IIMSAxlRequest request) throws IOException, AutomationException
connect
in interface IACMapAdmin
request
- A reference to a com.esri.arcgis.gisclient.IIMSAxlRequest (in)
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 IPersist
pClassID
- 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 isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- 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 IPersistStream
pstm
- 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 IPersistStream
pstm
- 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 IPersistStream
pcbSize
- 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 writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |