+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.
+
2003-06-27 Michael Koch <konqueror@gmx.de>
* java/security/Certificate.java
import java.util.EventListener;
import java.util.Locale;
import java.util.ResourceBundle;
+import javax.accessibility.Accessible;
+import javax.accessibility.AccessibleContext;
/**
* This class represents a top-level window with no decorations.
* @author Aaron M. Renn <arenn@urbanophile.com>
* @author Warren Levy <warrenl@cygnus.com>
*/
-public class Window extends Container
+public class Window extends Container implements Accessible
{
+ private static final long serialVersionUID = 4497834738069338734L;
+
// Serialized fields, from Sun's serialization spec.
private String warningString = null;
private int windowSerializedDataVersion = 0; // FIXME
private transient WindowFocusListener windowFocusListener;
private transient WindowStateListener windowStateListener;
private transient GraphicsConfiguration graphicsConfiguration;
+ private transient AccessibleContext accessibleContext;
/**
* This (package access) constructor is used by subclasses that want
this();
graphicsConfiguration = gc;
}
-
+
/**
* Initializes a new instance of <code>Window</code> with the specified
* parent. The window will initially be invisible.
*/
public void applyResourceBundle(ResourceBundle rb)
{
- // FIXME
+ throw new Error ("Not implemented");
}
/**
applyResourceBundle(rb);
}
- /*
public AccessibleContext getAccessibleContext()
{
// FIXME
+ //return null;
+ throw new Error ("Not implemented");
}
- */
/**
* Get graphics configuration. The implementation for Window will
public abstract float getAdvance ();
- public int getAlignment ()
+ public final int getAlignment ()
{
return alignment;
}
/**
* @author Michael Koch
*/
-public class ImageGraphicAttribute extends GraphicAttribute
+public final class ImageGraphicAttribute extends GraphicAttribute
{
private Image 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;
/**
* @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;
/**
* @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;
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;
}
/**
- @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();