|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.LabelCache
public class LabelCache
COM Class 'LabelCache'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'Standard labeling label cache.' 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.carto.ILabelCache |
|---|
IID, IIDed758af4_ff98_4c14_bba4_e7580433afd6, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IActiveViewEvents |
|---|
IID, IIDe79c5940_52dd_11d0_98be_00805f7ced21, xxDummy |
| Constructor Summary | |
|---|---|
LabelCache()
Constructs a LabelCache using ArcGIS Engine. |
|
LabelCache(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. LabelCache theLabelCache = (LabelCache) obj; |
|
| Method Summary | |
|---|---|
void |
addClass(int classID,
ILabelEngineLayerProperties pLayerProps)
Add a class to the label cache. |
void |
addLabel(IPlacedObject3 placedObject,
IPoint anchorPoint,
IEnvelope pEnvelope)
Add a label to the label cache. |
void |
afterDraw(IActiveViewEventsAfterDrawEvent theEvent)
Fired after the specified phase is drawn. |
void |
afterItemDraw(IActiveViewEventsAfterItemDrawEvent theEvent)
Fired after an individual view item is drawn. |
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 |
empty()
Empty label cache. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
focusMapChanged(IActiveViewEventsFocusMapChangedEvent theEvent)
Fired when a new map is made active. |
int |
getClassCount()
Number of classes in the cache. |
static java.lang.String |
getClsid()
getClsid. |
void |
getDisplaySettings(double[] scale,
double[] dataframeRotation)
Settings of the display transformation when cache was created. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
void |
getPlacedLabel(int index,
int[] classID,
java.lang.String[] label,
IGeometry[] geom,
double[] angle,
IPoint[] anchorPoint,
IEnvelope[] mbr)
Retrieve a placed label from the label cache. |
int |
getPlacedLabelCount()
Number of placed labels stored the cache. |
void |
getUnplacedLabel(int index,
int[] classID,
java.lang.String[] label,
IGeometry[] geom,
double[] angle,
IPoint[] anchorPoint,
IEnvelope[] mbr)
Retrieve an unplaced label from the label cache. |
int |
getUnplacedLabelCount()
Number of unplaced labels stored the cache. |
int |
hashCode()
the hashcode for this object |
void |
init(IMap map)
Initialize label cache. |
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 |
putDisplaySettings(double scale,
double dataframeRotation)
Settings of the display transformation when cache was created. |
void |
queryClass(int index,
int[] classID,
java.lang.String[] className,
IFeatureLayer[] featureLayer,
ITextSymbol[] textSymbol)
Retrieve a class from the label cache. |
void |
release()
Release a LabelCache. |
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 LabelCache()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public LabelCache(java.lang.Object obj)
throws java.io.IOException
LabelCache theLabelCache = (LabelCache) obj;
obj to LabelCache.
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
|---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public void init(IMap map)
throws java.io.IOException,
AutomationException
init in interface ILabelCachemap - 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 empty()
throws java.io.IOException,
AutomationException
empty in interface ILabelCachejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addClass(int classID,
ILabelEngineLayerProperties pLayerProps)
throws java.io.IOException,
AutomationException
addClass in interface ILabelCacheclassID - The classID (in)pLayerProps - 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 int getClassCount()
throws java.io.IOException,
AutomationException
getClassCount in interface ILabelCachejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryClass(int index,
int[] classID,
java.lang.String[] className,
IFeatureLayer[] featureLayer,
ITextSymbol[] textSymbol)
throws java.io.IOException,
AutomationException
queryClass in interface ILabelCacheindex - The index (in)classID - The classID (out: use single element array)className - The className (out: use single element array)featureLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (out: use single element array)textSymbol - A reference to a com.esri.arcgis.display.ITextSymbol (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addLabel(IPlacedObject3 placedObject,
IPoint anchorPoint,
IEnvelope pEnvelope)
throws java.io.IOException,
AutomationException
addLabel in interface ILabelCacheplacedObject - A reference to a com.esri.arcgis.carto.IPlacedObject3 (in)anchorPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)pEnvelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
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 ILabelCachejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getPlacedLabel(int index,
int[] classID,
java.lang.String[] label,
IGeometry[] geom,
double[] angle,
IPoint[] anchorPoint,
IEnvelope[] mbr)
throws java.io.IOException,
AutomationException
getPlacedLabel in interface ILabelCacheindex - The index (in)classID - The classID (out: use single element array)label - The label (out: use single element array)geom - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)angle - The angle (out: use single element array)anchorPoint - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)mbr - A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
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 ILabelCachejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getUnplacedLabel(int index,
int[] classID,
java.lang.String[] label,
IGeometry[] geom,
double[] angle,
IPoint[] anchorPoint,
IEnvelope[] mbr)
throws java.io.IOException,
AutomationException
getUnplacedLabel in interface ILabelCacheindex - The index (in)classID - The classID (out: use single element array)label - The label (out: use single element array)geom - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)angle - The angle (out: use single element array)anchorPoint - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)mbr - A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void putDisplaySettings(double scale,
double dataframeRotation)
throws java.io.IOException,
AutomationException
putDisplaySettings in interface ILabelCachescale - The scale (in)dataframeRotation - The dataframeRotation (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getDisplaySettings(double[] scale,
double[] dataframeRotation)
throws java.io.IOException,
AutomationException
getDisplaySettings in interface ILabelCachescale - The scale (out: use single element array)dataframeRotation - The dataframeRotation (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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 IActiveViewEventstheEvent - 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 | ||||||||