|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.controls.IToolbarMenuProxy
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 =
public class IToolbarMenuProxy
Internal use class
Field Summary | |
---|---|
boolean |
noncastable
Deprecated. |
static java.lang.Class |
targetClass
Deprecated. |
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Fields inherited from interface com.esri.arcgis.controls.IToolbarMenu |
---|
IID, IIDe8f2ab83_e93b_4529_82f6_34b8e4544b9e |
Constructor Summary | |
---|---|
|
IToolbarMenuProxy()
Deprecated. For internal use only |
|
IToolbarMenuProxy(java.lang.Object obj)
Deprecated. |
protected |
IToolbarMenuProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated. |
|
IToolbarMenuProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
protected |
IToolbarMenuProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
Method Summary | |
---|---|
int |
addItem(java.lang.Object item,
int subType,
int index,
boolean beginGroup,
int style)
Deprecated. Adds an item to the ToolbarMenu. |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated. |
int |
addSubMenu(java.lang.Object menuOrPalette,
int index,
boolean beginGroup)
Deprecated. Adds a sub-menu to the ToolbarMenu. |
int |
find(java.lang.Object item)
Deprecated. Returns the index of the first item containing the given command or menu. |
int |
getBitmap()
Deprecated. The bitmap that is used as the icon on this ToolbarMenu. |
java.lang.String |
getCaption()
Deprecated. The caption used by the ToolbarMenu. |
ICommandPool |
getCommandPool()
Deprecated. The CommandPool used by the ToolbarMenu. |
int |
getCount()
Deprecated. The number of items on the ToolbarMenu. |
java.lang.Object |
getHook()
Deprecated. The object that is passed as a hook to the OnCreate event of each item's command. |
IToolbarItem |
getItem(int index)
Deprecated. Returns the item at the specified index from the ToolbarMenu. |
IMenuDef |
getMenuDef()
Deprecated. Returns the menu definition, this method is obsolete. |
void |
moveItem(int startIndex,
int finalIndex)
Deprecated. Moves an item from one index to another. |
void |
popupMenu(int x,
int y,
int hWndParent)
Deprecated. Pops up the menu at the position specified. |
void |
remove(int index)
Deprecated. Removes the item at the specified index from the ToolbarMenu. |
void |
removeAll()
Deprecated. Removes all items from the ToolbarMenu. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated. |
void |
setBitmap(int pVal)
Deprecated. The bitmap that is used as the icon on this ToolbarMenu. |
void |
setCaption(java.lang.String pCaption)
Deprecated. The caption used by the ToolbarMenu. |
void |
setCommandPoolByRef(ICommandPool ppCommandPool)
Deprecated. The CommandPool used by the ToolbarMenu. |
void |
setHook(java.lang.Object pHook)
Deprecated. Sets the object that is passed as a hook to the OnCreate event of each item's command. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public IToolbarMenuProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public IToolbarMenuProxy()
public IToolbarMenuProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected IToolbarMenuProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected IToolbarMenuProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void popupMenu(int x, int y, int hWndParent) throws java.io.IOException, AutomationException
popupMenu
in interface IToolbarMenu
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.public void setCaption(java.lang.String pCaption) throws java.io.IOException, AutomationException
setCaption
in interface IToolbarMenu
pCaption
- The pCaption (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String getCaption() throws java.io.IOException, AutomationException
getCaption
in interface IToolbarMenu
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCommandPoolByRef(ICommandPool ppCommandPool) throws java.io.IOException, AutomationException
setCommandPoolByRef
in interface IToolbarMenu
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.public ICommandPool getCommandPool() throws java.io.IOException, AutomationException
getCommandPool
in interface IToolbarMenu
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHook(java.lang.Object pHook) throws java.io.IOException, AutomationException
setHook
in interface IToolbarMenu
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.public java.lang.Object getHook() throws java.io.IOException, AutomationException
getHook
in interface IToolbarMenu
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getBitmap() throws java.io.IOException, AutomationException
getBitmap
in interface IToolbarMenu
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBitmap(int pVal) throws java.io.IOException, AutomationException
setBitmap
in interface IToolbarMenu
pVal
- The pVal (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMenuDef getMenuDef() throws java.io.IOException, AutomationException
getMenuDef
in interface IToolbarMenu
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addItem(java.lang.Object item, int subType, int index, boolean beginGroup, int style) throws java.io.IOException, AutomationException
addItem
in interface IToolbarMenu
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.public int addSubMenu(java.lang.Object menuOrPalette, int index, boolean beginGroup) throws java.io.IOException, AutomationException
addSubMenu
in interface IToolbarMenu
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.public void remove(int index) throws java.io.IOException, AutomationException
remove
in interface IToolbarMenu
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws java.io.IOException, AutomationException
removeAll
in interface IToolbarMenu
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IToolbarItem getItem(int index) throws java.io.IOException, AutomationException
getItem
in interface IToolbarMenu
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IToolbarMenu
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int find(java.lang.Object item) throws java.io.IOException, AutomationException
find
in interface IToolbarMenu
item
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveItem(int startIndex, int finalIndex) throws java.io.IOException, AutomationException
moveItem
in interface IToolbarMenu
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 |