com.esri.arcgis.framework
Class ICommandBarsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.framework.ICommandBarsProxy
All Implemented Interfaces:
ICommandBars, java.io.Externalizable, java.io.Serializable

public class ICommandBarsProxy
extends com.esri.arcgis.interop.Dispatch
implements ICommandBars, java.io.Serializable

Internal use class Proxy for COM Interface 'ICommandBars'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriFramework.olb'

Description: 'Provides access to members that work on the collection of commandbars.' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
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.framework.ICommandBars
IID, IID289fc451_d249_11d1_91ad_0080c718df97
 
Constructor Summary
  ICommandBarsProxy()
          For internal use only
  ICommandBarsProxy(java.lang.Object obj)
           
protected ICommandBarsProxy(java.lang.Object obj, java.lang.String iid)
           
  ICommandBarsProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected ICommandBarsProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 ICommandBar create(java.lang.String name, int barType)
          Creates a new blank toolbar or shortcut menu.
 ICommandItem find(java.lang.Object identifier, boolean noRecurse, boolean noCreate)
          Searches for the item specified by identifier.
 void hideAllToolbars()
          Hides all visible bars.
 boolean isLargeIcons()
          Indicates if large icons should be shown.
 boolean isShowToolTips()
          Indicates if tooltips should be shown.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void setLargeIcons(boolean bLarge)
          Indicates if large icons should be shown.
 void setShowToolTips(boolean bShow)
          Indicates if tooltips should be shown.
 
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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

ICommandBarsProxy

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

ICommandBarsProxy

public ICommandBarsProxy()
For internal use only


ICommandBarsProxy

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

ICommandBarsProxy

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

ICommandBarsProxy

protected ICommandBarsProxy(java.lang.String CLSID,
                            java.lang.String iid,
                            java.lang.String host,
                            com.esri.arcgis.interop.AuthInfo authInfo)
                     throws java.io.IOException
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
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

setShowToolTips

public void setShowToolTips(boolean bShow)
                     throws java.io.IOException,
                            AutomationException
Indicates if tooltips should be shown.

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

isShowToolTips

public boolean isShowToolTips()
                       throws java.io.IOException,
                              AutomationException
Indicates if tooltips should be shown.

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

setLargeIcons

public void setLargeIcons(boolean bLarge)
                   throws java.io.IOException,
                          AutomationException
Indicates if large icons should be shown.

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

isLargeIcons

public boolean isLargeIcons()
                     throws java.io.IOException,
                            AutomationException
Indicates if large icons should be shown.

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

create

public ICommandBar create(java.lang.String name,
                          int barType)
                   throws java.io.IOException,
                          AutomationException
Creates a new blank toolbar or shortcut menu.

Specified by:
create in interface ICommandBars
Parameters:
name - The name (in)
barType - A com.esri.arcgis.systemUI.esriCmdBarType constant (in)
Returns:
A reference to a com.esri.arcgis.framework.ICommandBar
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

find

public ICommandItem find(java.lang.Object identifier,
                         boolean noRecurse,
                         boolean noCreate)
                  throws java.io.IOException,
                         AutomationException
Searches for the item specified by identifier.

Specified by:
find in interface ICommandBars
Parameters:
identifier - A Variant (in)
noRecurse - The noRecurse (in, optional, pass false if not required)
noCreate - The noCreate (in, optional, pass false if not required)
Returns:
A reference to a com.esri.arcgis.framework.ICommandItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hideAllToolbars

public void hideAllToolbars()
                     throws java.io.IOException,
                            AutomationException
Hides all visible bars.

Specified by:
hideAllToolbars in interface ICommandBars
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.