|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.maplex.MaplexOverposter
public class MaplexOverposter
COM Class 'MaplexOverposter'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriMaplex.olb'
Description 'A label placement engine based on the Maplex label placement algorithms.' 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 |
---|
Fields inherited from interface com.esri.arcgis.maplex.IMaplexOverposter |
---|
IID, IID20664808_0a3b_1eec_9fd3_feef422a6ea5, xxDummy |
Constructor Summary | |
---|---|
MaplexOverposter()
Constructs a MaplexOverposter using ArcGIS Engine. |
|
MaplexOverposter(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MaplexOverposter theMaplexOverposter = (MaplexOverposter) obj; |
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 |
addSymbol(int classIndex,
ISymbol symbol,
IGeometry geometry,
int featureID)
Adds a symbol to be placed. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
int |
getCapabilities(ILayer layer)
Overposter capabilities for the specified layer. |
int |
getClassCount()
The number of classes. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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. |
int |
hashCode()
the hashcode for this object |
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 |
release()
Release a MaplexOverposter. |
void |
resetClasses()
Removes all classes from the overposter. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaplexOverposter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic MaplexOverposter(java.lang.Object obj) throws java.io.IOException
MaplexOverposter theMaplexOverposter = (MaplexOverposter) obj;
obj
to MaplexOverposter
.
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 void initialize(IEnvelope extent, IDisplay display, ISpatialReference spatialReference, IMaplexOverposterProperties overposterProps, ITrackCancel trackCancel) throws java.io.IOException, AutomationException
initialize
in interface IMaplexOverposter
extent
- 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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCapabilities(ILayer layer) throws java.io.IOException, AutomationException
getCapabilities
in interface IMaplexOverposter
layer
- A reference to a com.esri.arcgis.carto.ILayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getClassCount() throws java.io.IOException, AutomationException
getClassCount
in interface IMaplexOverposter
java.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
addClass
in interface IMaplexOverposter
props
- A reference to a com.esri.arcgis.carto.ILabelEngineLayerProperties (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void resetClasses() throws java.io.IOException, AutomationException
resetClasses
in interface IMaplexOverposter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addFeature(int classIndex, IGeometry featureShape, ISymbol featureSymbol, int featureID, java.lang.String label, double labelAngle, int mapLevel) throws java.io.IOException, AutomationException
addFeature
in interface IMaplexOverposter
classIndex
- 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
addBarriers
in interface IMaplexOverposter
weight
- 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
addSymbol
in interface IMaplexOverposter
classIndex
- 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
placeLabels
in interface IMaplexOverposter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPlacedLabelCount() throws java.io.IOException, AutomationException
getPlacedLabelCount
in interface IMaplexOverposter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUnplacedLabelCount() throws java.io.IOException, AutomationException
getUnplacedLabelCount
in interface IMaplexOverposter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMaplexPlacedLabel getPlacedLabels() throws java.io.IOException, AutomationException
getPlacedLabels
in interface IMaplexOverposter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMaplexPlacedLabel getUnplacedLabels() throws java.io.IOException, AutomationException
getUnplacedLabels
in interface IMaplexOverposter
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 |