com.esri.arcgis.cartoUI
Class LabelScaleRangeDialog

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

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

Esri Label Scale Range Dialog.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
LabelScaleRangeDialog()
          Constructs a LabelScaleRangeDialog using ArcGIS Engine.
LabelScaleRangeDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
LabelScaleRangeDialog theLabelScaleRangeDialog = (LabelScaleRangeDialog) 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

LabelScaleRangeDialog

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

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

LabelScaleRangeDialog

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

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

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.