This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gui] Implement Raster.numBands


2004-09-16  Jerry Quinn  <jlquinn@optonline.net>

	* java/awt/image/Raster.java (getNumBands): Implement.

Index: Raster.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/image/Raster.java,v
retrieving revision 1.6.14.2
retrieving revision 1.6.14.3
diff -u -r1.6.14.2 -r1.6.14.3
--- Raster.java	17 Sep 2004 02:27:24 -0000	1.6.14.2
+++ Raster.java	17 Sep 2004 02:40:07 -0000	1.6.14.3
@@ -361,6 +361,11 @@
     return height;
   }
 
+  public final int getNumBands()
+  {
+    return numBands;
+  }
+    
   public final int getNumDataElements()
   {
     return numDataElements;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]