com.esri.arcgis.carto
Class CalcRendererValues

java.lang.Object
  extended by com.esri.arcgis.carto.CalcRendererValues
All Implemented Interfaces:
ICalcRendererValues, ICalcRendererValues2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class CalcRendererValues
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ICalcRendererValues, ICalcRendererValues2

COM Class 'CalcRendererValues'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'An object that calculates renderer statistics which are required for some uses of the ChartRenderer 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.carto.ICalcRendererValues2
IID, IIDb5e535a7_a9ce_4678_b554_e2e96b634b53, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.ICalcRendererValues
IID4b62f73e_0502_11d4_9f7c_00c04f6bc709
 
Constructor Summary
CalcRendererValues()
          Constructs a CalcRendererValues using ArcGIS Engine.
CalcRendererValues(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
CalcRendererValues theCalcRendererValues = (CalcRendererValues) obj;
 
Method Summary
 void calcMinMax(double[] minValue, double[] maxValue)
          Calculates minimum and maximum values.
 void calcMinMaxExt(boolean positiveValuesOnly, double[] minValue, double[] maxValue)
          Calculates minimum and maximum values.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 java.lang.Object getFieldTotals()
          Gets totals for all fields.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void release()
          Release a CalcRendererValues.
 void setData(IFeatureLayer layer, IFeatureRenderer renderer)
          Sets data for calculation.
 void setDirty()
          Sets object to state where values will be recalculated.
 void setMinMax(double minValue, double maxValue)
          Manually sets minimum and maximum values.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalcRendererValues

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

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

CalcRendererValues

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

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

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 CalcRendererValues.

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

setData

public void setData(IFeatureLayer layer,
                    IFeatureRenderer renderer)
             throws java.io.IOException,
                    AutomationException
Sets data for calculation.

Specified by:
setData in interface ICalcRendererValues
Parameters:
layer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
renderer - A reference to a com.esri.arcgis.carto.IFeatureRenderer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

calcMinMax

public void calcMinMax(double[] minValue,
                       double[] maxValue)
                throws java.io.IOException,
                       AutomationException
Calculates minimum and maximum values.

Specified by:
calcMinMax in interface ICalcRendererValues
Parameters:
minValue - The minValue (out: use single element array)
maxValue - The maxValue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDirty

public void setDirty()
              throws java.io.IOException,
                     AutomationException
Sets object to state where values will be recalculated.

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

setMinMax

public void setMinMax(double minValue,
                      double maxValue)
               throws java.io.IOException,
                      AutomationException
Manually sets minimum and maximum values.

Specified by:
setMinMax in interface ICalcRendererValues
Parameters:
minValue - The minValue (in)
maxValue - The maxValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldTotals

public java.lang.Object getFieldTotals()
                                throws java.io.IOException,
                                       AutomationException
Gets totals for all fields.

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

calcMinMaxExt

public void calcMinMaxExt(boolean positiveValuesOnly,
                          double[] minValue,
                          double[] maxValue)
                   throws java.io.IOException,
                          AutomationException
Calculates minimum and maximum values.

Specified by:
calcMinMaxExt in interface ICalcRendererValues2
Parameters:
positiveValuesOnly - The positiveValuesOnly (in)
minValue - The minValue (out: use single element array)
maxValue - The maxValue (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.