Window.java, [...]: New versions from classpath.
2003-06-27 Michael Koch <konqueror@gmx.de> * java/awt/Window.java, java/awt/font/GraphicAttribute.java, java/awt/font/ImageGraphicAttribute.java, java/awt/image/DataBufferByte.java, java/awt/image/DataBufferInt.java, java/awt/image/DataBufferUShort.java, java/awt/image/DirectColorModel.java, java/awt/image/PixelGrabber.java: New versions from classpath. From-SVN: r68605
This commit is contained in:
committed by
Michael Koch
parent
fa9ea25574
commit
2f161fa8c1
@@ -49,7 +49,7 @@ package java.awt.image;
|
||||
/**
|
||||
* @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
|
||||
*/
|
||||
public class DataBufferByte extends DataBuffer
|
||||
public final class DataBufferByte extends DataBuffer
|
||||
{
|
||||
private byte[] data;
|
||||
private byte[][] bankData;
|
||||
|
||||
@@ -49,7 +49,7 @@ package java.awt.image;
|
||||
/**
|
||||
* @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
|
||||
*/
|
||||
public class DataBufferInt extends DataBuffer
|
||||
public final class DataBufferInt extends DataBuffer
|
||||
{
|
||||
private int[] data;
|
||||
private int[][] bankData;
|
||||
|
||||
@@ -49,7 +49,7 @@ package java.awt.image;
|
||||
/**
|
||||
* @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
|
||||
*/
|
||||
public class DataBufferUShort extends DataBuffer
|
||||
public final class DataBufferUShort extends DataBuffer
|
||||
{
|
||||
private short[] data;
|
||||
private short[][] bankData;
|
||||
|
||||
@@ -376,8 +376,8 @@ public class DirectColorModel extends PackedColorModel
|
||||
return Buffers.getData(buffer);
|
||||
}
|
||||
|
||||
public ColorModel coerceData(WritableRaster raster,
|
||||
boolean isAlphaPremultiplied)
|
||||
public final ColorModel coerceData (WritableRaster raster,
|
||||
boolean isAlphaPremultiplied)
|
||||
{
|
||||
if (this.isAlphaPremultiplied == isAlphaPremultiplied)
|
||||
return this;
|
||||
|
||||
@@ -336,8 +336,12 @@ public class PixelGrabber implements ImageConsumer
|
||||
}
|
||||
|
||||
/**
|
||||
@deprecated by getStatus
|
||||
*/
|
||||
Get the status of the pixel grabbing representing by ImageObserver flags
|
||||
|
||||
@return the status
|
||||
|
||||
@specnote This method is not deprecated but getStatus is preferred to use
|
||||
*/
|
||||
public synchronized int status()
|
||||
{
|
||||
return getStatus();
|
||||
|
||||
Reference in New Issue
Block a user