com.esri.arcgis.cartoUI
Class DataFrameShapeDialog

java.lang.Object
  extended by com.esri.arcgis.cartoUI.DataFrameShapeDialog
All Implemented Interfaces:
IDataFrameShapeDialog, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class DataFrameShapeDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IDataFrameShapeDialog

Data Frame Shape Dialog.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
DataFrameShapeDialog()
          Constructs a DataFrameShapeDialog using ArcGIS Engine.
DataFrameShapeDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DataFrameShapeDialog theDataFrameShapeDialog = (DataFrameShapeDialog) obj;
 
Method Summary
 boolean doModal(String title, IMapFrame pMapFrame, IGraphicsContainer pContainer, int hParentWnd)
          Show the dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IGeometry getGeometry()
          The shape.
 int hashCode()
          the hashcode for this object
 void setGeometry(IGeometry geometry)
          The shape.
 
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

DataFrameShapeDialog

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

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

DataFrameShapeDialog

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

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

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

setGeometry

public void setGeometry(IGeometry geometry)
                 throws IOException,
                        AutomationException
The shape.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setGeometry in interface IDataFrameShapeDialog
Parameters:
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeometry

public IGeometry getGeometry()
                      throws IOException,
                             AutomationException
The shape.

Product Availability

Available with ArcGIS Desktop.

Specified by:
getGeometry in interface IDataFrameShapeDialog
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(String title,
                       IMapFrame pMapFrame,
                       IGraphicsContainer pContainer,
                       int hParentWnd)
                throws IOException,
                       AutomationException
Show the dialog.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModal in interface IDataFrameShapeDialog
Parameters:
title - The title (in)
pMapFrame - A reference to a com.esri.arcgis.carto.IMapFrame (in)
pContainer - A reference to a com.esri.arcgis.carto.IGraphicsContainer (in)
hParentWnd - The hParentWnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.