com.esri.arcgis.datasourcesraster
Class RasterHistograms

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterHistograms
All Implemented Interfaces:
IRasterHistograms, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RasterHistograms
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterHistograms

COM Class 'RasterHistograms'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'An array of raster histograms.' 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.datasourcesraster.IRasterHistograms
IID, IID5bc31bb5_f7c3_4cad_9b8e_176cd7399d22, xxDummy
 
Constructor Summary
RasterHistograms()
          Constructs a RasterHistograms using ArcGIS Engine.
RasterHistograms(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterHistograms theRasterHistograms = (RasterHistograms) obj;
 
Method Summary
 void add(IRasterHistogram pHistogram)
          Adds a raster histogram.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The raster histogram count.
 IRasterHistogram getElement(int index)
          The raster histogram at the specified position.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void insert(int index, IRasterHistogram pHistogram)
          Adds a raster histogram at the specified position.
 void release()
          Release a RasterHistograms.
 void remove(int index)
          Removes the raster histogram at the specified position.
 void removeAll()
          Removes all raster histograms.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterHistograms

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

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

RasterHistograms

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

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

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

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

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The raster histogram count.

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

getElement

public IRasterHistogram getElement(int index)
                            throws java.io.IOException,
                                   AutomationException
The raster histogram at the specified position.

Specified by:
getElement in interface IRasterHistograms
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes the raster histogram at the specified position.

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

removeAll

public void removeAll()
               throws java.io.IOException,
                      AutomationException
Removes all raster histograms.

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

add

public void add(IRasterHistogram pHistogram)
         throws java.io.IOException,
                AutomationException
Adds a raster histogram.

Specified by:
add in interface IRasterHistograms
Parameters:
pHistogram - A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int index,
                   IRasterHistogram pHistogram)
            throws java.io.IOException,
                   AutomationException
Adds a raster histogram at the specified position.

Specified by:
insert in interface IRasterHistograms
Parameters:
index - The index (in)
pHistogram - A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.