com.esri.arcgis.arcmapui
Class IViewCommandToolbarsProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.arcmapui.IViewCommandToolbarsProxy
All Implemented Interfaces:
IViewCommandToolbars, Externalizable, Serializable

public class IViewCommandToolbarsProxy
extends com.esri.arcgis.interop.Dispatch
implements IViewCommandToolbars, Serializable

Provides access to members that control view commands which have toolbars associated with them.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IViewCommandToolbarsProxy()
           
  IViewCommandToolbarsProxy(Object obj)
           
protected IViewCommandToolbarsProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean isAutoShowToolbars()
          Indicates if toolbars associated with the view should be shown automatically.
 void removeListener(String iidStr, Object theListener)
           
 void setAutoShowToolbars(boolean autoShow)
          Indicates if toolbars associated with the view should be shown automatically.
 void showToolbars(boolean show)
          Shows or hides the toolbars associated with a view.
 
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

noncastable

public boolean noncastable
Constructor Detail

IViewCommandToolbarsProxy

public IViewCommandToolbarsProxy()

IViewCommandToolbarsProxy

public IViewCommandToolbarsProxy(Object obj)
                          throws IOException
Throws:
IOException

IViewCommandToolbarsProxy

protected IViewCommandToolbarsProxy(Object obj,
                                    String iid)
                             throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

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

isAutoShowToolbars

public boolean isAutoShowToolbars()
                           throws IOException,
                                  AutomationException
Indicates if toolbars associated with the view should be shown automatically.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
isAutoShowToolbars in interface IViewCommandToolbars
Returns:
The autoShow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAutoShowToolbars

public void setAutoShowToolbars(boolean autoShow)
                         throws IOException,
                                AutomationException
Indicates if toolbars associated with the view should be shown automatically.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setAutoShowToolbars in interface IViewCommandToolbars
Parameters:
autoShow - The autoShow (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

showToolbars

public void showToolbars(boolean show)
                  throws IOException,
                         AutomationException
Shows or hides the toolbars associated with a view.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
showToolbars in interface IViewCommandToolbars
Parameters:
show - The show (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.