|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.framework.MessageDialog
public class MessageDialog
A dialog used for displaying a message.
The message dialog is used to display a message to the user.

| Constructor Summary | |
|---|---|
MessageDialog()
Constructs a MessageDialog using ArcGIS Engine. |
|
MessageDialog(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MessageDialog theMessageDialog = (MessageDialog) obj; |
|
| Method Summary | |
|---|---|
boolean |
doModal(String title,
String message,
String oKButtonMessage,
String cANCELButtonMessage,
int hWnd)
Shows the dialog with a message. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
| 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 MessageDialog()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public MessageDialog(Object obj)
throws IOException
MessageDialog theMessageDialog = (MessageDialog) obj;
obj to MessageDialog.
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 doModal(String title,
String message,
String oKButtonMessage,
String cANCELButtonMessage,
int hWnd)
throws IOException,
AutomationException
Title is a string that specifies the title of the dialog.
Message is a string used for the message displayed in the dialog.
OKButtonMessage specifies the caption for the OK button on the dialog.
CANCELButtonMessage specifies the caption for the Cancel button on the dialog.
hWnd specifies the window handle of the parent window. In most cases this will be the hWnd of the application.
If the dialog was cancelled, the DoModal method returns False.
doModal in interface IMessageDialogtitle - The title (in)message - The message (in)oKButtonMessage - The oKButtonMessage (in)cANCELButtonMessage - The cANCELButtonMessage (in)hWnd - The hWnd (A COM typedef) (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 | ||||||||