|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.datasourcesraster.IRasterBandProxy
public class IRasterBandProxy
Provides access to members that control a raster band object.
IRasterBand interface provides access to statistics, histogram, raster attribute table, and colormap of the raster band.
The RasterDataset method returns a reference to the RasterDataset that contains this band.
The AttributeTable method returns a table if the raster band contains, or calculates a virtual table if the number of unique values of the raster band is less than 2048. The raster table can not be modified using ITable interface.
The ComputeStatsAndHist method calculates statistics and a histogram for the band.
The HasStatistics, HasHistogram, and HasColormap methods set the output parameter to True if the band contains a histogram, colormap, or statistics and False if the band does not.
IRasterPyramid3,
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 | |
|---|---|
|
IRasterBandProxy()
|
|
IRasterBandProxy(Object obj)
|
protected |
IRasterBandProxy(Object obj,
String iid)
|
| Method Summary | |
|---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
boolean |
canCopy()
Returns true if this dataset can be copied. |
void |
computeStatsAndHist()
Calculates statistics and histogram if not previously stored. |
IDataset |
copy(String copyName,
IWorkspace copyWorkspace)
Copies this raster band to a new dataset with the specified name. |
ITable |
getAttributeTable()
The attribute table of this raster band. |
String |
getBandname()
The name of this raster band. |
IRasterClassNames |
getClassNames()
The class names (titles). |
IRasterColormap |
getColormap()
The colormap of this raster band. |
IContrastTable |
getContrastTable()
The contrast look-up table of this band. |
IRasterHistogram |
getHistogram()
The histogram of this raster band. |
IRasterDataset |
getRasterDataset()
The RasterDataset associated with this raster band. |
int |
getRepresentationType()
The suggested representation type. |
IRasterStatistics |
getStatistics()
The statistics of this raster band. |
void |
hasColormap(boolean[] b)
Indicates if this band has a colormap. |
void |
hasStatistics(boolean[] b)
Indicates if this band has statistics. |
void |
hasTable(boolean[] b)
Indicates if this band has an attribute table. |
boolean |
isDirectlyOpened()
Indicates if the band was opened directly. |
void |
removeListener(String iidStr,
Object theListener)
|
void |
setContrastTable(IContrastTable cont)
The contrast look-up table of this band. |
void |
setRepresentationType(int pVal)
The suggested representation type. |
| 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 |
|---|
public boolean noncastable
| Constructor Detail |
|---|
public IRasterBandProxy()
public IRasterBandProxy(Object obj)
throws IOException
IOException
protected IRasterBandProxy(Object obj,
String iid)
throws IOException
IOException| Method Detail |
|---|
public void addListener(String iidStr,
Object theListener,
Object theSource)
throws IOException
addListener in class com.esri.arcgis.interop.DispatchIOException
public void removeListener(String iidStr,
Object theListener)
throws IOException
removeListener in class com.esri.arcgis.interop.DispatchIOException
public void hasTable(boolean[] b)
throws IOException,
AutomationException
hasTable in interface IRasterBandb - The b (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void hasStatistics(boolean[] b)
throws IOException,
AutomationException
hasStatistics in interface IRasterBandb - The b (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void hasColormap(boolean[] b)
throws IOException,
AutomationException
hasColormap in interface IRasterBandb - The b (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterStatistics getStatistics()
throws IOException,
AutomationException
getStatistics in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void computeStatsAndHist()
throws IOException,
AutomationException
computeStatsAndHist in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterHistogram getHistogram()
throws IOException,
AutomationException
getHistogram in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterColormap getColormap()
throws IOException,
AutomationException
getColormap in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ITable getAttributeTable()
throws IOException,
AutomationException
getAttributeTable in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterClassNames getClassNames()
throws IOException,
AutomationException
getClassNames in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IRasterDataset getRasterDataset()
throws IOException,
AutomationException
getRasterDataset in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getRepresentationType()
throws IOException,
AutomationException
getRepresentationType in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRepresentationType(int pVal)
throws IOException,
AutomationException
setRepresentationType in interface IRasterBandpVal - A com.esri.arcgis.datasourcesraster.rstRepresentationType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IContrastTable getContrastTable()
throws IOException,
AutomationException
This method should not be used by application developers.
getContrastTable in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setContrastTable(IContrastTable cont)
throws IOException,
AutomationException
setContrastTable in interface IRasterBandcont - A reference to a com.esri.arcgis.datasourcesraster.IContrastTable (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean canCopy()
throws IOException,
AutomationException
canCopy in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataset copy(String copyName,
IWorkspace copyWorkspace)
throws IOException,
AutomationException
copy in interface IRasterBandcopyName - The copyName (in)copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getBandname()
throws IOException,
AutomationException
getBandname in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isDirectlyOpened()
throws IOException,
AutomationException
This method should not be used by application developers.
isDirectlyOpened in interface IRasterBandIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||