com.esri.arcgis.cartoUI
Class DataFrameAreaOfInterestDialog

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

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

Data frame fixed bounds dialog.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
DataFrameAreaOfInterestDialog()
          Constructs a DataFrameAreaOfInterestDialog using ArcGIS Engine.
DataFrameAreaOfInterestDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DataFrameAreaOfInterestDialog theDataFrameAreaOfInterestDialog = (DataFrameAreaOfInterestDialog) obj;
 
Method Summary
 boolean doModal(IMapFrame pMapFrame, int parentWindow)
          Specify data frame's area of interest.
 boolean doModal(String title, IMapFrame pMapFrame, IGraphicsContainer pContainer, int hParentWnd)
          Opens and shows the dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IGeometry getGeometry()
          Provides access to the shape.
 int hashCode()
          the hashcode for this object
 void setGeometry(IGeometry geometry)
          Provides access to 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

DataFrameAreaOfInterestDialog

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

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

DataFrameAreaOfInterestDialog

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

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

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 boolean doModal(IMapFrame pMapFrame,
                       int parentWindow)
                throws IOException,
                       AutomationException
Specify data frame's area of interest.

Product Availability

Available with ArcGIS Desktop.

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

setGeometry

public void setGeometry(IGeometry geometry)
                 throws IOException,
                        AutomationException
Provides access to 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
Provides access to 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
Opens and shows 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.