|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.cartoUI.TableHistogram
public class TableHistogram
A histogram data structure that is created from table data. Use this to pass data to a classification object.
| Constructor Summary | |
|---|---|
TableHistogram()
Constructs a TableHistogram using ArcGIS Engine. |
|
TableHistogram(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TableHistogram theTableHistogram = (TableHistogram) 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. |
IDataExclusion |
getExclusion()
Data exclusion options. |
String |
getField()
Value field. |
boolean |
getHistogram(Object[] doubleArrayValues,
Object[] longArrayFrequencies)
Histogram as an array of values (doubles) and a paired array of frequencies (longs). |
double |
getMaximum()
The maximum value. |
double |
getMean()
The arithmetic mean. |
double |
getMinimum()
The minimum value. |
String |
getNormalizationField()
Normalization field. |
String |
getNormalizationFieldAlias()
Normalization field alias. |
double |
getNormalizationTotal()
Total of all values (used when normalizing by percent of total). |
int |
getNormalizationType()
Normalization type. |
String |
getNormField()
Normalization field. |
IDataSampling |
getSampling()
Data sampling options. |
double |
getStandardDeviation()
The standard deviation, based on sample flag. |
double |
getSum()
The sum of the values. |
ITable |
getTable()
The associated table. |
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 |
invalidate()
Causes to recreate the Histogram from the Table for the next GetHistogram call. |
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 |
setExclusionByRef(IDataExclusion dataExclusion)
Data exclusion options. |
void |
setField(String name)
Value field. |
void |
setNormalizationField(String fieldName)
Normalization field. |
void |
setNormalizationFieldAlias(String name)
Normalization field alias. |
void |
setNormalizationTotal(double value)
Total of all values (used when normalizing by percent of total). |
void |
setNormalizationType(int type)
Normalization type. |
void |
setNormField(String name)
Normalization field. |
void |
setSamplingByRef(IDataSampling dataSampling)
Data sampling options. |
void |
setTableByRef(ITable table)
The associated table. |
| 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 TableHistogram()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public TableHistogram(Object obj)
throws IOException
TableHistogram theTableHistogram = (TableHistogram) obj;
obj to TableHistogram.
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 boolean getHistogram(Object[] doubleArrayValues,
Object[] longArrayFrequencies)
throws IOException,
AutomationException
getHistogram in interface IBasicHistogramdoubleArrayValues - 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 IBasicHistogramsetCustomMin 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 IBasicHistogramsetCustomMax 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 IBasicHistogramresetCustomMinMax in interface IHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void invalidate()
throws IOException,
AutomationException
invalidate in interface IBasicHistograminvalidate in interface IHistogram2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
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 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 setTableByRef(ITable table)
throws IOException,
AutomationException
setTableByRef in interface ITableHistogramtable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getTable()
throws IOException,
AutomationException
getTable in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setExclusionByRef(IDataExclusion dataExclusion)
throws IOException,
AutomationException
setExclusionByRef in interface ITableHistogramdataExclusion - A reference to a com.esri.arcgis.carto.IDataExclusion (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataExclusion getExclusion()
throws IOException,
AutomationException
getExclusion in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSamplingByRef(IDataSampling dataSampling)
throws IOException,
AutomationException
setSamplingByRef in interface ITableHistogramdataSampling - A reference to a com.esri.arcgis.carto.IDataSampling (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataSampling getSampling()
throws IOException,
AutomationException
In implementations of ITableHistogram, the sampling property is null by default. Specify the sample method desired when utilizing the histogram if sampling is desired.
getSampling in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setField(String name)
throws IOException,
AutomationException
setField in interface ITableHistogramname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getField()
throws IOException,
AutomationException
getField in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormField(String name)
throws IOException,
AutomationException
setNormField in interface ITableHistogramname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNormField()
throws IOException,
AutomationException
getNormField in interface ITableHistogramIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNormalizationField()
throws IOException,
AutomationException
getNormalizationField in interface IDataNormalizationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizationField(String fieldName)
throws IOException,
AutomationException
setNormalizationField in interface IDataNormalizationfieldName - The fieldName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getNormalizationFieldAlias()
throws IOException,
AutomationException
NormalizationField alias is not implemented by many of the classes implementing IDataNormalization and will return E_NOTIMPL in those cases.
getNormalizationFieldAlias in interface IDataNormalizationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizationFieldAlias(String name)
throws IOException,
AutomationException
setNormalizationFieldAlias in interface IDataNormalizationname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getNormalizationType()
throws IOException,
AutomationException
esriNormalizeByField requires that the NormalizationField be set.
esriNormalizeByLog takes a base 10 logarithm of the data values.
esriNormalizeByPercentageOfTotal requires the NormalizationTotal field to be set to the total data value. This is used to calculate percentages. Each value is divided by the NormalizationTotal and then multiplied by 100. You can use IDataStatistics to generate NormalizationTotal .
esriNormalizeByArea is not implemented.
esriNormalizeByNothing disables normalization.
getNormalizationType in interface IDataNormalizationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizationType(int type)
throws IOException,
AutomationException
setNormalizationType in interface IDataNormalizationtype - A com.esri.arcgis.carto.esriDataNormalization constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getNormalizationTotal()
throws IOException,
AutomationException
Not implemented by ProportionalSymbolRenderer .
getNormalizationTotal in interface IDataNormalizationIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setNormalizationTotal(double value)
throws IOException,
AutomationException
Not implemented by ProportionalSymbolRenderer.
setNormalizationTotal in interface IDataNormalizationvalue - The value (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 | ||||||||