com.esri.arcgis.cartoUI
Class ClassificationDialog

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

public class ClassificationDialog
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IClassificationDialog

A dialog for working with properties of a classification.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
ClassificationDialog()
          Constructs a ClassificationDialog using ArcGIS Engine.
ClassificationDialog(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ClassificationDialog theClassificationDialog = (ClassificationDialog) obj;
 
Method Summary
 boolean doModal(int parentHWnd)
          Shows the dialog modally.
 boolean equals(Object o)
          Compare this object with another
 Object getClassBreaks()
          Array of class breaks (double).
 IUID getClassification()
          Classification object.
static String getClsid()
          getClsid.
 int getLowerThreshold()
          Lower bound of the first class.
 int getUpperThreshold()
          Upper bound of the last class (commonly set to the last ClassBreak).
 int hashCode()
          the hashcode for this object
 void setClassBreaks(Object doubleArrayBreaks)
          Array of class breaks (double).
 void setClassification(IUID clsid)
          Classification object.
 void setClassLimits(int minClasses, int maxClasses)
          Sets the minimum and maximum allowed number of classes.
 void setData(Object doubleArrayValues)
          Sets data to the dialog via an array of values.
 void setHistogramData(IHistogram histo)
          Sets data to the dialog via a histogram.
 void setLowerThreshold(int threshold)
          Lower bound of the first class.
 void setNumberFormat(INumberFormat rhs1)
          Number format options.
 void setUpperThreshold(int threshold)
          Upper bound of the last class (commonly set to the last ClassBreak).
 
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

ClassificationDialog

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

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

ClassificationDialog

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

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

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

setClassBreaks

public void setClassBreaks(Object doubleArrayBreaks)
                    throws IOException,
                           AutomationException
Array of class breaks (double). ClassBreaks(0) is the minimum value in the dataset, and subsequent breaks represent the upper limit of each class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setClassBreaks in interface IClassificationDialog
Parameters:
doubleArrayBreaks - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassBreaks

public Object getClassBreaks()
                      throws IOException,
                             AutomationException
Array of class breaks (double). ClassBreaks(0) is the minimum value in the dataset, and subsequent breaks represent the upper limit of each class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getClassBreaks in interface IClassificationDialog
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHistogramData

public void setHistogramData(IHistogram histo)
                      throws IOException,
                             AutomationException
Sets data to the dialog via a histogram.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setHistogramData in interface IClassificationDialog
Parameters:
histo - A reference to a com.esri.arcgis.cartoUI.IHistogram (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setData

public void setData(Object doubleArrayValues)
             throws IOException,
                    AutomationException
Sets data to the dialog via an array of values.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setData in interface IClassificationDialog
Parameters:
doubleArrayValues - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNumberFormat

public void setNumberFormat(INumberFormat rhs1)
                     throws IOException,
                            AutomationException
Number format options.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

setClassLimits

public void setClassLimits(int minClasses,
                           int maxClasses)
                    throws IOException,
                           AutomationException
Sets the minimum and maximum allowed number of classes.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setClassLimits in interface IClassificationDialog
Parameters:
minClasses - The minClasses (in)
maxClasses - The maxClasses (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUpperThreshold

public void setUpperThreshold(int threshold)
                       throws IOException,
                              AutomationException
Upper bound of the last class (commonly set to the last ClassBreak).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setUpperThreshold in interface IClassificationDialog
Parameters:
threshold - The threshold (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUpperThreshold

public int getUpperThreshold()
                      throws IOException,
                             AutomationException
Upper bound of the last class (commonly set to the last ClassBreak).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getUpperThreshold in interface IClassificationDialog
Returns:
The threshold
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLowerThreshold

public void setLowerThreshold(int threshold)
                       throws IOException,
                              AutomationException
Lower bound of the first class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setLowerThreshold in interface IClassificationDialog
Parameters:
threshold - The threshold (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLowerThreshold

public int getLowerThreshold()
                      throws IOException,
                             AutomationException
Lower bound of the first class.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getLowerThreshold in interface IClassificationDialog
Returns:
The threshold
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassification

public void setClassification(IUID clsid)
                       throws IOException,
                              AutomationException
Classification object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
setClassification in interface IClassificationDialog
Parameters:
clsid - A reference to a com.esri.arcgis.system.IUID (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassification

public IUID getClassification()
                       throws IOException,
                              AutomationException
Classification object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Specified by:
getClassification in interface IClassificationDialog
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(int parentHWnd)
                throws IOException,
                       AutomationException
Shows the dialog modally.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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