|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.maplex.MaplexAnnotateFeature
public class MaplexAnnotateFeature
A renderer for labeling one feature.
MaplexAnnotateFeature labels a single feature based on the properties given, and returns a TextElement (as an IElement).
Used for one-off labeling of a feature - updating feature-linked annotation and edit tools, for example.
No other labels or features are considered during placement.
The spatial reference of the data is used - no map is involved.
Constructor Summary | |
---|---|
MaplexAnnotateFeature()
Constructs a MaplexAnnotateFeature using ArcGIS Engine. |
|
MaplexAnnotateFeature(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MaplexAnnotateFeature theMaplexAnnotateFeature = (MaplexAnnotateFeature) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
label(IAnnotateLayerProperties annoLayerProps,
IFeature feature,
IDisplay display,
ISpatialReference pSpatialRef,
IBarrierCollection barrierColl,
IElement[] placedElement,
IElement[] unplacedElement)
Labels a feature based on the properties given. |
void |
label(IOverposterProperties overposterProps,
IAnnotateLayerProperties annoLayerProps,
IFeature feature,
IDisplay display,
ISpatialReference pSpatialRef,
IBarrierCollection barrierColl,
IElement[] placedElement,
IElement[] unplacedElement)
Labels a feature based on the properties given. |
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 MaplexAnnotateFeature() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic MaplexAnnotateFeature(Object obj) throws IOException
MaplexAnnotateFeature theMaplexAnnotateFeature = (MaplexAnnotateFeature) obj;
obj
to MaplexAnnotateFeature
.
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 void label(IAnnotateLayerProperties annoLayerProps, IFeature feature, IDisplay display, ISpatialReference pSpatialRef, IBarrierCollection barrierColl, IElement[] placedElement, IElement[] unplacedElement) throws IOException, AutomationException
label
in interface IAnnotateFeature
annoLayerProps
- A reference to a com.esri.arcgis.carto.IAnnotateLayerProperties (in)feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)pSpatialRef
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)barrierColl
- A reference to a com.esri.arcgis.carto.IBarrierCollection (in)placedElement
- A reference to a com.esri.arcgis.carto.IElement (out: use single element array)unplacedElement
- A reference to a com.esri.arcgis.carto.IElement (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void label(IOverposterProperties overposterProps, IAnnotateLayerProperties annoLayerProps, IFeature feature, IDisplay display, ISpatialReference pSpatialRef, IBarrierCollection barrierColl, IElement[] placedElement, IElement[] unplacedElement) throws IOException, AutomationException
label
in interface IAnnotateFeature2
overposterProps
- A reference to a com.esri.arcgis.carto.IOverposterProperties (in)annoLayerProps
- A reference to a com.esri.arcgis.carto.IAnnotateLayerProperties (in)feature
- A reference to a com.esri.arcgis.geodatabase.IFeature (in)display
- A reference to a com.esri.arcgis.display.IDisplay (in)pSpatialRef
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)barrierColl
- A reference to a com.esri.arcgis.carto.IBarrierCollection (in)placedElement
- A reference to a com.esri.arcgis.carto.IElement (out: use single element array)unplacedElement
- A reference to a com.esri.arcgis.carto.IElement (out: use single element array)
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 |