|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INumberDialog
Provides access to members that work with a dialog for getting a number.
The number dialog is a dialog used for getting user input in the form of a number.
To get access to the INumberDialog interface you would create a new NumberDialog object.
ICoordinateDialog
,
CoordinateDialog
Method Summary | |
---|---|
boolean |
doModal(String title,
double initialValue,
int numDecs,
int hWnd)
Shows the dialog. |
double |
getValue()
The number value entered in the dialog. |
Method Detail |
---|
double getValue() throws IOException, AutomationException
The Value property allows you to get the number that was entered in the dialog.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
title
- 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 |