|
|||||||||
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.IWMSGroupLayerProxy
public class IWMSGroupLayerProxy
Provides access to members that control the WMS group layer.
Manages the contents of a WMSMapLayer or a WMSGroupLayer.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IWMSGroupLayerProxy()
|
|
IWMSGroupLayerProxy(Object obj)
|
protected |
IWMSGroupLayerProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
add(ILayer wMSLayer)
Adds the given WMS Layer at the given position. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
clear()
Deletes all the sub layers. |
IWMSGroupLayer |
createWMSGroupLayer(String groupName)
Creates an empty WMSGroupLayer with the given name. |
IWMSGroupLayer |
createWMSGroupLayers(IWMSLayerDescription wMSGroupLayerDescription)
Creates a new WMSGroupLayer for the given WMSLayerDescription recursively including all the sub layers. |
IWMSLayer |
createWMSLayer(IWMSLayerDescription pWMSLayerDescription)
Creates a new WMSLayer for the given WMSLayerDescription. |
void |
delete(ILayer pWMSLayer)
Deletes the given layer if it exists. |
int |
getCount()
Number of sub layers. |
ILayer |
getLayer(int index)
Sub layer at the given index. |
IWMSServiceDescription |
getWMSServiceDescription()
Associated WMSServiceDescription. |
void |
insertLayer(ILayer wMSLayer,
int insertPosition)
Inserts the given WMS Layer at the given position. |
void |
insertLayers(IEnumLayer wMSLayers,
int insertPosition)
Inserts the given WMS Layers at the given position. |
boolean |
isExpanded()
Indicates if the layer is expanded or collapsed. |
void |
moveLayer(ILayer wMSLayer,
int toPosition)
Moves the given layer to the given position within the group layer. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setExpanded(boolean pValid)
Indicates if the layer is expanded or collapsed. |
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 boolean noncastable
Constructor Detail |
---|
public IWMSGroupLayerProxy()
public IWMSGroupLayerProxy(Object obj) throws IOException
IOException
protected IWMSGroupLayerProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public IWMSServiceDescription getWMSServiceDescription() throws IOException, AutomationException
getWMSServiceDescription
in interface IWMSGroupLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWMSLayer createWMSLayer(IWMSLayerDescription pWMSLayerDescription) throws IOException, AutomationException
createWMSLayer
in interface IWMSGroupLayer
pWMSLayerDescription
- A reference to a com.esri.arcgis.gisclient.IWMSLayerDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWMSGroupLayer createWMSGroupLayer(String groupName) throws IOException, AutomationException
createWMSGroupLayer
in interface IWMSGroupLayer
groupName
- The groupName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWMSGroupLayer createWMSGroupLayers(IWMSLayerDescription wMSGroupLayerDescription) throws IOException, AutomationException
createWMSGroupLayers
in interface IWMSGroupLayer
wMSGroupLayerDescription
- A reference to a com.esri.arcgis.gisclient.IWMSLayerDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertLayers(IEnumLayer wMSLayers, int insertPosition) throws IOException, AutomationException
insertLayers
in interface IWMSGroupLayer
wMSLayers
- A reference to a com.esri.arcgis.carto.IEnumLayer (in)insertPosition
- The insertPosition (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insertLayer(ILayer wMSLayer, int insertPosition) throws IOException, AutomationException
insertLayer
in interface IWMSGroupLayer
wMSLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)insertPosition
- The insertPosition (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveLayer(ILayer wMSLayer, int toPosition) throws IOException, AutomationException
moveLayer
in interface IWMSGroupLayer
wMSLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)toPosition
- The toPosition (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(ILayer wMSLayer) throws IOException, AutomationException
add
in interface IWMSGroupLayer
wMSLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(ILayer pWMSLayer) throws IOException, AutomationException
delete
in interface IWMSGroupLayer
pWMSLayer
- A reference to a com.esri.arcgis.carto.ILayer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clear() throws IOException, AutomationException
clear
in interface IWMSGroupLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isExpanded() throws IOException, AutomationException
isExpanded
in interface IWMSGroupLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExpanded(boolean pValid) throws IOException, AutomationException
setExpanded
in interface IWMSGroupLayer
pValid
- The pValid (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IWMSGroupLayer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILayer getLayer(int index) throws IOException, AutomationException
getLayer
in interface IWMSGroupLayer
index
- The index (in)
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 |