|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.framework.NumberDialog
public class NumberDialog
A dialog used for getting a number.
The number dialog is dialog used for getting user input in the form of a number.

ICoordinateDialog,
CoordinateDialog,
Serialized Form| Constructor Summary | |
|---|---|
NumberDialog()
Constructs a NumberDialog using ArcGIS Engine. |
|
NumberDialog(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NumberDialog theNumberDialog = (NumberDialog) obj; |
|
| Method Summary | |
|---|---|
boolean |
doModal(String title,
double initialValue,
int numDecs,
int hWnd)
Shows the dialog. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
double |
getValue()
The number value entered in the dialog. |
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 NumberDialog()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public NumberDialog(Object obj)
throws IOException
NumberDialog theNumberDialog = (NumberDialog) obj;
obj to NumberDialog.
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 double getValue()
throws IOException,
AutomationException
The Value property allows you to get the number that was entered in the dialog.
getValue in interface INumberDialogIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean doModal(String title,
double initialValue,
int numDecs,
int hWnd)
throws IOException,
AutomationException
Title is a string that specifies the title of the dialog.
initialValue specifies the intial value to be displayed in the dialog.
numDecs specifies the number of decimal places to be used for the value.
hWnd specifies the window handle of the parent window. In most cases this will be the hWnd of the application.
If a non-numeric value was entered or if the dialog was cancelled, the DoModal method returns False.
doModal in interface INumberDialogtitle - The title (in)initialValue - The initialValue (in)numDecs - The numDecs (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 | ||||||||