com.esri.arcgis.datasourcesraster
Class IDescTableProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesraster.IDescTableProxy
All Implemented Interfaces:
IDescTable, Externalizable, Serializable

public class IDescTableProxy
extends com.esri.arcgis.interop.Dispatch
implements IDescTable, Serializable

Provides access to members that control a descriptor table.

Remarks

This interface is not intended to be used by outside developers.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IDescTableProxy()
           
  IDescTableProxy(Object obj)
           
protected IDescTableProxy(Object obj, String iid)
           
 
Method Summary
 void addColumn(int col_index, IDescColumn col)
          Adds a column to the descriptor table.
 void addListener(String iidStr, Object theListener, Object theSource)
           
 void deleteColumn(int col_index)
          Deletes a column from the descriptor table.
 void fieldDesc(int index, String[] name, short[] type, int[] width)
          Provides a description of the field.
 int findField(String strtofind)
          Finds a field in the descriptor table.
 IBinFunction getBinFunction()
          Pixel to Row tranlator.
 int getNumFields()
          Number of fields in the descriptor table.
 IDescColumn readColumn(int col_index)
          Reads a column from the descriptor table.
 IDescRow readRow(int row_index)
          Returns a row from the the descriptor table.
 void removeListener(String iidStr, Object theListener)
           
 int valueToIndex(double pixval)
          Converts pixel values to rows in the descriptor table.
 IDescColumn writeColumn(int col_index)
          Writes column to the descriptor table.
 void writeRow(int row_index, IDescRow row)
          Writes row of data to the descriptor table.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IDescTableProxy

public IDescTableProxy()

IDescTableProxy

public IDescTableProxy(Object obj)
                throws IOException
Throws:
IOException

IDescTableProxy

protected IDescTableProxy(Object obj,
                          String iid)
                   throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getNumFields

public int getNumFields()
                 throws IOException,
                        AutomationException
Number of fields in the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getNumFields in interface IDescTable
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fieldDesc

public void fieldDesc(int index,
                      String[] name,
                      short[] type,
                      int[] width)
               throws IOException,
                      AutomationException
Provides a description of the field.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
fieldDesc in interface IDescTable
Parameters:
index - The index (in)
name - The name (out: use single element array)
type - The type (out: use single element array)
width - The width (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBinFunction

public IBinFunction getBinFunction()
                            throws IOException,
                                   AutomationException
Pixel to Row tranlator.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
getBinFunction in interface IDescTable
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IBinFunction
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

valueToIndex

public int valueToIndex(double pixval)
                 throws IOException,
                        AutomationException
Converts pixel values to rows in the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
valueToIndex in interface IDescTable
Parameters:
pixval - The pixval (in)
Returns:
The row_index
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readRow

public IDescRow readRow(int row_index)
                 throws IOException,
                        AutomationException
Returns a row from the the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
readRow in interface IDescTable
Parameters:
row_index - The row_index (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IDescRow
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeRow

public void writeRow(int row_index,
                     IDescRow row)
              throws IOException,
                     AutomationException
Writes row of data to the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
writeRow in interface IDescTable
Parameters:
row_index - The row_index (in)
row - A reference to a com.esri.arcgis.datasourcesraster.IDescRow (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

readColumn

public IDescColumn readColumn(int col_index)
                       throws IOException,
                              AutomationException
Reads a column from the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
readColumn in interface IDescTable
Parameters:
col_index - The col_index (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IDescColumn
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeColumn

public IDescColumn writeColumn(int col_index)
                        throws IOException,
                               AutomationException
Writes column to the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
writeColumn in interface IDescTable
Parameters:
col_index - The col_index (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IDescColumn
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findField

public int findField(String strtofind)
              throws IOException,
                     AutomationException
Finds a field in the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
findField in interface IDescTable
Parameters:
strtofind - The strtofind (in)
Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addColumn

public void addColumn(int col_index,
                      IDescColumn col)
               throws IOException,
                      AutomationException
Adds a column to the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
addColumn in interface IDescTable
Parameters:
col_index - The col_index (in)
col - A reference to a com.esri.arcgis.datasourcesraster.IDescColumn (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteColumn

public void deleteColumn(int col_index)
                  throws IOException,
                         AutomationException
Deletes a column from the descriptor table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deleteColumn in interface IDescTable
Parameters:
col_index - The col_index (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.