|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.maplex.MaplexAnnotateMap
public class MaplexAnnotateMap
Labels feature layers in a map.
The MaplexAnnotateMap object creates annotation and displays dynamic labels. For this purpose it uses the MaplexOverposter object internally.
The usage of MaplexAnnotateMap is identical to that of Carto::AnnotateMap. These two objects represent the highest level at which the label engines can be driven.
| Constructor Summary | |
|---|---|
MaplexAnnotateMap()
Constructs a MaplexAnnotateMap using ArcGIS Engine. |
|
MaplexAnnotateMap(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MaplexAnnotateMap theMaplexAnnotateMap = (MaplexAnnotateMap) obj; |
|
| Method Summary | |
|---|---|
void |
addIAnnotationErrorEventsListener(IAnnotationErrorEvents theListener)
addIAnnotationErrorEventsListener. |
void |
draw(IDisplay display,
IAnnotateMapProperties annoMapCmdProps,
IMap map,
ITrackCancel trackCancel)
Draws labels for feature layers based on the properties given. |
void |
draw(IDisplay display,
IOverposterProperties overposterProps,
IAnnotateMapProperties annoMapCmdProps,
IMap map,
ITrackCancel trackCancel)
Draws labels for feature layers based on the properties given. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IUID |
getFeatureLayerPropertiesID()
The UID that is expected for feature layer properties. |
String |
getName()
Name of the engine that will create the labels ( annotation). |
IUID |
getOverposterPropertiesID()
The UID that is expected for overposter properties. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
void |
label(IAnnotateMapProperties annoMapCmdProps,
IMap map,
ITrackCancel trackCancel)
Labels feature layers based on the properties given. |
void |
label(IOverposterProperties overposterProps,
IAnnotateMapProperties annoMapCmdProps,
IMap map,
ITrackCancel trackCancel)
Labels feature layers based on the properties given. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
removeIAnnotationErrorEventsListener(IAnnotationErrorEvents theListener)
removeIAnnotationErrorEventsListener. |
void |
save(IStream pstm,
int fClearDirty)
save |
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 MaplexAnnotateMap()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public MaplexAnnotateMap(Object obj)
throws IOException
MaplexAnnotateMap theMaplexAnnotateMap = (MaplexAnnotateMap) obj;
obj to MaplexAnnotateMap.
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 void addIAnnotationErrorEventsListener(IAnnotationErrorEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.carto.IAnnotationErrorEvents interface.
IOException - If there are communications problems.
public void removeIAnnotationErrorEventsListener(IAnnotationErrorEvents theListener)
throws IOException
theListener - An object that implements the com.esri.arcgis.carto.IAnnotationErrorEvents interface.
IOException - If there are communications problems.
public String getName()
throws IOException,
AutomationException
getName in interface IAnnotateMapgetName in interface IAnnotateMap2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getFeatureLayerPropertiesID()
throws IOException,
AutomationException
getFeatureLayerPropertiesID in interface IAnnotateMapgetFeatureLayerPropertiesID in interface IAnnotateMap2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void label(IAnnotateMapProperties annoMapCmdProps,
IMap map,
ITrackCancel trackCancel)
throws IOException,
AutomationException
label in interface IAnnotateMapannoMapCmdProps - A reference to a com.esri.arcgis.carto.IAnnotateMapProperties (in)map - A reference to a com.esri.arcgis.carto.IMap (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay display,
IAnnotateMapProperties annoMapCmdProps,
IMap map,
ITrackCancel trackCancel)
throws IOException,
AutomationException
draw in interface IAnnotateMapdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)annoMapCmdProps - A reference to a com.esri.arcgis.carto.IAnnotateMapProperties (in)map - A reference to a com.esri.arcgis.carto.IMap (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void label(IOverposterProperties overposterProps,
IAnnotateMapProperties annoMapCmdProps,
IMap map,
ITrackCancel trackCancel)
throws IOException,
AutomationException
label in interface IAnnotateMap2overposterProps - A reference to a com.esri.arcgis.carto.IOverposterProperties (in)annoMapCmdProps - A reference to a com.esri.arcgis.carto.IAnnotateMapProperties (in)map - A reference to a com.esri.arcgis.carto.IMap (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(IDisplay display,
IOverposterProperties overposterProps,
IAnnotateMapProperties annoMapCmdProps,
IMap map,
ITrackCancel trackCancel)
throws IOException,
AutomationException
draw in interface IAnnotateMap2display - A reference to a com.esri.arcgis.display.IDisplay (in)overposterProps - A reference to a com.esri.arcgis.carto.IOverposterProperties (in)annoMapCmdProps - A reference to a com.esri.arcgis.carto.IAnnotateMapProperties (in)map - A reference to a com.esri.arcgis.carto.IMap (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getOverposterPropertiesID()
throws IOException,
AutomationException
getOverposterPropertiesID in interface IAnnotateMap2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws IOException,
AutomationException
IConnectionPointContainer is a Microsoft interface. Please refer to MSDN for information about this interface.
findConnectionPoint in interface IConnectionPointContainerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (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 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 interfaceSupportsErrorInfo(GUID riid)
throws IOException,
AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 | ||||||||