|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SeRasterConsumer
The interface for objects expressing interest in raster data through the SeRasterProducer interfaces. When a consumer is added to an raster producer class, the producer delivers all of the data about the raster using the method calls defined in this interface.
Example of objects that implements SeRasterConsumer:
SeRasterRenderedImage
class
for ScanLine mode loading.
SeRasterRenderedTile
class
for Import mode loading.
SeRasterProducer
,
SeRasterRenderedImage
,
SeRasterRenderedTile
Field Summary | |
---|---|
static int |
COMPLETESCANLINES
The pixels will be delivered in (multiples of) complete scanlines at a time. |
static int |
COMPLETETILES
The image will be delivered in (multiples of) complete SeRasterTile at a time. |
static int |
IMAGEABORTED
The image creation process was deliberately aborted. |
static int |
IMAGEERROR
An error was encountered while producing the image. |
static int |
SINGLEFRAMEDONE
One frame (SeRasterBand) of the image is complete but there are more frames to be delivered. |
static int |
STATICIMAGEDONE
The image is complete and there are no more ScanLines or SeRasterTiles to be delivered. |
static int |
TOPDOWNLEFTRIGHT
The pixels or tiles will be delivered in top-down, left-to-right order. |
Method Summary | |
---|---|
void |
rasterComplete(int status)
The rasterComplete method is called when the SeRasterProducer is finished delivering all of the data that the source image contains, or when a single band of a multi-band raster has been completed, or when an error in loading or producing the image has occurred. |
void |
setHints(int hintFlags)
The SeRasterProducer can deliver data in many different ways, so that may be the SeRasterConsumer can handle the data more efficiently or with higher quality if it knows some information about how the data will be delivered up front. |
void |
setProperties(java.util.Hashtable props)
Sets the extensible list of properties associated with this image. |
void |
setRasterTiles(SeRasterTile[] rasTiles)
Sets raster image in SeRasterTile form, for support of Import_Mode loading. |
void |
setScanLines(int numLines,
byte[] scanLines,
byte[] bitMask)
Sets raster image in scan lines form (optionally bit_mask) for support of ScanLine_Mode loading which is the default. |
Field Detail |
---|
static final int TOPDOWNLEFTRIGHT
setHints(int)
,
Constant Field Valuesstatic final int COMPLETESCANLINES
Optionally, can include bit_mask data which trigger but
SeRasterAttr.setMaskMode (true);
The data will be delivered (default)
setHints(int)
,
Constant Field Valuesstatic final int COMPLETETILES
The image will be delivered in ArcSDE native raster tile fromat and always in top-down, left-to-right order. This is activated by the SeRasterAttr.setImportMode (true) method.
setHints(int)
,
Constant Field Valuesstatic final int IMAGEERROR
rasterComplete(int)
,
Constant Field Valuesstatic final int SINGLEFRAMEDONE
rasterComplete(int)
,
Constant Field Valuesstatic final int STATICIMAGEDONE
rasterComplete(int)
,
Constant Field Valuesstatic final int IMAGEABORTED
rasterComplete(int)
,
Constant Field ValuesMethod Detail |
---|
void setProperties(java.util.Hashtable props)
void setHints(int hintFlags)
void setScanLines(int numLines, byte[] scanLines, byte[] bitMask)
numLines
- an int
value.scanLines
- a byte[]
value.bitMask
- a byte[]
value.SeRasterRenderedImage.setScanLines(int, byte[], byte[])
void setRasterTiles(SeRasterTile[] rasTiles)
SeRasterAttr.setImportMode (true);
on
SeInsert or SeUpdate operation.
rasTiles
- a SeRasterTile[]
value.SeRasterAttr.setImportMode(boolean)
,
SeRasterRenderedTile.setRasterTiles(com.esri.sde.sdk.client.SeRasterTile[])
void rasterComplete(int status)
SeRasterProducer.removeConsumer(com.esri.sde.sdk.client.SeRasterConsumer)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |