com.esri.arcgis.cartoUI
Class DataHistogram

java.lang.Object
  extended by com.esri.arcgis.cartoUI.DataHistogram
All Implemented Interfaces:
IDataHistogram, IHistogram, com.esri.arcgis.interop.RemoteObjRef, IStatisticsResults, java.io.Serializable

public class DataHistogram
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IHistogram, IDataHistogram, IStatisticsResults

COM Class 'DataHistogram'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriCartoUI.olb'

Description 'A histogram data structure that is created from data values. Use this to pass data to a classification object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.cartoUI.IHistogram
IID, IID962bd9ab_1ec8_11d3_9f4d_00c04f6bc709, xxDummy
 
Fields inherited from interface com.esri.arcgis.cartoUI.IDataHistogram
IID, IIDfd21f231_67a6_11d3_9f66_00c04f6bc709, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IStatisticsResults
IID, IIDb9c4358a_78b8_11d2_ae60_080009ec732a, xxDummy
 
Constructor Summary
DataHistogram()
          Constructs a DataHistogram using ArcGIS Engine.
DataHistogram(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DataHistogram theDataHistogram = (DataHistogram) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 void exclusionDoModal(int parentHWnd, boolean[] ok)
          Shows the exclusion dialog for the histogram.
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The count of the values.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 double getMaximum()
          The maximum value.
 double getMean()
          The arithmetic mean.
 double getMinimum()
          The minimum value.
 double getStandardDeviation()
          The standard deviation, based on sample flag.
 double getSum()
          The sum of the values.
 void hasExclusion(boolean[] flag)
          Indicates if the histogram uses exclusion.
 int hashCode()
          the hashcode for this object
 void hasSampling(boolean[] flag)
          Indicates if the histogram uses data sampling.
 void IHistogram_getHistogram(java.lang.Object[] doubleArrayValues, java.lang.Object[] longArrayFrequencies)
          Histogram as an array of values (doubles) and a paired array of frequencies (longs).
 void release()
          Release a DataHistogram.
 void resetCustomMinMax()
          Resets custom minimum and maximum.
 void samplingDoModal(int parentHWnd, boolean[] ok)
          Shows the sampling dialog for the histogram.
 void setCustomMax(double rhs1)
          Custom maximum.
 void setCustomMin(double rhs1)
          Custom minimum.
 void setData(java.lang.Object doubleArrayValues)
          Sets data from a array of values (doubles).
 void setHistogramData(java.lang.Object doubleArrayValues, java.lang.Object longArrayFrequencies)
          Sets data from a histogram; an array of values (doubles) and a paired array of frequencies (longs).
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataHistogram

public DataHistogram()
              throws java.io.IOException,
                     java.net.UnknownHostException
Constructs a DataHistogram using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

DataHistogram

public DataHistogram(java.lang.Object obj)
              throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
DataHistogram theDataHistogram = (DataHistogram) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a DataHistogram.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

IHistogram_getHistogram

public void IHistogram_getHistogram(java.lang.Object[] doubleArrayValues,
                                    java.lang.Object[] longArrayFrequencies)
                             throws java.io.IOException,
                                    AutomationException
Histogram as an array of values (doubles) and a paired array of frequencies (longs).

Specified by:
IHistogram_getHistogram in interface IHistogram
Parameters:
doubleArrayValues - A Variant (out: use single element array)
longArrayFrequencies - A Variant (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomMin

public void setCustomMin(double rhs1)
                  throws java.io.IOException,
                         AutomationException
Custom minimum.

Specified by:
setCustomMin in interface IHistogram
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomMax

public void setCustomMax(double rhs1)
                  throws java.io.IOException,
                         AutomationException
Custom maximum.

Specified by:
setCustomMax in interface IHistogram
Parameters:
rhs1 - The rhs1 (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resetCustomMinMax

public void resetCustomMinMax()
                       throws java.io.IOException,
                              AutomationException
Resets custom minimum and maximum.

Specified by:
resetCustomMinMax in interface IHistogram
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exclusionDoModal

public void exclusionDoModal(int parentHWnd,
                             boolean[] ok)
                      throws java.io.IOException,
                             AutomationException
Shows the exclusion dialog for the histogram.

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

hasExclusion

public void hasExclusion(boolean[] flag)
                  throws java.io.IOException,
                         AutomationException
Indicates if the histogram uses exclusion.

Specified by:
hasExclusion in interface IHistogram
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

samplingDoModal

public void samplingDoModal(int parentHWnd,
                            boolean[] ok)
                     throws java.io.IOException,
                            AutomationException
Shows the sampling dialog for the histogram.

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

hasSampling

public void hasSampling(boolean[] flag)
                 throws java.io.IOException,
                        AutomationException
Indicates if the histogram uses data sampling.

Specified by:
hasSampling in interface IHistogram
Parameters:
flag - The flag (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setData

public void setData(java.lang.Object doubleArrayValues)
             throws java.io.IOException,
                    AutomationException
Sets data from a array of values (doubles).

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

setHistogramData

public void setHistogramData(java.lang.Object doubleArrayValues,
                             java.lang.Object longArrayFrequencies)
                      throws java.io.IOException,
                             AutomationException
Sets data from a histogram; an array of values (doubles) and a paired array of frequencies (longs).

Specified by:
setHistogramData in interface IDataHistogram
Parameters:
doubleArrayValues - A Variant (in)
longArrayFrequencies - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The count of the values.

Specified by:
getCount in interface IStatisticsResults
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimum

public double getMinimum()
                  throws java.io.IOException,
                         AutomationException
The minimum value.

Specified by:
getMinimum in interface IStatisticsResults
Returns:
The min
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaximum

public double getMaximum()
                  throws java.io.IOException,
                         AutomationException
The maximum value.

Specified by:
getMaximum in interface IStatisticsResults
Returns:
The max
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSum

public double getSum()
              throws java.io.IOException,
                     AutomationException
The sum of the values.

Specified by:
getSum in interface IStatisticsResults
Returns:
The sum
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMean

public double getMean()
               throws java.io.IOException,
                      AutomationException
The arithmetic mean.

Specified by:
getMean in interface IStatisticsResults
Returns:
The mean
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStandardDeviation

public double getStandardDeviation()
                            throws java.io.IOException,
                                   AutomationException
The standard deviation, based on sample flag.

Specified by:
getStandardDeviation in interface IStatisticsResults
Returns:
The stdDev
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.