com.esri.arcgis.controls
Class IToolbarMenu2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.controls.IToolbarMenuProxy
          extended by com.esri.arcgis.controls.IToolbarMenu2Proxy
All Implemented Interfaces:
IToolbarMenu, IToolbarMenu2, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IToolbarMenu2'. 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 =

public class IToolbarMenu2Proxy
extends IToolbarMenuProxy
implements IToolbarMenu2, java.io.Serializable

Internal use class

See Also:
Serialized Form

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.IToolbarMenu2
IID, IIDb38cb2be_d09d_4c5e_9865_d8825d17ebbf
 
Fields inherited from interface com.esri.arcgis.controls.IToolbarMenu
IIDe8f2ab83_e93b_4529_82f6_34b8e4544b9e
 
Constructor Summary
  IToolbarMenu2Proxy()
          Deprecated. For internal use only
  IToolbarMenu2Proxy(java.lang.Object obj)
          Deprecated.  
protected IToolbarMenu2Proxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IToolbarMenu2Proxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IToolbarMenu2Proxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 int addMultiItem(java.lang.Object multiItem, int index, boolean beginGroup, int style)
          Deprecated. Adds a multi-item to the ToolbarMenu.
 int getIconSize()
          Deprecated. The size in pixels of icons displayed on the ToolbarMenu.
 Picture getMouseIcon()
          Deprecated. Custom mouse icon used if MousePointer is 99.
 int getMousePointer()
          Deprecated. The mouse pointer displayed over the ToolbarMenu.
 boolean isAlignLeft()
          Deprecated. Indicates if the ToolbarMenu displays aligned to the left or right.
 boolean isCustomize()
          Deprecated. Indicates if the ToolbarMenu is in customize mode.
 boolean isThemedDrawing()
          Deprecated. Indicates if the ToolbarMenu uses themed drawing.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setAlignLeft(boolean pVal)
          Deprecated. Indicates if the ToolbarMenu displays aligned to the left or right.
 void setCustomize(boolean newVal)
          Deprecated. Indicates if the ToolbarMenu is in customize mode.
 void setIconSize(int pVal)
          Deprecated. The size in pixels of icons displayed on the ToolbarMenu.
 void setMouseIconByRef(Picture ppMouseIcon)
          Deprecated. Custom mouse icon used if MousePointer is 99.
 void setMousePointer(int pVal)
          Deprecated. The mouse pointer displayed over the ToolbarMenu.
 void setThemedDrawing(boolean pVal)
          Deprecated. Indicates if the ToolbarMenu uses themed drawing.
 
Methods inherited from class com.esri.arcgis.controls.IToolbarMenuProxy
addItem, addSubMenu, find, getBitmap, getCaption, getCommandPool, getCount, getHook, getItem, getMenuDef, moveItem, popupMenu, remove, removeAll, setBitmap, setCaption, setCommandPoolByRef, setHook
 
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
 
Methods inherited from interface com.esri.arcgis.controls.IToolbarMenu
addItem, addSubMenu, find, getBitmap, getCaption, getCommandPool, getCount, getHook, getItem, getMenuDef, moveItem, popupMenu, remove, removeAll, setBitmap, setCaption, setCommandPoolByRef, setHook
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IToolbarMenu2Proxy

public IToolbarMenu2Proxy(java.lang.String CLSID,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.net.UnknownHostException,
                          java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IToolbarMenu2Proxy

public IToolbarMenu2Proxy()
Deprecated. 
For internal use only


IToolbarMenu2Proxy

public IToolbarMenu2Proxy(java.lang.Object obj)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IToolbarMenu2Proxy

protected IToolbarMenu2Proxy(java.lang.Object obj,
                             java.lang.String iid)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IToolbarMenu2Proxy

protected IToolbarMenu2Proxy(java.lang.String CLSID,
                             java.lang.String iid,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class IToolbarMenuProxy
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class IToolbarMenuProxy
Throws:
java.io.IOException

addMultiItem

public int addMultiItem(java.lang.Object multiItem,
                        int index,
                        boolean beginGroup,
                        int style)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Adds a multi-item to the ToolbarMenu.

Specified by:
addMultiItem in interface IToolbarMenu2
Parameters:
multiItem - A Variant (in)
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)
Returns:
The itemIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomize

public void setCustomize(boolean newVal)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Indicates if the ToolbarMenu is in customize mode.

Specified by:
setCustomize in interface IToolbarMenu2
Parameters:
newVal - The newVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCustomize

public boolean isCustomize()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Indicates if the ToolbarMenu is in customize mode.

Specified by:
isCustomize in interface IToolbarMenu2
Returns:
The newVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isThemedDrawing

public boolean isThemedDrawing()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Indicates if the ToolbarMenu uses themed drawing.

Specified by:
isThemedDrawing in interface IToolbarMenu2
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setThemedDrawing

public void setThemedDrawing(boolean pVal)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Indicates if the ToolbarMenu uses themed drawing.

Specified by:
setThemedDrawing in interface IToolbarMenu2
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMousePointer

public int getMousePointer()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The mouse pointer displayed over the ToolbarMenu.

Specified by:
getMousePointer in interface IToolbarMenu2
Returns:
A com.esri.arcgis.controls.esriControlsMousePointer constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMousePointer

public void setMousePointer(int pVal)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
The mouse pointer displayed over the ToolbarMenu.

Specified by:
setMousePointer in interface IToolbarMenu2
Parameters:
pVal - A com.esri.arcgis.controls.esriControlsMousePointer constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getIconSize

public int getIconSize()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The size in pixels of icons displayed on the ToolbarMenu.

Specified by:
getIconSize in interface IToolbarMenu2
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setIconSize

public void setIconSize(int pVal)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
The size in pixels of icons displayed on the ToolbarMenu.

Specified by:
setIconSize in interface IToolbarMenu2
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAlignLeft

public boolean isAlignLeft()
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Indicates if the ToolbarMenu displays aligned to the left or right.

Specified by:
isAlignLeft in interface IToolbarMenu2
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAlignLeft

public void setAlignLeft(boolean pVal)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Indicates if the ToolbarMenu displays aligned to the left or right.

Specified by:
setAlignLeft in interface IToolbarMenu2
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMouseIconByRef

public void setMouseIconByRef(Picture ppMouseIcon)
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Custom mouse icon used if MousePointer is 99.

Specified by:
setMouseIconByRef in interface IToolbarMenu2
Parameters:
ppMouseIcon - A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMouseIcon

public Picture getMouseIcon()
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Custom mouse icon used if MousePointer is 99.

Specified by:
getMouseIcon in interface IToolbarMenu2
Returns:
A reference to a com.esri.arcgis.support.ms.stdole.Picture (A com.esri.arcgis.support.ms.stdole.Picture COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.