|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.analyst3d.MessageDispatcher
public class MessageDispatcher
A mechanism for manipulating message queue.
MessageDispatcher coclass is used for interrupting an animated scene.
| Constructor Summary | |
|---|---|
MessageDispatcher()
Constructs a MessageDispatcher using ArcGIS Engine. |
|
MessageDispatcher(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MessageDispatcher theMessageDispatcher = (MessageDispatcher) obj; |
|
| Method Summary | |
|---|---|
void |
dispatch(int hWnd,
boolean bSingle,
Object[] pbCancelled)
Dispatchs messages associated with the window. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
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,
Object[] pbCancelled)
Removes messages associated with the window. |
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, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public MessageDispatcher()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public MessageDispatcher(Object obj)
throws IOException
MessageDispatcher theMessageDispatcher = (MessageDispatcher) obj;
obj to MessageDispatcher.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public boolean isCancelOnEscPress()
throws IOException,
AutomationException
isCancelOnEscPress in interface IMessageDispatcherIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCancelOnEscPress(boolean pbCancelOnEscPress)
throws IOException,
AutomationException
setCancelOnEscPress in interface IMessageDispatcherpbCancelOnEscPress - The pbCancelOnEscPress (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCancelOnClick()
throws IOException,
AutomationException
isCancelOnClick in interface IMessageDispatcherIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCancelOnClick(boolean pbCancelOnClick)
throws IOException,
AutomationException
setCancelOnClick in interface IMessageDispatcherpbCancelOnClick - The pbCancelOnClick (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCancelled(int hWnd)
throws IOException,
AutomationException
isCancelled in interface IMessageDispatcherhWnd - The hWnd (A COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void dispatch(int hWnd,
boolean bSingle,
Object[] pbCancelled)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void remove(int hWnd,
boolean bSingle,
Object[] pbCancelled)
throws IOException,
AutomationException
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)
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 | ||||||||