|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.LabelEngine
public class LabelEngine
COM Class 'LabelEngine'. Generated 3/19/2015 1:20:45 PM from 'C:\ArcGIS\COM\esriTrackingAnalyst.olb'
Description 'Controls functionality of the label engine.' 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.trackinganalyst.ITrackingLabelEngine2 |
---|
IID, IID3b3d8769_16e3_41bc_85c0_2df43a4f2bd9, xxDummy |
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITrackingLabelEngine |
---|
IIDff5d5f00_ec63_11d5_b81a_00010265adc5 |
Fields inherited from interface com.esri.arcgis.trackinganalyst.ITrackingLabelDraw |
---|
IID, IID2b790601_3533_4911_9f11_aa9e5d8e31e8, xxDummy |
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo |
---|
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy |
Fields inherited from interface com.esri.arcgis.carto.IActiveViewEvents |
---|
IID, IIDe79c5940_52dd_11d0_98be_00805f7ced21, xxDummy |
Constructor Summary | |
---|---|
LabelEngine()
Constructs a LabelEngine using ArcGIS Engine. |
|
LabelEngine(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LabelEngine theLabelEngine = (LabelEngine) obj; |
Method Summary | |
---|---|
void |
addLabel(java.lang.String bstrID,
ILayer piLayer,
ITrackingLabel piLabel)
Adds a tracking label to the map display. |
void |
afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
Fired after the specified phase is drawn. |
void |
afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
Fired after an individual view item is drawn. |
void |
attach(IMap piMap)
Attaches a label to a given feature on the map. |
void |
attachMap(java.lang.Object piMap)
Attaches a label to a given feature on the map. |
void |
contentsChanged(IActiveViewEventsContentsChangedEvent theEvent)
Fired when the contents of the view changes. |
void |
contentsCleared(IActiveViewEventsContentsClearedEvent theEvent)
Fired when the contents of the view is cleared. |
void |
draw(IDisplay piDisplay)
Draws the labels to the map display. |
void |
drawLayerLabels(ILayer piLayerToDraw,
IDisplay piDisplay)
Draws the labels for a particular layer to the display object. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
ITrackingLabel |
findLabel(java.lang.String bstrID,
ILayer piLayer)
Finds a given label for the map display. |
void |
focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
Fired when a new map is made active. |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
hashCode()
the hashcode for this object |
void |
hideLabels(ILayer piLayer,
IGeometry piGeometry)
Hides labels from the map display. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
itemAdded(IActiveViewEventsItemAddedEvent theEvent)
Fired when an item is added to the view. |
void |
itemDeleted(IActiveViewEventsItemDeletedEvent theEvent)
Fired when an item is deleted from the view. |
void |
itemReordered(IActiveViewEventsItemReorderedEvent theEvent)
Fired when a view item is reordered. |
void |
release()
Release a LabelEngine. |
void |
removeAllLabels()
Removes all labels from the map display. |
void |
removeLabel(java.lang.String bstrID,
ILayer piLayer)
Removes a tracking label from the map display. |
void |
removeLayerLabels(ILayer piLayer)
Remove labels from a given layer. |
void |
selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent)
Call this function to fire the selection changed event. |
void |
spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent)
Fired when the spatial reference is changed. |
void |
viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent)
Fired when view is refreshed before draw happens. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LabelEngine() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic LabelEngine(java.lang.Object obj) throws java.io.IOException
LabelEngine theLabelEngine = (LabelEngine) obj;
obj
to LabelEngine
.
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 addLabel(java.lang.String bstrID, ILayer piLayer, ITrackingLabel piLabel) throws java.io.IOException, AutomationException
addLabel
in interface ITrackingLabelEngine
bstrID
- The bstrID (in)piLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)piLabel
- A reference to a com.esri.arcgis.trackinganalyst.ITrackingLabel (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITrackingLabel findLabel(java.lang.String bstrID, ILayer piLayer) throws java.io.IOException, AutomationException
findLabel
in interface ITrackingLabelEngine
bstrID
- The bstrID (in)piLayer
- 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 void draw(IDisplay piDisplay) throws java.io.IOException, AutomationException
draw
in interface ITrackingLabelEngine
piDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeLabel(java.lang.String bstrID, ILayer piLayer) throws java.io.IOException, AutomationException
removeLabel
in interface ITrackingLabelEngine
bstrID
- The bstrID (in)piLayer
- 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 void removeAllLabels() throws java.io.IOException, AutomationException
removeAllLabels
in interface ITrackingLabelEngine
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void attach(IMap piMap) throws java.io.IOException, AutomationException
attach
in interface ITrackingLabelEngine
piMap
- A reference to a com.esri.arcgis.carto.IMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void hideLabels(ILayer piLayer, IGeometry piGeometry) throws java.io.IOException, AutomationException
hideLabels
in interface ITrackingLabelEngine
piLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)piGeometry
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeLayerLabels(ILayer piLayer) throws java.io.IOException, AutomationException
removeLayerLabels
in interface ITrackingLabelEngine
piLayer
- 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 void attachMap(java.lang.Object piMap) throws java.io.IOException, AutomationException
attachMap
in interface ITrackingLabelEngine2
piMap
- A reference to another Object (IUnknown) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void drawLayerLabels(ILayer piLayerToDraw, IDisplay piDisplay) throws java.io.IOException, AutomationException
drawLayerLabels
in interface ITrackingLabelDraw
piLayerToDraw
- A reference to a com.esri.arcgis.carto.ILayer (in)piDisplay
- A reference to a com.esri.arcgis.display.IDisplay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contentsChanged(IActiveViewEventsContentsChangedEvent theEvent) throws java.io.IOException, AutomationException
contentsChanged
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contentsCleared(IActiveViewEventsContentsClearedEvent theEvent) throws java.io.IOException, AutomationException
contentsCleared
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemAdded(IActiveViewEventsItemAddedEvent theEvent) throws java.io.IOException, AutomationException
itemAdded
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemDeleted(IActiveViewEventsItemDeletedEvent theEvent) throws java.io.IOException, AutomationException
itemDeleted
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void itemReordered(IActiveViewEventsItemReorderedEvent theEvent) throws java.io.IOException, AutomationException
itemReordered
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void selectionChanged(IActiveViewEventsSelectionChangedEvent theEvent) throws java.io.IOException, AutomationException
selectionChanged
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void viewRefreshed(IActiveViewEventsViewRefreshedEvent theEvent) throws java.io.IOException, AutomationException
viewRefreshed
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void afterDraw(IActiveViewEventsAfterDrawEvent theEvent) throws java.io.IOException, AutomationException
afterDraw
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent) throws java.io.IOException, AutomationException
afterItemDraw
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent) throws java.io.IOException, AutomationException
focusMapChanged
in interface IActiveViewEvents
theEvent
- The event
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void spatialReferenceChanged(IActiveViewEventsSpatialReferenceChangedEvent theEvent) throws java.io.IOException, AutomationException
spatialReferenceChanged
in interface IActiveViewEvents
theEvent
- The event
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 |