|
||||||||||
| 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.analyst3d.IMessageDispatcherProxy
Provides access to members for manipulating message queue and keeping track of cancellation.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
IMessageDispatcherProxy()
For internal use only |
|
IMessageDispatcherProxy(java.lang.Object obj)
|
protected |
IMessageDispatcherProxy(java.lang.Object obj,
java.lang.String iid)
|
|
IMessageDispatcherProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
IMessageDispatcherProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
void |
dispatch(int hWnd,
boolean bSingle,
java.lang.Object[] pbCancelled)
Dispatchs messages associated with the window. |
boolean |
isCancelled(int hWnd)
Indicates if a cancel action has been conducted. |
boolean |
isCancelOnClick()
Indicates if a mouse click is seen as a cancel action. |
boolean |
isCancelOnEscPress()
Indicates if pressing the escape key is seen as a cancel action. |
void |
remove(int hWnd,
boolean bSingle,
java.lang.Object[] pbCancelled)
Removes messages associated with the window. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
setCancelOnClick(boolean pbCancelOnClick)
Indicates if a mouse click is seen as a cancel action. |
void |
setCancelOnEscPress(boolean pbCancelOnEscPress)
Indicates if pressing the escape key is seen as a cancel action. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public IMessageDispatcherProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public IMessageDispatcherProxy()
public IMessageDispatcherProxy(java.lang.Object obj)
throws java.io.IOException
protected IMessageDispatcherProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected IMessageDispatcherProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the events
java.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the events
java.io.IOException
public boolean isCancelOnEscPress()
throws java.io.IOException,
AutomationException
IMessageDispatcher
isCancelOnEscPress in interface IMessageDispatcherjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCancelOnEscPress(boolean pbCancelOnEscPress)
throws java.io.IOException,
AutomationException
IMessageDispatcher
setCancelOnEscPress in interface IMessageDispatcherpbCancelOnEscPress - The pbCancelOnEscPress (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isCancelOnClick()
throws java.io.IOException,
AutomationException
IMessageDispatcher
isCancelOnClick in interface IMessageDispatcherAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCancelOnClick(boolean pbCancelOnClick)
throws java.io.IOException,
AutomationException
IMessageDispatcher
setCancelOnClick in interface IMessageDispatcherpbCancelOnClick - The pbCancelOnClick (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isCancelled(int hWnd)
throws java.io.IOException,
AutomationException
IMessageDispatcher
isCancelled in interface IMessageDispatcherhWnd - The hWnd (A COM typedef) (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dispatch(int hWnd,
boolean bSingle,
java.lang.Object[] pbCancelled)
throws java.io.IOException,
AutomationException
IMessageDispatcher
dispatch in interface IMessageDispatcherhWnd - The hWnd (A COM typedef) (in)bSingle - The bSingle (in)pbCancelled - A Variant (out: use single element array, optional, pass single element of null if not required)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(int hWnd,
boolean bSingle,
java.lang.Object[] pbCancelled)
throws java.io.IOException,
AutomationException
IMessageDispatcher
remove in interface IMessageDispatcherhWnd - The hWnd (A COM typedef) (in)bSingle - The bSingle (in)pbCancelled - A Variant (out: use single element array, optional, pass single element of null if not required)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||