com.esri.arcgis.editor
Class DimensionStyleDialog

java.lang.Object
  extended by com.esri.arcgis.editor.DimensionStyleDialog
All Implemented Interfaces:
IDimensionStyleDialog, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class DimensionStyleDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDimensionStyleDialog

A property page for creating new dimension styles.

Remarks

Use the DimensionStyleDialog to create a new DimensionStyle in an existing featureclass or display properties of an existing DimensionStyle without providing write access.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
DimensionStyleDialog()
          Constructs a DimensionStyleDialog using ArcGIS Engine.
DimensionStyleDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DimensionStyleDialog theDimensionStyleDialog = (DimensionStyleDialog) obj;
 
Method Summary
 IDimensionStyle doModal(IFeatureClass featureClass, IDimensionStyle copyStyle, int hWndParent)
          Displays the dialog used to define a new dimension style.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void setReadOnly(boolean rhs1)
          Indicates if the dimension style dialog shouild be opened in read-only mode.
 
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

DimensionStyleDialog

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

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

DimensionStyleDialog

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

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

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

doModal

public IDimensionStyle doModal(IFeatureClass featureClass,
                               IDimensionStyle copyStyle,
                               int hWndParent)
                        throws IOException,
                               AutomationException
Displays the dialog used to define a new dimension style.

Remarks

The copyStyle argument is not required to use the DoModal method. If no copyStyle is specified, the dialog will be populated with the system dimension style properties instead of using the dimension style as the template style.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface IDimensionStyleDialog
Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
copyStyle - A reference to a com.esri.arcgis.carto.IDimensionStyle (in)
hWndParent - The hWndParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.carto.IDimensionStyle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReadOnly

public void setReadOnly(boolean rhs1)
                 throws IOException,
                        AutomationException
Indicates if the dimension style dialog shouild be opened in read-only mode.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setReadOnly in interface IDimensionStyleDialog
Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.