com.esri.arcgis.carto
Class IWMSGroupLayerProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.carto.IWMSGroupLayerProxy
All Implemented Interfaces:
IWMSGroupLayer, java.io.Externalizable, java.io.Serializable

public class IWMSGroupLayerProxy
extends com.esri.arcgis.interop.Dispatch
implements IWMSGroupLayer, java.io.Serializable

Internal use class Proxy for COM Interface 'IWMSGroupLayer'. Generated 3/19/2015 1:20:53 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the WMS group 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
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.IWMSGroupLayer
IID, IIDd43d9a73_ff6c_4a19_b36a_d7ecbe61962a
 
Constructor Summary
  IWMSGroupLayerProxy()
          For internal use only
  IWMSGroupLayerProxy(java.lang.Object obj)
           
protected IWMSGroupLayerProxy(java.lang.Object obj, java.lang.String iid)
           
  IWMSGroupLayerProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IWMSGroupLayerProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void add(ILayer wMSLayer)
          Adds the given WMS Layer at the given position.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void clear()
          Deletes all the sub layers.
 IWMSGroupLayer createWMSGroupLayer(java.lang.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(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IWMSGroupLayerProxy

public IWMSGroupLayerProxy(java.lang.String CLSID,
                           java.lang.String host,
                           com.esri.arcgis.interop.AuthInfo authInfo)
                    throws java.net.UnknownHostException,
                           java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IWMSGroupLayerProxy

public IWMSGroupLayerProxy()
For internal use only


IWMSGroupLayerProxy

public IWMSGroupLayerProxy(java.lang.Object obj)
                    throws java.io.IOException
Throws:
java.io.IOException

IWMSGroupLayerProxy

protected IWMSGroupLayerProxy(java.lang.Object obj,
                              java.lang.String iid)
                       throws java.io.IOException
Throws:
java.io.IOException

IWMSGroupLayerProxy

protected IWMSGroupLayerProxy(java.lang.String CLSID,
                              java.lang.String iid,
                              java.lang.String host,
                              com.esri.arcgis.interop.AuthInfo authInfo)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getWMSServiceDescription

public IWMSServiceDescription getWMSServiceDescription()
                                                throws java.io.IOException,
                                                       AutomationException
Associated WMSServiceDescription.

Specified by:
getWMSServiceDescription in interface IWMSGroupLayer
Returns:
A reference to a com.esri.arcgis.gisclient.IWMSServiceDescription
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createWMSLayer

public IWMSLayer createWMSLayer(IWMSLayerDescription pWMSLayerDescription)
                         throws java.io.IOException,
                                AutomationException
Creates a new WMSLayer for the given WMSLayerDescription.

Specified by:
createWMSLayer in interface IWMSGroupLayer
Parameters:
pWMSLayerDescription - A reference to a com.esri.arcgis.gisclient.IWMSLayerDescription (in)
Returns:
A reference to a com.esri.arcgis.carto.IWMSLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createWMSGroupLayer

public IWMSGroupLayer createWMSGroupLayer(java.lang.String groupName)
                                   throws java.io.IOException,
                                          AutomationException
Creates an empty WMSGroupLayer with the given name.

Specified by:
createWMSGroupLayer in interface IWMSGroupLayer
Parameters:
groupName - The groupName (in)
Returns:
A reference to a com.esri.arcgis.carto.IWMSGroupLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createWMSGroupLayers

public IWMSGroupLayer createWMSGroupLayers(IWMSLayerDescription wMSGroupLayerDescription)
                                    throws java.io.IOException,
                                           AutomationException
Creates a new WMSGroupLayer for the given WMSLayerDescription recursively including all the sub layers.

Specified by:
createWMSGroupLayers in interface IWMSGroupLayer
Parameters:
wMSGroupLayerDescription - A reference to a com.esri.arcgis.gisclient.IWMSLayerDescription (in)
Returns:
A reference to a com.esri.arcgis.carto.IWMSGroupLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertLayers

public void insertLayers(IEnumLayer wMSLayers,
                         int insertPosition)
                  throws java.io.IOException,
                         AutomationException
Inserts the given WMS Layers at the given position. Only layers created by this WMS group layer or its parent layers are valid.

Specified by:
insertLayers in interface IWMSGroupLayer
Parameters:
wMSLayers - A reference to a com.esri.arcgis.carto.IEnumLayer (in)
insertPosition - The insertPosition (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertLayer

public void insertLayer(ILayer wMSLayer,
                        int insertPosition)
                 throws java.io.IOException,
                        AutomationException
Inserts the given WMS Layer at the given position. Only layer created by this WMS group layer or its parent layers are valid.

Specified by:
insertLayer in interface IWMSGroupLayer
Parameters:
wMSLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
insertPosition - The insertPosition (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

moveLayer

public void moveLayer(ILayer wMSLayer,
                      int toPosition)
               throws java.io.IOException,
                      AutomationException
Moves the given layer to the given position within the group layer.

Specified by:
moveLayer in interface IWMSGroupLayer
Parameters:
wMSLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
toPosition - The toPosition (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(ILayer wMSLayer)
         throws java.io.IOException,
                AutomationException
Adds the given WMS Layer at the given position. Only layer created by this WMS group layer or its parent layers are valid.

Specified by:
add in interface IWMSGroupLayer
Parameters:
wMSLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete(ILayer pWMSLayer)
            throws java.io.IOException,
                   AutomationException
Deletes the given layer if it exists.

Specified by:
delete in interface IWMSGroupLayer
Parameters:
pWMSLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

public void clear()
           throws java.io.IOException,
                  AutomationException
Deletes all the sub layers.

Specified by:
clear in interface IWMSGroupLayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isExpanded

public boolean isExpanded()
                   throws java.io.IOException,
                          AutomationException
Indicates if the layer is expanded or collapsed.

Specified by:
isExpanded in interface IWMSGroupLayer
Returns:
The pValid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpanded

public void setExpanded(boolean pValid)
                 throws java.io.IOException,
                        AutomationException
Indicates if the layer is expanded or collapsed.

Specified by:
setExpanded in interface IWMSGroupLayer
Parameters:
pValid - The pValid (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
Number of sub layers.

Specified by:
getCount in interface IWMSGroupLayer
Returns:
The pLayerCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

public ILayer getLayer(int index)
                throws java.io.IOException,
                       AutomationException
Sub layer at the given index.

Specified by:
getLayer in interface IWMSGroupLayer
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.