com.esri.arcgis.framework
Class NumberFormatDialog

java.lang.Object
  extended by com.esri.arcgis.framework.NumberFormatDialog
All Implemented Interfaces:
INumberFormatDialog, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class NumberFormatDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, INumberFormatDialog

Number Format Dialog object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
NumberFormatDialog()
          Constructs a NumberFormatDialog using ArcGIS Engine.
NumberFormatDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NumberFormatDialog theNumberFormatDialog = (NumberFormatDialog) obj;
 
Method Summary
 boolean doModal(int hWnd)
          Displays the number format dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 INumberFormat getNumberFormat()
          The current number format object.
 int hashCode()
          the hashcode for this object
 void setNumberFormat(INumberFormat format)
          The current number format 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

NumberFormatDialog

public NumberFormatDialog()
                   throws IOException,
                          UnknownHostException
Constructs a NumberFormatDialog using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

NumberFormatDialog

public NumberFormatDialog(Object obj)
                   throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
NumberFormatDialog theNumberFormatDialog = (NumberFormatDialog) obj;

Construct a NumberFormatDialog using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NumberFormatDialog.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getNumberFormat

public INumberFormat getNumberFormat()
                              throws IOException,
                                     AutomationException
The current number format object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getNumberFormat in interface INumberFormatDialog
Returns:
A reference to a com.esri.arcgis.system.INumberFormat
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumberFormat

public void setNumberFormat(INumberFormat format)
                     throws IOException,
                            AutomationException
The current number format object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setNumberFormat in interface INumberFormatDialog
Parameters:
format - A reference to a com.esri.arcgis.system.INumberFormat (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(int hWnd)
                throws IOException,
                       AutomationException
Displays the number format dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface INumberFormatDialog
Parameters:
hWnd - The hWnd (A COM typedef) (in)
Returns:
The okPressed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.