com.esri.arcgis.cartoUI
Class DataFrameFixedExtentDialog

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

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

Data frame fixed bounds dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
DataFrameFixedExtentDialog()
          Constructs a DataFrameFixedExtentDialog using ArcGIS Engine.
DataFrameFixedExtentDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DataFrameFixedExtentDialog theDataFrameFixedExtentDialog = (DataFrameFixedExtentDialog) obj;
 
Method Summary
 boolean doModal(IMapFrame pMapFrame, int parentWindow)
          Specify data frame's fixed bounds.
 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

DataFrameFixedExtentDialog

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

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

DataFrameFixedExtentDialog

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

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

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 fixed bounds.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface IDataFrameFixedExtentDialog
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.