public class DatasetBandImpl extends java.lang.Object implements DatasetBand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PERSISTENT_DESCRIPTION |
static java.lang.String |
PERSISTENT_NAME |
| Constructor and Description |
|---|
DatasetBandImpl()
Constructor
|
DatasetBandImpl(java.lang.String fileName,
int position,
int dataType,
int nBands)
Creates a new
DatasetBand |
DatasetBandImpl(java.net.URI uri,
int position,
int dataType,
int nBands)
Creates a new
DatasetBand |
| Modifier and Type | Method and Description |
|---|---|
void |
addPositionToDrawInBuffer(int rasterBufBandToDraw)
Adds a band of the output buffer where the input band is drawn.
|
void |
clearDrawableBands()
Resetea la asignación de dibujado de las bandas de la imagen
sobre el DataImage cuando se hace un update para esta banda.
|
java.lang.Object |
clone() |
java.lang.String[] |
getAdditionalName()
Obtiene la lista de nombres de fichero adicionales.
|
int[] |
getBufferBandListToDraw()
Obtiene las banda del RasterBuf sobre la que se pinta
este objeto banda
|
int |
getDataType()
Obtiene el tipo de dato de la banda
|
java.lang.String |
getFileName()
Obtiene el nombre del fichero al que pertenece la banda
|
int[] |
getLocalBufferBandListToDraw()
Obtiene las banda del RasterBuf sobre la que se pinta
este objeto banda
|
int |
getPosition()
Obtiene la posición de la banda en el fichero
|
boolean |
isDrawing()
Dice si la banda se está dibujando en el buffers de salida.
|
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistence()
Register persistence
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setAdditionalName(java.lang.String fileName)
Asigna un nombre de fichero adicional al principal.
|
void |
setDataType(int dataType)
Asigna el tipo de dato de la banda
|
void |
setFileName(java.lang.String fileName)
Asigna el nombre del fichero al que pertenece la banda
|
void |
setPosition(int position)
Asigna la posición de la banda en el fichero
|
public static final java.lang.String PERSISTENT_NAME
public static final java.lang.String PERSISTENT_DESCRIPTION
public DatasetBandImpl()
public DatasetBandImpl(java.lang.String fileName,
int position,
int dataType,
int nBands)
DatasetBandfileName - File nameposition - Position of this band inside the providerdataType - Data typenBands - Number of bands of the providerpublic DatasetBandImpl(java.net.URI uri,
int position,
int dataType,
int nBands)
DatasetBanduri - URIposition - Position of this band inside the providerdataType - Data typenBands - Number of bands of the providerpublic java.lang.Object clone()
clone in class java.lang.Objectpublic void clearDrawableBands()
clearDrawableBands in interface DatasetBandpublic int[] getBufferBandListToDraw()
getBufferBandListToDraw in interface DatasetBandpublic int[] getLocalBufferBandListToDraw()
getLocalBufferBandListToDraw in interface DatasetBandpublic boolean isDrawing()
isDrawing in interface DatasetBandpublic void addPositionToDrawInBuffer(int rasterBufBandToDraw)
rasterBufBandToDraw
is the number of band of the output buffer. This number is added to the list of numbers.addPositionToDrawInBuffer in interface DatasetBandrasterBufBandToDraw - number of band of the Bufferpublic java.lang.String getFileName()
getFileName in interface DatasetBandpublic void setFileName(java.lang.String fileName)
setFileName in interface DatasetBandfileName - String con el nombre del fichero al
que pertenece la bandapublic int getPosition()
getPosition in interface DatasetBandpublic void setPosition(int position)
setPosition in interface DatasetBandposition - Posición de la banda en el ficheropublic int getDataType()
getDataType in interface DatasetBandpublic void setDataType(int dataType)
setDataType in interface DatasetBanddatatype - entero con el tipo de dato de la bandapublic void setAdditionalName(java.lang.String fileName)
setAdditionalName in interface DatasetBandpublic java.lang.String[] getAdditionalName()
getAdditionalName in interface DatasetBandpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic static void registerPersistence()