|
|||||||||
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.systemUI.ICompletionNotifyProxy
public class ICompletionNotifyProxy
Provides access to a method that advises the framework that the control user has indicated completion.
When a ToolControl object gains focus, an ICompletionNotify object is passed to the ToolControl in the IToolControl::OnFocus method.
The ICompletionNotify interface provides the IToolControl interface a mechanism to report to the application that the ToolControl no longer needs focus.
IToolControl.onFocus(com.esri.arcgis.systemUI.ICompletionNotify)
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ICompletionNotifyProxy()
|
|
ICompletionNotifyProxy(Object obj)
|
protected |
ICompletionNotifyProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
removeListener(String iidStr,
Object theListener)
|
void |
setComplete()
Advises the framework that the control user has indicated completion. |
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 ICompletionNotifyProxy()
public ICompletionNotifyProxy(Object obj) throws IOException
IOException
protected ICompletionNotifyProxy(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.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void setComplete() throws IOException, AutomationException
When a ToolControl object gains focus, an ICompletionNotify object is passed to the ToolControl in the IToolControl::OnFocus method. The ToolControl needs to call the SetComplete method when it's finished to let the application know that the control should lose focus.
For example, a combobox control should lose focus after a user selects an item in the combobox. In this case in you would call SetComplete in the Click event of the combobox control.
setComplete
in interface ICompletionNotify
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 |