com.esri.arcgis.systemUI
Interface IMenuDef

All Superinterfaces:
Serializable
All Known Implementing Classes:
ControlsEditingEditorMenu, ControlsEditingSketchContextMenu, ControlsEditingSnapToFeatureMenu, ControlsEditingVertexContextMenu, ControlsFeatureSelectionMenu, ControlsMapBookmarkMenu, ControlsMapViewMenu, ControlsNetworkAnalystSolverMenu, ControlsSnappingMenu, GxMSDFileContextMenu, LayerSelectionContextMenu, MapViewCommandsContextMenu, TableContextMenuArrange

public interface IMenuDef
extends Serializable


Field Summary
static String IID
          Deprecated. Internal use only
static int IID58e2c6a1_cd8d_11d1_91a7_0080c718df97
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 String getCaption()
          The caption of this menu.
 int getItemCount()
          The number of items in this menu.
 void getItemInfo(int pos, IItemDef itemDef)
          The CLSID for the item on this menu at the specified index.
 String getName()
          The name of this menu.
 

Field Detail

IID58e2c6a1_cd8d_11d1_91a7_0080c718df97

static final int IID58e2c6a1_cd8d_11d1_91a7_0080c718df97
See Also:
Constant Field Values

xxDummy

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

IID

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

getItemCount

int getItemCount()
                 throws IOException,
                        AutomationException
The number of items in this menu.

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

getItemInfo

void getItemInfo(int pos,
                 IItemDef itemDef)
                 throws IOException,
                        AutomationException
The CLSID for the item on this menu at the specified index.

Parameters:
pos - The pos (in)
itemDef - A reference to a com.esri.arcgis.systemUI.IItemDef (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

String getName()
               throws IOException,
                      AutomationException
The name of this menu.

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

getCaption

String getCaption()
                  throws IOException,
                         AutomationException
The caption of this menu.

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