com.esri.arcgis.controls
Interface ITOCBuddy2

All Superinterfaces:
ITOCBuddy, java.io.Serializable
All Known Implementing Classes:
GlobeControl, ITOCBuddy2Proxy

public interface ITOCBuddy2
extends ITOCBuddy, java.io.Serializable

COM Interface 'ITOCBuddy2'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'

Description: 'Provides access to members that control the TOC buddy.' 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 IID05e5f0d1_7983_412a_8496_2b71863c4e0d
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.controls.ITOCBuddy
IID5eeb268c_9b77_406d_8fc5_489324d0758b
 
Method Summary
 boolean isLayerValid(ILayer pLayer)
          The TOCControl calls this method to ask the buddy if a layer is fully cached and valid if it cannot determine this on its own.
 boolean isLayerVisibleAtScale(ILayer pLayer, double scale)
          The TOCControl calls this method to ask the buddy if a layer is visible at the specified scale.
 void layerVisibilityChanged(IBasicMap pBasicMap, ILayer pLayer, boolean visibility)
          The TOCControl calls this method to instruct the buddy that layer visibility has changed.
 
Methods inherited from interface com.esri.arcgis.controls.ITOCBuddy
getActiveView, getScale
 

Field Detail

IID05e5f0d1_7983_412a_8496_2b71863c4e0d

static final int IID05e5f0d1_7983_412a_8496_2b71863c4e0d
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

layerVisibilityChanged

void layerVisibilityChanged(IBasicMap pBasicMap,
                            ILayer pLayer,
                            boolean visibility)
                            throws java.io.IOException,
                                   AutomationException
The TOCControl calls this method to instruct the buddy that layer visibility has changed.

Parameters:
pBasicMap - A reference to a com.esri.arcgis.carto.IBasicMap (in)
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
visibility - The visibility (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLayerValid

boolean isLayerValid(ILayer pLayer)
                     throws java.io.IOException,
                            AutomationException
The TOCControl calls this method to ask the buddy if a layer is fully cached and valid if it cannot determine this on its own.

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

isLayerVisibleAtScale

boolean isLayerVisibleAtScale(ILayer pLayer,
                              double scale)
                              throws java.io.IOException,
                                     AutomationException
The TOCControl calls this method to ask the buddy if a layer is visible at the specified scale.

Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
scale - The scale (in)
Returns:
The visibility
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.