|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.maplex.IMaplexOverposterProxy
Provides access to members that control the Maplex Overposter.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IMaplexOverposterProxy()
For internal use only |
|
IMaplexOverposterProxy(java.lang.Object obj)
|
protected |
IMaplexOverposterProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IMaplexOverposterProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IMaplexOverposterProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addBarriers(int weight,
IGeometryCollection barriers)
Adds a barrier object that placed objects must avoid. |
int |
addClass(ILabelEngineLayerProperties props)
Adds a class to the overposter and specifies its properties. |
void |
addFeature(int classIndex,
IGeometry featureShape,
ISymbol featureSymbol,
int featureID,
java.lang.String label,
double labelAngle,
int mapLevel)
Adds a feature with its associated label (optional) to the overposter. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
void |
addSymbol(int classIndex,
ISymbol symbol,
IGeometry geometry,
int featureID)
Adds a symbol to be placed. |
int |
getCapabilities(ILayer layer)
Overposter capabilities for the specified layer. |
int |
getClassCount()
The number of classes. |
int |
getPlacedLabelCount()
The number of unplaced labels. |
IEnumMaplexPlacedLabel |
getPlacedLabels()
Enumeration of placed labels. |
int |
getUnplacedLabelCount()
The number of unplaced labels. |
IEnumMaplexPlacedLabel |
getUnplacedLabels()
Enumeration of unplaced labels. |
void |
initialize(IEnvelope extent,
IDisplay display,
ISpatialReference spatialReference,
IMaplexOverposterProperties overposterProps,
ITrackCancel trackCancel)
Initializes the overposter for drawing into the specified area of the map display. |
void |
placeLabels()
Places labels using the overposter. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
resetClasses()
Removes all classes from the overposter. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public IMaplexOverposterProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IMaplexOverposterProxy()
public IMaplexOverposterProxy(java.lang.Object obj)
throws java.io.IOException
protected IMaplexOverposterProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IMaplexOverposterProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the events
java.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the events
java.io.IOException
public void initialize(IEnvelope extent,
IDisplay display,
ISpatialReference spatialReference,
IMaplexOverposterProperties overposterProps,
ITrackCancel trackCancel)
throws java.io.IOException,
AutomationException
IMaplexOverposter
initialize in interface IMaplexOverposterextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)overposterProps - A reference to a com.esri.arcgis.carto.IMaplexOverposterProperties (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass null if not required)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getCapabilities(ILayer layer)
throws java.io.IOException,
AutomationException
IMaplexOverposter
getCapabilities in interface IMaplexOverposterlayer - A reference to a com.esri.arcgis.carto.ILayer (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getClassCount()
throws java.io.IOException,
AutomationException
IMaplexOverposterThe number of labeling classes which have been added to the overposter.
getClassCount in interface IMaplexOverposterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int addClass(ILabelEngineLayerProperties props)
throws java.io.IOException,
AutomationException
IMaplexOverposter
addClass in interface IMaplexOverposterprops - A reference to a com.esri.arcgis.carto.ILabelEngineLayerProperties (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void resetClasses()
throws java.io.IOException,
AutomationException
IMaplexOverposter
resetClasses in interface IMaplexOverposterAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void addFeature(int classIndex,
IGeometry featureShape,
ISymbol featureSymbol,
int featureID,
java.lang.String label,
double labelAngle,
int mapLevel)
throws java.io.IOException,
AutomationException
IMaplexOverposter
addFeature in interface IMaplexOverposterclassIndex - The classIndex (in)featureShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)featureSymbol - A reference to a com.esri.arcgis.display.ISymbol (in)featureID - The featureID (in)label - The label (in)labelAngle - The labelAngle (in)mapLevel - The mapLevel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addBarriers(int weight,
IGeometryCollection barriers)
throws java.io.IOException,
AutomationException
IMaplexOverposter
addBarriers in interface IMaplexOverposterweight - A com.esri.arcgis.carto.esriBasicOverposterWeight constant (in)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 void addSymbol(int classIndex,
ISymbol symbol,
IGeometry geometry,
int featureID)
throws java.io.IOException,
AutomationException
IMaplexOverposter
addSymbol in interface IMaplexOverposterclassIndex - The classIndex (in)symbol - A reference to a com.esri.arcgis.display.ISymbol (in)geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)featureID - The featureID (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void placeLabels()
throws java.io.IOException,
AutomationException
IMaplexOverposterTells the MaplexOverposter to place the labels.
placeLabels in interface IMaplexOverposterAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getPlacedLabelCount()
throws java.io.IOException,
AutomationException
IMaplexOverposter
getPlacedLabelCount in interface IMaplexOverposterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUnplacedLabelCount()
throws java.io.IOException,
AutomationException
IMaplexOverposter
getUnplacedLabelCount in interface IMaplexOverposterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumMaplexPlacedLabel getPlacedLabels()
throws java.io.IOException,
AutomationException
IMaplexOverposterReturns an enumeration containing the labels (as MaplexPlacedLabels) for which Maplex has obtained satisfactory positions.
getPlacedLabels in interface IMaplexOverposterjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumMaplexPlacedLabel getUnplacedLabels()
throws java.io.IOException,
AutomationException
IMaplexOverposterReturns an enumeration containing the labels (as MaplexPlacedLabels) for which Maplex could not obtain satisfactory positions. The best possible position is given to each label anyway and its PlacementCode is set to esriPlacementUnplaced.
getUnplacedLabels in interface IMaplexOverposterjava.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 | |||||||||