com.esri.arcgis.systemUI
Interface IMenuDef

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
ControlsEditingEditorMenu, ControlsEditingSketchContextMenu, ControlsEditingSnapToFeatureMenu, ControlsEditingVertexContextMenu, ControlsFeatureSelectionMenu, ControlsMapBookmarkMenu, ControlsMapViewMenu, ControlsNetworkAnalystSolverMenu, ControlsSnappingMenu, GxMSDFileContextMenu, IMenuDefProxy, InternalMenu, InternalMenuRoot, InternalMenuShortcut, LayerSelectionContextMenu, MapViewCommandsContextMenu, TableContextMenuArrange

public interface IMenuDef
extends java.io.Serializable


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID58e2c6a1_cd8d_11d1_91a7_0080c718df97
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 java.lang.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.
 java.lang.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 java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getItemCount

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

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

getItemInfo

void getItemInfo(int pos,
                 IItemDef itemDef)
                 throws java.io.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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

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

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

getCaption

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

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