Revision 6303
org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.buffer/org.gvsig.raster.lib.buffer.api/src/main/java/org/gvsig/raster/lib/buffer/api/Band.java | ||
---|---|---|
137 | 137 |
public boolean isReadOnly(); |
138 | 138 |
|
139 | 139 |
/** |
140 |
* Gets information about this band. |
|
140 |
* Gets information about the specified band. If band does not have |
|
141 |
* information, it will return <code>null</code> |
|
141 | 142 |
* |
142 |
* @return A {@link BandInfo} with information about band. If there is not |
|
143 |
* Band information, this method will return <code>null</code> |
|
143 |
* @param band |
|
144 |
* The specified band |
|
145 |
* @return Returns information about specified band. |
|
144 | 146 |
*/ |
145 | 147 |
public BandInfo getBandInfo(); |
146 | 148 |
|
org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.buffer/org.gvsig.raster.lib.buffer.impl/src/main/java/org/gvsig/raster/lib/buffer/impl/AbstractPaginatedBand.java | ||
---|---|---|
4 | 4 |
import java.nio.Buffer; |
5 | 5 |
|
6 | 6 |
import org.gvsig.raster.lib.buffer.api.Band; |
7 |
import org.gvsig.raster.lib.buffer.api.BandInfo; |
|
7 | 8 |
import org.gvsig.raster.lib.buffer.api.BandNotification; |
8 | 9 |
import org.gvsig.raster.lib.buffer.api.BandPageManager; |
9 | 10 |
import org.gvsig.raster.lib.buffer.api.BufferLocator; |
... | ... | |
138 | 139 |
public boolean isPaginated() { |
139 | 140 |
return true; |
140 | 141 |
} |
142 |
|
|
143 |
@Override |
|
144 |
public BandInfo getBandInfo() { |
|
145 |
return this.pageManager == null ? null : this.pageManager.getBandInfo(); |
|
146 |
} |
|
141 | 147 |
|
142 | 148 |
} |
org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.raster.lib/org.gvsig.raster.lib.buffer/org.gvsig.raster.lib.buffer.impl/src/main/java/org/gvsig/raster/lib/buffer/impl/AbstractBand.java | ||
---|---|---|
17 | 17 |
int rows; |
18 | 18 |
int columns; |
19 | 19 |
NoData noData; |
20 |
BandInfo bandInfo; |
|
21 | 20 |
|
22 | 21 |
@Override |
23 | 22 |
public int getColumns() { |
... | ... | |
34 | 33 |
return this.noData; |
35 | 34 |
} |
36 | 35 |
|
37 |
@Override |
|
38 |
public BandInfo getBandInfo(){ |
|
39 |
return this.bandInfo; |
|
40 |
} |
|
41 |
|
|
42 | 36 |
public Object clone() throws CloneNotSupportedException { |
43 | 37 |
AbstractBand cloned = (AbstractBand) super.clone(); |
44 | 38 |
cloned.rows = this.rows; |
Also available in: Unified diff