|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.carto.IMapLayersProxy
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 =
public class IMapLayersProxy
Internal use class
Field Summary | |
---|---|
boolean |
noncastable
Deprecated. |
static java.lang.Class |
targetClass
Deprecated. |
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.carto.IMapLayers |
---|
IID, IID76da57e7_6a92_4090_8ca9_f5d9eca78353 |
Constructor Summary | |
---|---|
|
IMapLayersProxy()
Deprecated. For internal use only |
|
IMapLayersProxy(java.lang.Object obj)
Deprecated. |
protected |
IMapLayersProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated. |
|
IMapLayersProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
protected |
IMapLayersProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
Method Summary | |
---|---|
void |
addLayer(ILayer layer)
Deprecated. Adds a layer to the map. |
void |
addLayers(IEnumLayer layers,
boolean autoArrange)
Deprecated. Adds multiple layers to the map, arranging them nicely if specified. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated. |
void |
clearLayers()
Deprecated. Removes all layers from the map. |
void |
deleteLayer(ILayer layer)
Deprecated. Deletes a layer from the map. |
ILayer |
getLayer(int index)
Deprecated. The layer at the given index. |
int |
getLayerCount()
Deprecated. Number of layers in the map. |
IEnumLayer |
getLayers(IUID uid,
boolean recursive)
Deprecated. The layers in the map of the type specified in the uid. |
void |
insertLayer(ILayer pLayer,
boolean autoArrange,
int position)
Deprecated. Inserts a layer at the given position. |
void |
insertLayerInGroup(IGroupLayer pGroup,
ILayer pLayer,
boolean autoArrange,
int position)
Deprecated. Inserts a layer at a given index of the map's group layer. |
void |
insertLayers(IEnumLayer pLayers,
boolean autoArrange,
int position)
Deprecated. Inserts layers at the given position. |
void |
insertLayersInGroup(IGroupLayer pGroup,
IEnumLayer pLayer,
boolean autoArrange,
int position)
Deprecated. Inserts layers at a given index of the map's group layer. |
boolean |
isLayerVisible(ILayer layer)
Deprecated. Check if layer is visible. |
void |
moveLayer(ILayer layer,
int toIndex)
Deprecated. Moves a layer to another position. |
void |
moveLayerEx(IGroupLayer pFromGroup,
IGroupLayer pToGroup,
ILayer pLayer,
int newPosition)
Deprecated. Moves the layer with in the map. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IMapLayersProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IMapLayersProxy()
public IMapLayersProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IMapLayersProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IMapLayersProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public int getLayerCount() throws java.io.IOException, AutomationException
getLayerCount
in interface IMapLayers
java.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 IMapLayers
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumLayer getLayers(IUID uid, boolean recursive) throws java.io.IOException, AutomationException
getLayers
in interface IMapLayers
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.public void addLayer(ILayer layer) throws java.io.IOException, AutomationException
addLayer
in interface IMapLayers
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.public void addLayers(IEnumLayer layers, boolean autoArrange) throws java.io.IOException, AutomationException
addLayers
in interface IMapLayers
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.public void deleteLayer(ILayer layer) throws java.io.IOException, AutomationException
deleteLayer
in interface IMapLayers
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.public void moveLayer(ILayer layer, int toIndex) throws java.io.IOException, AutomationException
moveLayer
in interface IMapLayers
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.public void clearLayers() throws java.io.IOException, AutomationException
clearLayers
in interface IMapLayers
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLayerVisible(ILayer layer) throws java.io.IOException, AutomationException
isLayerVisible
in interface IMapLayers
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.public void insertLayer(ILayer pLayer, boolean autoArrange, int position) throws java.io.IOException, AutomationException
insertLayer
in interface IMapLayers
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.public void insertLayers(IEnumLayer pLayers, boolean autoArrange, int position) throws java.io.IOException, AutomationException
insertLayers
in interface IMapLayers
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.public void insertLayerInGroup(IGroupLayer pGroup, ILayer pLayer, boolean autoArrange, int position) throws java.io.IOException, AutomationException
insertLayerInGroup
in interface IMapLayers
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.public void insertLayersInGroup(IGroupLayer pGroup, IEnumLayer pLayer, boolean autoArrange, int position) throws java.io.IOException, AutomationException
insertLayersInGroup
in interface IMapLayers
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.public void moveLayerEx(IGroupLayer pFromGroup, IGroupLayer pToGroup, ILayer pLayer, int newPosition) throws java.io.IOException, AutomationException
moveLayerEx
in interface IMapLayers
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 |