|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.cartoUI.DataHistogram
public class DataHistogram
A histogram data structure that is created from data values. Use this to pass data to a classification object.
| Constructor Summary | |
|---|---|
DataHistogram()
Constructs a DataHistogram using ArcGIS Engine. |
|
DataHistogram(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. DataHistogram theDataHistogram = (DataHistogram) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
void |
exclusionDoModal(int parentHWnd,
boolean[] ok)
Shows the exclusion dialog for the histogram. |
static String |
getClsid()
getClsid. |
int |
getCount()
The count of the values. |
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(Object[] doubleArrayValues,
Object[] longArrayFrequencies)
Histogram as an array of values (doubles) and a paired array of frequencies (longs). |
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(Object doubleArrayValues)
Sets data from a array of values (doubles). |
void |
setHistogramData(Object doubleArrayValues,
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 |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public DataHistogram()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public DataHistogram(Object obj)
throws IOException
DataHistogram theDataHistogram = (DataHistogram) obj;
obj to DataHistogram.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void IHistogram_getHistogram(Object[] doubleArrayValues,
Object[] longArrayFrequencies)
throws IOException,
AutomationException
IHistogram_getHistogram in interface IHistogramdoubleArrayValues - A Variant (out: use single element array)longArrayFrequencies - A Variant (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomMin(double rhs1)
throws IOException,
AutomationException
setCustomMin in interface IHistogramrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCustomMax(double rhs1)
throws IOException,
AutomationException
setCustomMax in interface IHistogramrhs1 - The rhs1 (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void resetCustomMinMax()
throws IOException,
AutomationException
resetCustomMinMax in interface IHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void exclusionDoModal(int parentHWnd,
boolean[] ok)
throws IOException,
AutomationException
exclusionDoModal in interface IHistogramparentHWnd - The parentHWnd (A COM typedef) (in)ok - The ok (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void hasExclusion(boolean[] flag)
throws IOException,
AutomationException
hasExclusion in interface IHistogramflag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void samplingDoModal(int parentHWnd,
boolean[] ok)
throws IOException,
AutomationException
samplingDoModal in interface IHistogramparentHWnd - The parentHWnd (A COM typedef) (in)ok - The ok (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void hasSampling(boolean[] flag)
throws IOException,
AutomationException
hasSampling in interface IHistogramflag - The flag (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setData(Object doubleArrayValues)
throws IOException,
AutomationException
setData in interface IDataHistogramdoubleArrayValues - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHistogramData(Object doubleArrayValues,
Object longArrayFrequencies)
throws IOException,
AutomationException
setHistogramData in interface IDataHistogramdoubleArrayValues - A Variant (in)longArrayFrequencies - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getCount()
throws IOException,
AutomationException
Returns the Count of data values in the BaseStatistics used to derive the statistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getCount in interface IStatisticsResultsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMinimum()
throws IOException,
AutomationException
Returns the Minimum data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getMinimum in interface IStatisticsResultsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaximum()
throws IOException,
AutomationException
Returns the Maximum data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getMaximum in interface IStatisticsResultsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getSum()
throws IOException,
AutomationException
Returns the Sum of all the data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getSum in interface IStatisticsResultsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMean()
throws IOException,
AutomationException
Returns the arithmetic Mean of all the data values in the BaseStatistics. Use this property when IGenerateStatistics.SimpleStats is set to true.
getMean in interface IStatisticsResultsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getStandardDeviation()
throws IOException,
AutomationException
Returns the StandardDeviation of all the data values in the BaseStatistics.
If your data is a sample of the real data, you should indicate so with IGenerateStatistics::Sample before calling StandardDeviation.
By default it returns the Sample Standard Deviation.
getStandardDeviation in interface IStatisticsResultsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IGenerateStatistics.setSample(boolean)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||