|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.carto.CompositeGraphicsLayer
public class CompositeGraphicsLayer
COM Class 'CompositeGraphicsLayer'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description 'A collection of graphics layers that behave like single layer.' 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 | |
|---|---|
static long |
serialVersionUID
|
| Fields inherited from interface com.esri.arcgis.carto.ILayer2 |
|---|
IID, IID599dee2e_2182_4e54_8a86_725145c9d989, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.ICompositeGraphicsLayer2 |
|---|
IID, IID93e56956_347a_4a37_bae3_46f5515270d1, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.ICompositeGraphicsLayer |
|---|
IID9646bb82_9512_11d2_a2f6_080009b6f22b |
| Fields inherited from interface com.esri.arcgis.carto.IGraphicsLayer |
|---|
IID34b2ef81_f4ac_11d1_a245_080009b6f22b |
| Fields inherited from interface com.esri.arcgis.carto.ICompositeLayer |
|---|
IID, IIDba119bc4_939a_11d2_a2f4_080009b6f22b, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IGraphicsLayerScale |
|---|
IID, IID85c3dac5_6578_11d3_9fba_00c04f6bc6a5, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IGraphicsContainer |
|---|
IID, IIDd09411d1_4bb4_11d1_b6cc_080009b996cc, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IGraphicsContainerSelect |
|---|
IID, IIDd09411d2_4bb4_11d1_b6cc_080009b996cc, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IOverflowGraphicsContainer |
|---|
IID, IID9c0520c1_a0d8_11d2_a2fe_080009b6f22b, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IBarrierProperties |
|---|
IID, IID01c12b91_a3fb_11d2_a2fe_080009b6f22b, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.IBarrierProperties2 |
|---|
IID, IIDe2d07333_5605_4ea6_87bd_7830927452e0, xxDummy |
| Fields inherited from interface com.esri.arcgis.geodatabase.IGeoDatasetSchemaEdit |
|---|
IID, IID6b267c02_28cc_11d3_9f67_00c04f6bdf0c, xxDummy |
| Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
|---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersistStream |
|---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
| Fields inherited from interface com.esri.arcgis.system.IPersist |
|---|
IID0000010c_0000_0000_c000_000000000046 |
| Fields inherited from interface com.esri.arcgis.carto.IPublishLayer |
|---|
IID, IID7453c805_9d64_44a6_bf2f_73e477dce18f, xxDummy |
| Fields inherited from interface com.esri.arcgis.carto.ILayerInfo |
|---|
IID, IID274419e1_0f5c_11d3_9bfd_00c04f5b951e, xxDummy |
| Constructor Summary | |
|---|---|
CompositeGraphicsLayer()
Constructs a CompositeGraphicsLayer using ArcGIS Engine. |
|
CompositeGraphicsLayer(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CompositeGraphicsLayer theCompositeGraphicsLayer = (CompositeGraphicsLayer) obj; |
|
| Method Summary | |
|---|---|
void |
activate(IScreenDisplay containerScreen)
Prepare to display graphic on screen. |
void |
addElement(IElement element,
int zorder)
Add a new graphic element to the layer. |
void |
addElements(IElementCollection elements,
int zorder)
Add new graphic elements to the layer. |
void |
addIGraphicsContainerEventsListener(IGraphicsContainerEvents theListener)
addIGraphicsContainerEventsListener. |
void |
addISelectionEventsListener(ISelectionEvents theListener)
addISelectionEventsListener. |
IGraphicsLayer |
addLayer(java.lang.String layerName,
IFeatureLayer featureLayer)
Adds a layer to the composite graphics layer. |
void |
addOverflowElement(IElement pElement)
Add an element to the collection. |
void |
alterSpatialReference(ISpatialReference spatialReference)
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data. |
void |
bringForward(IEnumElement elements)
Move the specified elements one step closer to the top of the stack of elements. |
void |
bringToFront(IEnumElement elements)
Make the specified elements draw in front of all other elements. |
void |
deactivate()
ActiveView that graphics are displayed on is no longer visible. |
void |
deleteAllElements()
Delete all the elements. |
void |
deleteAllOverflowElements()
Delete all the element in the collection. |
void |
deleteElement(IElement element)
Delete the given element. |
void |
deleteLayer(java.lang.String layerName)
Removes a layer from the composite graphics layer. |
void |
deleteOverflowElement(IElement pElement)
Delete an element in the collection. |
void |
draw(int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
Draws the layer to the specified display for the given draw phase. |
void |
drawDefault(int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
Draws the default graphics layer. |
boolean |
elementSelected(IElement element)
Indicates if the element is selected. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
IFrameElement |
findFrame(java.lang.Object frameObject)
Find the frame that contains the specified object. |
IGraphicsLayer |
findLayer(java.lang.String layerName)
Finds a layer in the composite graphics layer. |
IEnvelope |
getAreaOfInterest()
The default area of interest for the layer. |
ILayer |
getAssociatedLayer()
Layer that is associated with this graphics layer. |
void |
getBarriers(IDisplay display,
IGeometryCollection pBarriers,
IEnvelope extent)
List of barriers within the specified extent, or all barriers if no extent given. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
int |
getCount()
Number of layers in the collection. |
java.lang.String |
getDataDetails(java.lang.String bsPadding)
Details of the layer's data. |
IElement |
getDominantElement()
Dominant element. |
java.lang.Object |
getElementOrder(IEnumElement elements)
Private order object. |
int |
getElementSelectionCount()
The number of selected elements. |
IEnvelope |
getExtent()
The extent of the GeoDataset. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
int |
getLargeImage()
Large image that represents the layer. |
int |
getLargeSelectedImage()
Large image that represents the layer when it is selected. |
double |
getLastMaximumScale()
Last maximum scale setting used by layer. |
double |
getLastMinimumScale()
Last minimum scale setting used by layer. |
ILayer |
getLayer(int index)
Layer in the collection at the specified index. |
double |
getMaximumScale()
Maximum scale (representative fraction) at which the layer will display. |
double |
getMinimumScale()
Minimum scale (representative fraction) at which the layer will display. |
java.lang.String |
getName()
Layer name. |
IElementCollection |
getOverflowElements()
Element collection. |
java.lang.String |
getPublishingDescription()
The layer description reported to the publisher. |
double |
getReferenceScale()
Reference scale of the layer as a representative fraction. |
IEnumElement |
getSelectedElements()
The selected elements. |
IEnvelope |
getSelectionBounds(IDisplay display)
The bounds of the selection. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
getSmallImage()
Small image that represents the layer. |
int |
getSmallSelectedImage()
Small image that represents the layer when it is selected. |
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset. |
int |
getSupportedDrawPhases()
Supported draw phases. |
java.lang.String |
getTipText(double x,
double y,
double tolerance)
Map tip text at the specified location. |
int |
getUnits()
Units the reference scale is in. |
int |
getWeight()
Weight of the barriers in this layer. |
int |
hashCode()
the hashcode for this object |
java.lang.String |
ILayerGeneralProperties_getLayerDescription()
Description for the layer. |
boolean |
isCached()
Indicates if the layer needs its own display cache. |
boolean |
isCanAlterSpatialReference()
Indicates if the spatial reference of the dataset can be altered. |
boolean |
isDataValid()
Indicates if the data for the layer is currently valid. |
void |
isDirty()
isDirty |
boolean |
isScaleRangeReadOnly()
Indicates if the minimum and maximum scale range values are read-only. |
boolean |
isShowTips()
Indicates if the layer shows map tips. |
boolean |
isSupportsPublishing()
Indicates if the layer supports the publishing process. |
boolean |
isUseAssociatedLayerVisibility()
Indicates if the layer that is associated with this graphics layer controls the visibility. |
boolean |
isValid()
Indicates if the layer is currently valid. |
boolean |
isVisible()
Indicates if the layer is currently visible. |
void |
load(IStream pstm)
load |
IEnumElement |
locateElements(IPoint point,
double tolerance)
Returns the elements at the given coordinate. |
IEnumElement |
locateElementsByEnvelope(IEnvelope envelope)
Returns the elements inside the given envelope. |
void |
moveElementFromGroup(IGroupElement group,
IElement element,
int zorder)
Move the element from the group to the container. |
void |
moveElementToGroup(IElement element,
IGroupElement group)
Move the element from the container to the group. |
IElement |
next()
Returns the next graphic in the container. |
void |
prepareForPublishing()
Prepare the layer for the publishing process. |
void |
putElementOrder(java.lang.Object order)
Private order object. |
void |
queryBarriers(IDisplay display,
IGeometryCollection pBarriers,
IEnvelope extent,
ITrackCancel trackCancel)
List of barriers within the specified extent, or all barriers if no extent given. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a CompositeGraphicsLayer. |
void |
removeIGraphicsContainerEventsListener(IGraphicsContainerEvents theListener)
removeIGraphicsContainerEventsListener. |
void |
removeISelectionEventsListener(ISelectionEvents theListener)
removeISelectionEventsListener. |
void |
reset()
Reset internal cursor so that Next returns the first element. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
selectAllElements()
Selects all elements. |
IElement |
selectedElement(int index)
Returns the nth selected element. |
void |
selectElement(IElement element)
Selects the specified element. |
void |
selectElements(IEnumElement elements)
Selects the specified elements. |
ISelectionTracker |
selectionTracker(int index)
Returns the tracker for the nth selected element. |
void |
sendBackward(IEnumElement elements)
Move the specified elements one step closer to the bottom of the stack of elements. |
void |
sendToBack(IEnumElement elements)
Make the specified elements draw behind all other elements. |
void |
setAreaOfInterest(IEnvelope aoi)
The default area of interest for the layer. |
void |
setAssociatedLayerByRef(ILayer layer)
Layer that is associated with this graphics layer. |
void |
setCached(boolean cached)
Indicates if the layer needs its own display cache. |
void |
setDominantElementByRef(IElement dominantItem)
Dominant element. |
void |
setLayerDescription(java.lang.String text)
Description for the layer. |
void |
setMaximumScale(double maxScale)
Maximum scale (representative fraction) at which the layer will display. |
void |
setMinimumScale(double minScale)
Minimum scale (representative fraction) at which the layer will display. |
void |
setName(java.lang.String name)
Layer name. |
void |
setOverflowElementsByRef(IElementCollection elements)
Element collection. |
void |
setReferenceScale(double pScaleRF)
Reference scale of the layer as a representative fraction. |
void |
setShowTips(boolean show)
Indicates if the layer shows map tips. |
void |
setSpatialReferenceByRef(ISpatialReference rhs1)
Spatial reference for the layer. |
void |
setUnits(int units)
Units the reference scale is in. |
void |
setUseAssociatedLayerVisibility(boolean useLayer)
Indicates if the layer that is associated with this graphics layer controls the visibility. |
void |
setVisible(boolean visible)
Indicates if the layer is currently visible. |
void |
setWeight(int weight)
Weight of the barriers in this layer. |
void |
unselectAllElements()
Unselects all elements. |
void |
unselectElement(IElement element)
Unselects the specified element. |
void |
unselectElements(IEnumElement elements)
Unselects the specified elements. |
void |
updateElement(IElement element)
The graphic element's properties have changed. |
void |
writeExternal(java.io.ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public CompositeGraphicsLayer()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public CompositeGraphicsLayer(java.lang.Object obj)
throws java.io.IOException
CompositeGraphicsLayer theCompositeGraphicsLayer = (CompositeGraphicsLayer) obj;
obj to CompositeGraphicsLayer.
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.RemoteObjRef
public void addISelectionEventsListener(ISelectionEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.carto.ISelectionEvents interface.
java.io.IOException - If there are communications problems.
public void removeISelectionEventsListener(ISelectionEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.carto.ISelectionEvents interface.
java.io.IOException - If there are communications problems.
public void addIGraphicsContainerEventsListener(IGraphicsContainerEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.carto.IGraphicsContainerEvents interface.
java.io.IOException - If there are communications problems.
public void removeIGraphicsContainerEventsListener(IGraphicsContainerEvents theListener)
throws java.io.IOException
theListener - An object that implements the com.esri.arcgis.carto.IGraphicsContainerEvents interface.
java.io.IOException - If there are communications problems.public void release()
release in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName()
throws java.io.IOException,
AutomationException
Use this property to associate a string with a layer.
getName in interface ILayergetName in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
setName in interface ILayersetName in interface ILayer2name - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValid()
throws java.io.IOException,
AutomationException
The valid property indicates if the layer is currently valid. Layers that reference feature classes are valid when they hold a reference to a valid feature class. The property does not however validate the integrity of the feature classes reference to the database. Therefore, in rare situations if a datasource is removed after a layer is initialized, the layer will report itself as valid but query attempts to the data source will error due to the lack of underlying data.
isValid in interface ILayerisValid in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getAreaOfInterest()
throws java.io.IOException,
AutomationException
Returns the spatial-referenced extent of the layer.
getAreaOfInterest in interface ILayergetAreaOfInterest in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMinimumScale()
throws java.io.IOException,
AutomationException
Specifies the minimum scale at which the layer will be displayed. This means that if you zoom out beyond this scale, the layer will not display. For example, specify 1000 to have the layer not display when zoomed out beyond 1:1000.
getMinimumScale in interface ILayergetMinimumScale in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMinimumScale(double minScale)
throws java.io.IOException,
AutomationException
setMinimumScale in interface ILayersetMinimumScale in interface ILayer2minScale - The minScale (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaximumScale()
throws java.io.IOException,
AutomationException
Specifies the maximum scale at which the layer will be displayed. This means that if you zoom in beyond this scale, the layer will not display. For example, specify 500 to have the layer not display when zoomed in beyond 1:500.
getMaximumScale in interface ILayergetMaximumScale in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaximumScale(double maxScale)
throws java.io.IOException,
AutomationException
setMaximumScale in interface ILayersetMaximumScale in interface ILayer2maxScale - The maxScale (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isVisible()
throws java.io.IOException,
AutomationException
isVisible in interface ILayerisVisible in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVisible(boolean visible)
throws java.io.IOException,
AutomationException
setVisible in interface ILayersetVisible in interface ILayer2visible - The visible (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isShowTips()
throws java.io.IOException,
AutomationException
Indicates whether or not map tips are shown for the layer. If set to True, then map tips will be shown for the layer. You can determine the text that will be shown via TipText. For a FeatureLayer, this text comes from the data for IFeatureLayer::DisplayField.
isShowTips in interface ILayerisShowTips in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setShowTips(boolean show)
throws java.io.IOException,
AutomationException
setShowTips in interface ILayersetShowTips in interface ILayer2show - The show (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getTipText(double x,
double y,
double tolerance)
throws java.io.IOException,
AutomationException
getTipText in interface ILayergetTipText in interface ILayer2x - The x (in)y - The y (in)tolerance - The tolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCached()
throws java.io.IOException,
AutomationException
This property indicates whether or not the layer requires its own display cache. If this property is True, then the Map will use a separate display cache for the layer so that it can be refreshed indpendently of other layers.
The Map is responsible for cache management. See IScreenDisplay::AddCache for more information on caches.
isCached in interface ILayerisCached in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCached(boolean cached)
throws java.io.IOException,
AutomationException
Informational property. Container is responsible for cache management.
setCached in interface ILayersetCached in interface ILayer2cached - The cached (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSupportedDrawPhases()
throws java.io.IOException,
AutomationException
Indicates the draw phases supported by the layer (esriDPGeography, esriDPAnnotation, esriDPSelection, or any combination of the three). The supported draw phases are defined by esriDrawPhase. When multiple draw phases are supported, the sum of the constants is used. For example, if SupportedDrawPhases = 3 then the layer supports drawing in the geography and annotation phases.
getSupportedDrawPhases in interface ILayergetSupportedDrawPhases in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSpatialReferenceByRef(ISpatialReference rhs1)
throws java.io.IOException,
AutomationException
This property is only used for map display, setting this property does not change the spatial reference of the layer's underlying data. The ArcGIS framework uses this property to pass the spatial reference from the map to the layer in order to support on-the-fly projection.
setSpatialReferenceByRef in interface ILayersetSpatialReferenceByRef in interface ILayer2rhs1 - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void draw(int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
throws java.io.IOException,
AutomationException
This method draws the layer to the Display for the specified DrawPhase. Use the TrackCancel object to allow the drawing of the layer to be interrupted by the user.
draw in interface ILayerdraw in interface ILayer2drawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isScaleRangeReadOnly()
throws java.io.IOException,
AutomationException
isScaleRangeReadOnly in interface ILayer2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAreaOfInterest(IEnvelope aoi)
throws java.io.IOException,
AutomationException
setAreaOfInterest in interface ILayer2aoi - 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 IGraphicsLayer addLayer(java.lang.String layerName,
IFeatureLayer featureLayer)
throws java.io.IOException,
AutomationException
addLayer in interface ICompositeGraphicsLayerlayerName - The layerName (in)featureLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteLayer(java.lang.String layerName)
throws java.io.IOException,
AutomationException
deleteLayer in interface ICompositeGraphicsLayerlayerName - The layerName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGraphicsLayer findLayer(java.lang.String layerName)
throws java.io.IOException,
AutomationException
findLayer in interface ICompositeGraphicsLayerlayerName - The layerName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void activate(IScreenDisplay containerScreen)
throws java.io.IOException,
AutomationException
activate in interface IGraphicsLayercontainerScreen - A reference to a com.esri.arcgis.display.IScreenDisplay (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deactivate()
throws java.io.IOException,
AutomationException
deactivate in interface IGraphicsLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseAssociatedLayerVisibility()
throws java.io.IOException,
AutomationException
isUseAssociatedLayerVisibility in interface IGraphicsLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseAssociatedLayerVisibility(boolean useLayer)
throws java.io.IOException,
AutomationException
setUseAssociatedLayerVisibility in interface IGraphicsLayeruseLayer - The useLayer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILayer getAssociatedLayer()
throws java.io.IOException,
AutomationException
getAssociatedLayer in interface IGraphicsLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAssociatedLayerByRef(ILayer layer)
throws java.io.IOException,
AutomationException
setAssociatedLayerByRef in interface IGraphicsLayerlayer - 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 drawDefault(int drawPhase,
IDisplay display,
ITrackCancel trackCancel)
throws java.io.IOException,
AutomationException
drawDefault in interface ICompositeGraphicsLayer2drawPhase - A com.esri.arcgis.system.esriDrawPhase constant (in)display - A reference to a com.esri.arcgis.display.IDisplay (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws java.io.IOException,
AutomationException
getCount in interface ICompositeLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ILayer getLayer(int index)
throws java.io.IOException,
AutomationException
getLayer in interface ICompositeLayerindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getReferenceScale()
throws java.io.IOException,
AutomationException
getReferenceScale in interface IGraphicsLayerScalejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setReferenceScale(double pScaleRF)
throws java.io.IOException,
AutomationException
setReferenceScale in interface IGraphicsLayerScalepScaleRF - The pScaleRF (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUnits()
throws java.io.IOException,
AutomationException
getUnits in interface IGraphicsLayerScalejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUnits(int units)
throws java.io.IOException,
AutomationException
setUnits in interface IGraphicsLayerScaleunits - A com.esri.arcgis.system.esriUnits constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IElement next()
throws java.io.IOException,
AutomationException
next in interface IGraphicsContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reset()
throws java.io.IOException,
AutomationException
reset in interface IGraphicsContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addElement(IElement element,
int zorder)
throws java.io.IOException,
AutomationException
addElement in interface IGraphicsContainerelement - A reference to a com.esri.arcgis.carto.IElement (in)zorder - The zorder (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addElements(IElementCollection elements,
int zorder)
throws java.io.IOException,
AutomationException
addElements in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IElementCollection (in)zorder - The zorder (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteElement(IElement element)
throws java.io.IOException,
AutomationException
deleteElement in interface IGraphicsContainerelement - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteAllElements()
throws java.io.IOException,
AutomationException
deleteAllElements in interface IGraphicsContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveElementToGroup(IElement element,
IGroupElement group)
throws java.io.IOException,
AutomationException
moveElementToGroup in interface IGraphicsContainerelement - A reference to a com.esri.arcgis.carto.IElement (in)group - A reference to a com.esri.arcgis.carto.IGroupElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveElementFromGroup(IGroupElement group,
IElement element,
int zorder)
throws java.io.IOException,
AutomationException
moveElementFromGroup in interface IGraphicsContainergroup - A reference to a com.esri.arcgis.carto.IGroupElement (in)element - A reference to a com.esri.arcgis.carto.IElement (in)zorder - The zorder (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumElement locateElements(IPoint point,
double tolerance)
throws java.io.IOException,
AutomationException
locateElements in interface IGraphicsContainerpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)tolerance - The tolerance (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumElement locateElementsByEnvelope(IEnvelope envelope)
throws java.io.IOException,
AutomationException
locateElementsByEnvelope in interface IGraphicsContainerenvelope - 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 IFrameElement findFrame(java.lang.Object frameObject)
throws java.io.IOException,
AutomationException
findFrame in interface IGraphicsContainerframeObject - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void updateElement(IElement element)
throws java.io.IOException,
AutomationException
updateElement in interface IGraphicsContainerelement - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getElementOrder(IEnumElement elements)
throws java.io.IOException,
AutomationException
getElementOrder in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void putElementOrder(java.lang.Object order)
throws java.io.IOException,
AutomationException
putElementOrder in interface IGraphicsContainerorder - A Variant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void bringToFront(IEnumElement elements)
throws java.io.IOException,
AutomationException
bringToFront in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sendToBack(IEnumElement elements)
throws java.io.IOException,
AutomationException
sendToBack in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void sendBackward(IEnumElement elements)
throws java.io.IOException,
AutomationException
sendBackward in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void bringForward(IEnumElement elements)
throws java.io.IOException,
AutomationException
bringForward in interface IGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void selectElement(IElement element)
throws java.io.IOException,
AutomationException
selectElement in interface IGraphicsContainerSelectelement - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void selectElements(IEnumElement elements)
throws java.io.IOException,
AutomationException
selectElements in interface IGraphicsContainerSelectelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void selectAllElements()
throws java.io.IOException,
AutomationException
selectAllElements in interface IGraphicsContainerSelectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void unselectElement(IElement element)
throws java.io.IOException,
AutomationException
unselectElement in interface IGraphicsContainerSelectelement - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void unselectElements(IEnumElement elements)
throws java.io.IOException,
AutomationException
unselectElements in interface IGraphicsContainerSelectelements - A reference to a com.esri.arcgis.carto.IEnumElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void unselectAllElements()
throws java.io.IOException,
AutomationException
unselectAllElements in interface IGraphicsContainerSelectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumElement getSelectedElements()
throws java.io.IOException,
AutomationException
getSelectedElements in interface IGraphicsContainerSelectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getElementSelectionCount()
throws java.io.IOException,
AutomationException
getElementSelectionCount in interface IGraphicsContainerSelectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IElement selectedElement(int index)
throws java.io.IOException,
AutomationException
selectedElement in interface IGraphicsContainerSelectindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISelectionTracker selectionTracker(int index)
throws java.io.IOException,
AutomationException
selectionTracker in interface IGraphicsContainerSelectindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean elementSelected(IElement element)
throws java.io.IOException,
AutomationException
elementSelected in interface IGraphicsContainerSelectelement - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IElement getDominantElement()
throws java.io.IOException,
AutomationException
getDominantElement in interface IGraphicsContainerSelectjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDominantElementByRef(IElement dominantItem)
throws java.io.IOException,
AutomationException
setDominantElementByRef in interface IGraphicsContainerSelectdominantItem - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getSelectionBounds(IDisplay display)
throws java.io.IOException,
AutomationException
getSelectionBounds in interface IGraphicsContainerSelectdisplay - 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 IElementCollection getOverflowElements()
throws java.io.IOException,
AutomationException
getOverflowElements in interface IOverflowGraphicsContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setOverflowElementsByRef(IElementCollection elements)
throws java.io.IOException,
AutomationException
setOverflowElementsByRef in interface IOverflowGraphicsContainerelements - A reference to a com.esri.arcgis.carto.IElementCollection (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteAllOverflowElements()
throws java.io.IOException,
AutomationException
deleteAllOverflowElements in interface IOverflowGraphicsContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteOverflowElement(IElement pElement)
throws java.io.IOException,
AutomationException
deleteOverflowElement in interface IOverflowGraphicsContainerpElement - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addOverflowElement(IElement pElement)
throws java.io.IOException,
AutomationException
addOverflowElement in interface IOverflowGraphicsContainerpElement - A reference to a com.esri.arcgis.carto.IElement (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getWeight()
throws java.io.IOException,
AutomationException
getWeight in interface IBarrierPropertiesgetWeight in interface IBarrierProperties2java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWeight(int weight)
throws java.io.IOException,
AutomationException
setWeight in interface IBarrierPropertiessetWeight in interface IBarrierProperties2weight - The weight (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getBarriers(IDisplay display,
IGeometryCollection pBarriers,
IEnvelope extent)
throws java.io.IOException,
AutomationException
getBarriers in interface IBarrierPropertiesdisplay - A reference to a com.esri.arcgis.display.IDisplay (in)pBarriers - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in, optional, pass 0 if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void queryBarriers(IDisplay display,
IGeometryCollection pBarriers,
IEnvelope extent,
ITrackCancel trackCancel)
throws java.io.IOException,
AutomationException
queryBarriers in interface IBarrierProperties2display - A reference to a com.esri.arcgis.display.IDisplay (in)pBarriers - A reference to a com.esri.arcgis.geometry.IGeometryCollection (in)extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference getSpatialReference()
throws java.io.IOException,
AutomationException
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
getSpatialReference in interface IGeoDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope getExtent()
throws java.io.IOException,
AutomationException
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.
If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.
If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.
ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
getExtent in interface IGeoDatasetjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanAlterSpatialReference()
throws java.io.IOException,
AutomationException
isCanAlterSpatialReference in interface IGeoDatasetSchemaEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void alterSpatialReference(ISpatialReference spatialReference)
throws java.io.IOException,
AutomationException
alterSpatialReference in interface IGeoDatasetSchemaEditspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
throws java.io.IOException,
AutomationException
enumConnectionPoints in interface IConnectionPointContainerppEnum - A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
throws java.io.IOException,
AutomationException
findConnectionPoint in interface IConnectionPointContainerriid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP - A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getClassID(GUID[] pClassID)
throws java.io.IOException,
AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void load(IStream pstm)
throws java.io.IOException,
AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void save(IStream pstm,
int fClearDirty)
throws java.io.IOException,
AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
throws java.io.IOException,
AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSupportsPublishing()
throws java.io.IOException,
AutomationException
isSupportsPublishing in interface IPublishLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getPublishingDescription()
throws java.io.IOException,
AutomationException
getPublishingDescription in interface IPublishLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDataValid()
throws java.io.IOException,
AutomationException
isDataValid in interface IPublishLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getDataDetails(java.lang.String bsPadding)
throws java.io.IOException,
AutomationException
getDataDetails in interface IPublishLayerbsPadding - The bsPadding (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void prepareForPublishing()
throws java.io.IOException,
AutomationException
prepareForPublishing in interface IPublishLayerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLastMinimumScale()
throws java.io.IOException,
AutomationException
getLastMinimumScale in interface ILayerGeneralPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLastMaximumScale()
throws java.io.IOException,
AutomationException
getLastMaximumScale in interface ILayerGeneralPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String ILayerGeneralProperties_getLayerDescription()
throws java.io.IOException,
AutomationException
ILayerGeneralProperties_getLayerDescription in interface ILayerGeneralPropertiesjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLayerDescription(java.lang.String text)
throws java.io.IOException,
AutomationException
setLayerDescription in interface ILayerGeneralPropertiestext - The text (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSmallImage()
throws java.io.IOException,
AutomationException
getSmallImage in interface ILayerInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSmallSelectedImage()
throws java.io.IOException,
AutomationException
getSmallSelectedImage in interface ILayerInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLargeImage()
throws java.io.IOException,
AutomationException
getLargeImage in interface ILayerInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getLargeSelectedImage()
throws java.io.IOException,
AutomationException
getLargeSelectedImage in interface ILayerInfojava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||