|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMapLayers
COM Interface 'IMapLayers'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriCarto.olb'
Description: 'Provides access to layers.' 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 java.lang.String |
IID
Deprecated. Internal use only |
static int |
IID76da57e7_6a92_4090_8ca9_f5d9eca78353
|
static int |
xxDummy
Deprecated. Internal use only |
| Method Summary | |
|---|---|
void |
addLayer(ILayer layer)
Adds a layer to the map. |
void |
addLayers(IEnumLayer layers,
boolean autoArrange)
Adds multiple layers to the map, arranging them nicely if specified. |
void |
clearLayers()
Removes all layers from the map. |
void |
deleteLayer(ILayer layer)
Deletes a layer from the map. |
ILayer |
getLayer(int index)
The layer at the given index. |
int |
getLayerCount()
Number of layers in the map. |
IEnumLayer |
getLayers(IUID uid,
boolean recursive)
The layers in the map of the type specified in the uid. |
void |
insertLayer(ILayer pLayer,
boolean autoArrange,
int position)
Inserts a layer at the given position. |
void |
insertLayerInGroup(IGroupLayer pGroup,
ILayer pLayer,
boolean autoArrange,
int position)
Inserts a layer at a given index of the map's group layer. |
void |
insertLayers(IEnumLayer pLayers,
boolean autoArrange,
int position)
Inserts layers at the given position. |
void |
insertLayersInGroup(IGroupLayer pGroup,
IEnumLayer pLayer,
boolean autoArrange,
int position)
Inserts layers at a given index of the map's group layer. |
boolean |
isLayerVisible(ILayer layer)
Check if layer is visible. |
void |
moveLayer(ILayer layer,
int toIndex)
Moves a layer to another position. |
void |
moveLayerEx(IGroupLayer pFromGroup,
IGroupLayer pToGroup,
ILayer pLayer,
int newPosition)
Moves the layer with in the map. |
| Field Detail |
|---|
static final int IID76da57e7_6a92_4090_8ca9_f5d9eca78353
static final int xxDummy
static final java.lang.String IID
| Method Detail |
|---|
int getLayerCount()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
ILayer getLayer(int index)
throws java.io.IOException,
AutomationException
index - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumLayer getLayers(IUID uid,
boolean recursive)
throws java.io.IOException,
AutomationException
uid - A reference to a com.esri.arcgis.system.IUID (in, optional, pass 0 if not required)recursive - The recursive (in, optional, pass true if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addLayer(ILayer layer)
throws java.io.IOException,
AutomationException
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.
void addLayers(IEnumLayer layers,
boolean autoArrange)
throws java.io.IOException,
AutomationException
layers - A reference to a com.esri.arcgis.carto.IEnumLayer (in)autoArrange - The autoArrange (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void deleteLayer(ILayer layer)
throws java.io.IOException,
AutomationException
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.
void moveLayer(ILayer layer,
int toIndex)
throws java.io.IOException,
AutomationException
layer - A reference to a com.esri.arcgis.carto.ILayer (in)toIndex - The toIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void clearLayers()
throws java.io.IOException,
AutomationException
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isLayerVisible(ILayer layer)
throws java.io.IOException,
AutomationException
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.
void insertLayer(ILayer pLayer,
boolean autoArrange,
int position)
throws java.io.IOException,
AutomationException
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)autoArrange - The autoArrange (in)position - The position (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void insertLayers(IEnumLayer pLayers,
boolean autoArrange,
int position)
throws java.io.IOException,
AutomationException
pLayers - A reference to a com.esri.arcgis.carto.IEnumLayer (in)autoArrange - The autoArrange (in)position - The position (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void insertLayerInGroup(IGroupLayer pGroup,
ILayer pLayer,
boolean autoArrange,
int position)
throws java.io.IOException,
AutomationException
pGroup - A reference to a com.esri.arcgis.carto.IGroupLayer (in)pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)autoArrange - The autoArrange (in)position - The position (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void insertLayersInGroup(IGroupLayer pGroup,
IEnumLayer pLayer,
boolean autoArrange,
int position)
throws java.io.IOException,
AutomationException
pGroup - A reference to a com.esri.arcgis.carto.IGroupLayer (in)pLayer - A reference to a com.esri.arcgis.carto.IEnumLayer (in)autoArrange - The autoArrange (in)position - The position (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void moveLayerEx(IGroupLayer pFromGroup,
IGroupLayer pToGroup,
ILayer pLayer,
int newPosition)
throws java.io.IOException,
AutomationException
pFromGroup - A reference to a com.esri.arcgis.carto.IGroupLayer (in)pToGroup - A reference to a com.esri.arcgis.carto.IGroupLayer (in)pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)newPosition - The newPosition (in)
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 | ||||||||