com.esri.arcgis.cartoUI
Class AnnoClassScaleRangeDialog

java.lang.Object
  extended by com.esri.arcgis.cartoUI.AnnoClassScaleRangeDialog
All Implemented Interfaces:
ILabelScaleRangeDialog, ILabelScaleRangeDialog2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class AnnoClassScaleRangeDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ILabelScaleRangeDialog, ILabelScaleRangeDialog2

ESRI Annotation Feature Class Scale Range Dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
AnnoClassScaleRangeDialog()
          Constructs a AnnoClassScaleRangeDialog using ArcGIS Engine.
AnnoClassScaleRangeDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AnnoClassScaleRangeDialog theAnnoClassScaleRangeDialog = (AnnoClassScaleRangeDialog) obj;
 
Method Summary
 boolean doModal(double initialMinimumScale, double initialMaximumScale, int hwnd)
          Shows the SQL query dialog.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 double getMaximumScale()
          The maximum scale entered in the dialog.
 double getMinimumScale()
          The minimum scale entered in the dialog.
 int hashCode()
          the hashcode for this object
 void setMapByRef(IMap rhs1)
          Optional map.
 
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

AnnoClassScaleRangeDialog

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

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

AnnoClassScaleRangeDialog

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

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

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

getMinimumScale

public double getMinimumScale()
                       throws IOException,
                              AutomationException
The minimum scale entered in the dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getMinimumScale in interface ILabelScaleRangeDialog
Specified by:
getMinimumScale in interface ILabelScaleRangeDialog2
Returns:
The val
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximumScale

public double getMaximumScale()
                       throws IOException,
                              AutomationException
The maximum scale entered in the dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getMaximumScale in interface ILabelScaleRangeDialog
Specified by:
getMaximumScale in interface ILabelScaleRangeDialog2
Returns:
The val
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(double initialMinimumScale,
                       double initialMaximumScale,
                       int hwnd)
                throws IOException,
                       AutomationException
Shows the SQL query dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
doModal in interface ILabelScaleRangeDialog
Specified by:
doModal in interface ILabelScaleRangeDialog2
Parameters:
initialMinimumScale - The initialMinimumScale (in)
initialMaximumScale - The initialMaximumScale (in)
hwnd - The hwnd (A COM typedef) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMapByRef

public void setMapByRef(IMap rhs1)
                 throws IOException,
                        AutomationException
Optional map. Set this before calling DoModal.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setMapByRef in interface ILabelScaleRangeDialog2
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.