/[classpath]/classpath/java/awt/image/SampleModel.java
ViewVC logotype

Diff of /classpath/java/awt/image/SampleModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by iproetel, Wed Apr 7 14:38:12 2004 UTC revision 1.3.2.1 by gnu_andrew, Sun Jan 16 02:14:47 2005 UTC
# Line 456  public abstract class SampleModel Line 456  public abstract class SampleModel
456    
457      public abstract SampleModel createCompatibleSampleModel(int w, int h);      public abstract SampleModel createCompatibleSampleModel(int w, int h);
458    
459        /**
460         * Return a SampleModel with a subset of the bands in this model.
461         *
462         * Selects bands.length bands from this sample model.  The bands chosen
463         * are specified in the indices of bands[].  This also permits permuting
464         * the bands as well as taking a subset.  Thus, giving an array with
465         * 1, 2, 3, ..., numbands, will give an identical sample model.
466         *
467         * @param bands Array with band indices to include.
468         * @return A new sample model
469         */
470      public abstract SampleModel createSubsetSampleModel(int[] bands);      public abstract SampleModel createSubsetSampleModel(int[] bands);
471    
472      public abstract DataBuffer createDataBuffer();      public abstract DataBuffer createDataBuffer();

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26