|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IToolbarMenu
COM Interface 'IToolbarMenu'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriControls.olb'
Description: 'Provides access to members that control ToolbarControl menu items.' 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 |
IIDe8f2ab83_e93b_4529_82f6_34b8e4544b9e
|
static int |
xxDummy
Deprecated. Internal use only |
Method Summary | |
---|---|
int |
addItem(java.lang.Object item,
int subType,
int index,
boolean beginGroup,
int style)
Adds an item to the ToolbarMenu. |
int |
addSubMenu(java.lang.Object menuOrPalette,
int index,
boolean beginGroup)
Adds a sub-menu to the ToolbarMenu. |
int |
find(java.lang.Object item)
Returns the index of the first item containing the given command or menu. |
int |
getBitmap()
The bitmap that is used as the icon on this ToolbarMenu. |
java.lang.String |
getCaption()
The caption used by the ToolbarMenu. |
ICommandPool |
getCommandPool()
The CommandPool used by the ToolbarMenu. |
int |
getCount()
The number of items on the ToolbarMenu. |
java.lang.Object |
getHook()
The object that is passed as a hook to the OnCreate event of each item's command. |
IToolbarItem |
getItem(int index)
Returns the item at the specified index from the ToolbarMenu. |
IMenuDef |
getMenuDef()
Returns the menu definition, this method is obsolete. |
void |
moveItem(int startIndex,
int finalIndex)
Moves an item from one index to another. |
void |
popupMenu(int x,
int y,
int hWndParent)
Pops up the menu at the position specified. |
void |
remove(int index)
Removes the item at the specified index from the ToolbarMenu. |
void |
removeAll()
Removes all items from the ToolbarMenu. |
void |
setBitmap(int pVal)
The bitmap that is used as the icon on this ToolbarMenu. |
void |
setCaption(java.lang.String pCaption)
The caption used by the ToolbarMenu. |
void |
setCommandPoolByRef(ICommandPool ppCommandPool)
The CommandPool used by the ToolbarMenu. |
void |
setHook(java.lang.Object pHook)
Sets the object that is passed as a hook to the OnCreate event of each item's command. |
Field Detail |
---|
static final int IIDe8f2ab83_e93b_4529_82f6_34b8e4544b9e
static final int xxDummy
static final java.lang.String IID
Method Detail |
---|
void popupMenu(int x, int y, int hWndParent) throws java.io.IOException, AutomationException
x
- The x (in)y
- The y (in)hWndParent
- The hWndParent (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCaption(java.lang.String pCaption) throws java.io.IOException, AutomationException
pCaption
- The pCaption (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.java.lang.String getCaption() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCommandPoolByRef(ICommandPool ppCommandPool) throws java.io.IOException, AutomationException
ppCommandPool
- A reference to a com.esri.arcgis.controls.ICommandPool (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ICommandPool getCommandPool() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHook(java.lang.Object pHook) throws java.io.IOException, AutomationException
pHook
- A reference to another Automation Object (IDispatch) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.java.lang.Object getHook() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getBitmap() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBitmap(int pVal) throws java.io.IOException, AutomationException
pVal
- The pVal (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IMenuDef getMenuDef() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int addItem(java.lang.Object item, int subType, int index, boolean beginGroup, int style) throws java.io.IOException, AutomationException
item
- A Variant (in)subType
- The subType (in, optional, pass 0 if not required)index
- The index (in, optional, pass -1 if not required)beginGroup
- The beginGroup (in, optional, pass false if not required)style
- A com.esri.arcgis.systemUI.esriCommandStyles constant (in, optional, pass 2 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int addSubMenu(java.lang.Object menuOrPalette, int index, boolean beginGroup) throws java.io.IOException, AutomationException
menuOrPalette
- A Variant (in)index
- The index (in, optional, pass -1 if not required)beginGroup
- The beginGroup (in, optional, pass false if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void remove(int index) throws java.io.IOException, AutomationException
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void removeAll() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IToolbarItem getItem(int index) throws java.io.IOException, AutomationException
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int find(java.lang.Object item) throws java.io.IOException, AutomationException
item
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void moveItem(int startIndex, int finalIndex) throws java.io.IOException, AutomationException
startIndex
- The startIndex (in)finalIndex
- The finalIndex (in, optional, pass -1 if not required)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |