| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.controls.IToolbarBuddyProxy
public class IToolbarBuddyProxy
Provides access to members that control the ToolbarControl buddy.
Objects that implement the IToolbarBuddy interface can be passed to the IToolbarControl::SetBuddyControl method. The ToolbarControl will set properties on this interface in repsonse to the CurrentTool being set.
| Field Summary | |
|---|---|
|  boolean | noncastable | 
| Fields inherited from class com.esri.arcgis.interop.Dispatch | 
|---|
| DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef | 
| Constructor Summary | |
|---|---|
|   | IToolbarBuddyProxy() | 
|   | IToolbarBuddyProxy(Object obj) | 
| protected  | IToolbarBuddyProxy(Object obj,
                   String iid) | 
| Method Summary | |
|---|---|
|  void | addListener(String iidStr,
            Object theListener,
            Object theSource) | 
|  ITool | getCurrentTool()Current active tool for the buddy. | 
|  void | removeListener(String iidStr,
               Object theListener) | 
|  void | setCurrentToolByRef(ITool pTool)Current active tool for the buddy. | 
| 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 boolean noncastable
| Constructor Detail | 
|---|
public IToolbarBuddyProxy()
public IToolbarBuddyProxy(Object obj)
                   throws IOException
IOException
protected IToolbarBuddyProxy(Object obj,
                             String iid)
                      throws IOException
IOException| Method Detail | 
|---|
public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public ITool getCurrentTool()
                     throws IOException,
                            AutomationException
The CurrentTool is the tool used to interact with the display area of the IToolbarControl::Buddy. The IToolbarBuddy references this tool so that it can:
getCurrentTool in interface IToolbarBuddyIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCurrentToolByRef(ITool pTool)
                         throws IOException,
                                AutomationException
setCurrentToolByRef in interface IToolbarBuddypTool - A reference to a com.esri.arcgis.systemUI.ITool  (in)
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 | ||||||||