com.esri.arcgis.carto
Interface ICompositeLayer2

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BasemapSubLayer, CadastralFabricLayer, FDOGraphicsLayer, GlobeServerLayer, ICompositeLayer2Proxy, IMSMapLayer, MapServerLayer, MapServerRESTLayer, MapServerRESTSubLayer, MosaicLayer, NALayer, SchematicLayer, WMSGroupLayer, WMSMapLayer

public interface ICompositeLayer2
extends java.io.Serializable

COM Interface 'ICompositeLayer2'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control whether a layer is expanded in the TOC.' 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 IID88130d17_5762_453a_96cf_8e7503fa1aa0
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 int getCount()
          Number of layers in the collection.
 ILayer getLayer(int index)
          Layer in the collection at the specified index.
 boolean isExpanded()
          Indicates if the layer is expanded in the TOC.
 void setExpanded(boolean expanded)
          Indicates if the layer is expanded in the TOC.
 

Field Detail

IID88130d17_5762_453a_96cf_8e7503fa1aa0

static final int IID88130d17_5762_453a_96cf_8e7503fa1aa0
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
Number of layers in the collection.

Returns:
The layerCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLayer

ILayer getLayer(int index)
                throws java.io.IOException,
                       AutomationException
Layer in the collection at the specified index.

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.

isExpanded

boolean isExpanded()
                   throws java.io.IOException,
                          AutomationException
Indicates if the layer is expanded in the TOC.

Returns:
The expanded
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExpanded

void setExpanded(boolean expanded)
                 throws java.io.IOException,
                        AutomationException
Indicates if the layer is expanded in the TOC.

Parameters:
expanded - The expanded (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.