com.esri.arcgis.controls
Interface ITOCBuddy

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ITOCBuddy2
All Known Implementing Classes:
GlobeBean, GlobeControl, ITOCBuddy2Proxy, ITOCBuddyProxy, MapBean, MapControl, PageLayoutBean, PageLayoutControl, SceneBean, SceneControl

public interface ITOCBuddy
extends java.io.Serializable

COM Interface 'ITOCBuddy'. 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 IID5eeb268c_9b77_406d_8fc5_489324d0758b
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IActiveView getActiveView()
          Returns the underlying object implementing basic map and ActiveView.
 double getScale(IBasicMap pBasicMap)
          Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap.
 

Field Detail

IID5eeb268c_9b77_406d_8fc5_489324d0758b

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

getActiveView

IActiveView getActiveView()
                          throws java.io.IOException,
                                 AutomationException
Returns the underlying object implementing basic map and ActiveView. This is used to populate the TOC.

Returns:
A reference to a com.esri.arcgis.carto.IActiveView
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getScale

double getScale(IBasicMap pBasicMap)
                throws java.io.IOException,
                       AutomationException
Returns the scale of the supplied BasicMap, this allows for objects that do not support IMap.

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