com.esri.arcgis.datasourcesraster
Class RasterClassNames

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

public class RasterClassNames
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterClassNames

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

Description 'A list of class (category) names.' 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.IRasterClassNames
IID, IIDa1f03e11_e88a_11d2_8ef1_00609770ad52, xxDummy
 
Constructor Summary
RasterClassNames()
          Constructs a RasterClassNames using ArcGIS Engine.
RasterClassNames(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterClassNames theRasterClassNames = (RasterClassNames) obj;
 
Method Summary
 int bin(double pixval)
          Converts pixels to indices.
 void create(int numNames)
          Create Class Names safe array.
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getClassName(int nEntry)
          The class name at the current entry.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.Object getNames()
          String array of class (category) names.
 int getSize()
          The number of Class Names for the band.
 int hashCode()
          the hashcode for this object
 void release()
          Release a RasterClassNames.
 void setClassName(int nEntry, java.lang.String pClassName)
          The class name at the current entry.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterClassNames

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

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

RasterClassNames

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

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

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

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

create

public void create(int numNames)
            throws java.io.IOException,
                   AutomationException
Create Class Names safe array.

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

getSize

public int getSize()
            throws java.io.IOException,
                   AutomationException
The number of Class Names for the band.

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

setClassName

public void setClassName(int nEntry,
                         java.lang.String pClassName)
                  throws java.io.IOException,
                         AutomationException
The class name at the current entry.

Specified by:
setClassName in interface IRasterClassNames
Parameters:
nEntry - The nEntry (in)
pClassName - The pClassName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassName

public java.lang.String getClassName(int nEntry)
                              throws java.io.IOException,
                                     AutomationException
The class name at the current entry.

Specified by:
getClassName in interface IRasterClassNames
Parameters:
nEntry - The nEntry (in)
Returns:
The pClassName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

bin

public int bin(double pixval)
        throws java.io.IOException,
               AutomationException
Converts pixels to indices.

Specified by:
bin in interface IRasterClassNames
Parameters:
pixval - The pixval (in)
Returns:
The pIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNames

public java.lang.Object getNames()
                          throws java.io.IOException,
                                 AutomationException
String array of class (category) names.

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