Button.java, [...]: New versions from Classpath.
2003-06-05 Michael Koch <konqueror@gmx.de> * java/awt/Button.java, java/awt/Checkbox.java, java/awt/CheckboxMenuItem.java, java/awt/Choice.java, java/awt/Container.java, java/awt/Dialog.java, java/awt/EventQueue.java, java/awt/FileDialog.java, java/awt/Frame.java, java/awt/Label.java, java/awt/List.java, java/awt/Menu.java, java/awt/MenuItem.java, java/awt/Panel.java, java/awt/PopupMenu.java, java/awt/Rectangle.java, java/awt/ScrollPane.java, java/awt/Scrollbar.java, java/awt/TextArea.java, java/awt/TextField.java, java/awt/Window.java, java/awt/datatransfer/DataFlavor.java, java/awt/dnd/DragSource.java, java/awt/dnd/DragSourceContext.java, java/awt/event/HierarchyEvent.java, java/awt/event/MouseWheelEvent.java, java/awt/im/InputContext.java, java/awt/image/BufferedImage.java, java/awt/image/ComponentColorModel.java, java/awt/image/Raster.java, java/awt/image/WritableRaster.java, java/awt/peer/ComponentPeer.java, java/awt/print/PageFormat.java, java/awt/print/PrinterJob.java: New versions from Classpath. From-SVN: r67506
This commit is contained in:
parent
7d445f153d
commit
fe7f8a4ebd
@ -1,3 +1,41 @@
|
|||||||
|
2003-06-05 Michael Koch <konqueror@gmx.de>
|
||||||
|
|
||||||
|
* java/awt/Button.java,
|
||||||
|
java/awt/Checkbox.java,
|
||||||
|
java/awt/CheckboxMenuItem.java,
|
||||||
|
java/awt/Choice.java,
|
||||||
|
java/awt/Container.java,
|
||||||
|
java/awt/Dialog.java,
|
||||||
|
java/awt/EventQueue.java,
|
||||||
|
java/awt/FileDialog.java,
|
||||||
|
java/awt/Frame.java,
|
||||||
|
java/awt/Label.java,
|
||||||
|
java/awt/List.java,
|
||||||
|
java/awt/Menu.java,
|
||||||
|
java/awt/MenuItem.java,
|
||||||
|
java/awt/Panel.java,
|
||||||
|
java/awt/PopupMenu.java,
|
||||||
|
java/awt/Rectangle.java,
|
||||||
|
java/awt/ScrollPane.java,
|
||||||
|
java/awt/Scrollbar.java,
|
||||||
|
java/awt/TextArea.java,
|
||||||
|
java/awt/TextField.java,
|
||||||
|
java/awt/Window.java,
|
||||||
|
java/awt/datatransfer/DataFlavor.java,
|
||||||
|
java/awt/dnd/DragSource.java,
|
||||||
|
java/awt/dnd/DragSourceContext.java,
|
||||||
|
java/awt/event/HierarchyEvent.java,
|
||||||
|
java/awt/event/MouseWheelEvent.java,
|
||||||
|
java/awt/im/InputContext.java,
|
||||||
|
java/awt/image/BufferedImage.java,
|
||||||
|
java/awt/image/ComponentColorModel.java,
|
||||||
|
java/awt/image/Raster.java,
|
||||||
|
java/awt/image/WritableRaster.java,
|
||||||
|
java/awt/peer/ComponentPeer.java,
|
||||||
|
java/awt/print/PageFormat.java,
|
||||||
|
java/awt/print/PrinterJob.java:
|
||||||
|
New versions from Classpath.
|
||||||
|
|
||||||
2003-06-05 Scott Gilbertson <scottg@mantatest.com>
|
2003-06-05 Scott Gilbertson <scottg@mantatest.com>
|
||||||
|
|
||||||
* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
|
* java/text/SimpleDateFormat.java (SimpleDateFormat): Added
|
||||||
|
@ -41,7 +41,6 @@ package java.awt;
|
|||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
import java.awt.peer.ButtonPeer;
|
import java.awt.peer.ButtonPeer;
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.lang.reflect.Array;
|
import java.lang.reflect.Array;
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
||||||
|
@ -38,10 +38,9 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.CheckboxPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.awt.event.ItemEvent;
|
import java.awt.event.ItemEvent;
|
||||||
import java.awt.event.ItemListener;
|
import java.awt.event.ItemListener;
|
||||||
|
import java.awt.peer.CheckboxPeer;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,11 +38,10 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.CheckboxMenuItemPeer;
|
|
||||||
import java.awt.peer.MenuItemPeer;
|
|
||||||
import java.awt.peer.MenuComponentPeer;
|
|
||||||
import java.awt.event.ItemEvent;
|
import java.awt.event.ItemEvent;
|
||||||
import java.awt.event.ItemListener;
|
import java.awt.event.ItemListener;
|
||||||
|
import java.awt.peer.CheckboxMenuItemPeer;
|
||||||
|
import java.awt.peer.MenuItemPeer;
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,13 +38,12 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.ChoicePeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.awt.event.ItemEvent;
|
import java.awt.event.ItemEvent;
|
||||||
import java.awt.event.ItemListener;
|
import java.awt.event.ItemListener;
|
||||||
|
import java.awt.peer.ChoicePeer;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Vector;
|
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
import java.util.Vector;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class implements a drop down choice list.
|
* This class implements a drop down choice list.
|
||||||
|
@ -41,7 +41,6 @@ import java.awt.event.AWTEventListener;
|
|||||||
import java.awt.event.ContainerEvent;
|
import java.awt.event.ContainerEvent;
|
||||||
import java.awt.event.ContainerListener;
|
import java.awt.event.ContainerListener;
|
||||||
import java.awt.event.MouseEvent;
|
import java.awt.event.MouseEvent;
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.awt.peer.ContainerPeer;
|
import java.awt.peer.ContainerPeer;
|
||||||
import java.awt.peer.LightweightPeer;
|
import java.awt.peer.LightweightPeer;
|
||||||
import java.beans.PropertyChangeListener;
|
import java.beans.PropertyChangeListener;
|
||||||
|
@ -39,9 +39,6 @@ exception statement from your version. */
|
|||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.DialogPeer;
|
import java.awt.peer.DialogPeer;
|
||||||
import java.awt.peer.WindowPeer;
|
|
||||||
import java.awt.peer.ContainerPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A dialog box widget class.
|
* A dialog box widget class.
|
||||||
|
@ -37,9 +37,9 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.event.*;
|
import java.awt.event.InvocationEvent;
|
||||||
import java.util.EmptyStackException;
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
|
import java.util.EmptyStackException;
|
||||||
|
|
||||||
/* Written using on-line Java 2 Platform Standard Edition v1.3 API
|
/* Written using on-line Java 2 Platform Standard Edition v1.3 API
|
||||||
* Specification, as well as "The Java Class Libraries", 2nd edition
|
* Specification, as well as "The Java Class Libraries", 2nd edition
|
||||||
@ -376,4 +376,4 @@ public class EventQueue
|
|||||||
// XXX For now, this ONLY does the current time.
|
// XXX For now, this ONLY does the current time.
|
||||||
return System.currentTimeMillis();
|
return System.currentTimeMillis();
|
||||||
}
|
}
|
||||||
} // class EventQueue
|
}
|
||||||
|
@ -40,9 +40,6 @@ package java.awt;
|
|||||||
|
|
||||||
import java.awt.peer.FileDialogPeer;
|
import java.awt.peer.FileDialogPeer;
|
||||||
import java.awt.peer.DialogPeer;
|
import java.awt.peer.DialogPeer;
|
||||||
import java.awt.peer.WindowPeer;
|
|
||||||
import java.awt.peer.ContainerPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.io.FilenameFilter;
|
import java.io.FilenameFilter;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,9 +39,6 @@ exception statement from your version. */
|
|||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.FramePeer;
|
import java.awt.peer.FramePeer;
|
||||||
import java.awt.peer.WindowPeer;
|
|
||||||
import java.awt.peer.ContainerPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
|
||||||
|
@ -39,7 +39,6 @@ exception statement from your version. */
|
|||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.LabelPeer;
|
import java.awt.peer.LabelPeer;
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import javax.accessibility.Accessible;
|
import javax.accessibility.Accessible;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -38,13 +38,11 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
import java.awt.event.ItemEvent;
|
import java.awt.event.ItemEvent;
|
||||||
import java.awt.event.ItemListener;
|
import java.awt.event.ItemListener;
|
||||||
import java.awt.peer.ListPeer;
|
import java.awt.peer.ListPeer;
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
import javax.accessibility.Accessible;
|
import javax.accessibility.Accessible;
|
||||||
|
@ -39,11 +39,8 @@ exception statement from your version. */
|
|||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.MenuPeer;
|
import java.awt.peer.MenuPeer;
|
||||||
import java.awt.peer.MenuItemPeer;
|
|
||||||
import java.awt.peer.MenuComponentPeer;
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
import java.util.Enumeration;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class represents a pull down or tear off menu in Java's AWT.
|
* This class represents a pull down or tear off menu in Java's AWT.
|
||||||
|
@ -38,10 +38,9 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.MenuItemPeer;
|
|
||||||
import java.awt.peer.MenuComponentPeer;
|
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.peer.MenuItemPeer;
|
||||||
import java.lang.reflect.Array;
|
import java.lang.reflect.Array;
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
||||||
|
@ -38,10 +38,6 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.PanelPeer;
|
|
||||||
import java.awt.peer.ContainerPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import javax.accessibility.Accessible;
|
import javax.accessibility.Accessible;
|
||||||
import javax.accessibility.AccessibleContext;
|
import javax.accessibility.AccessibleContext;
|
||||||
import javax.accessibility.AccessibleRole;
|
import javax.accessibility.AccessibleRole;
|
||||||
|
@ -38,10 +38,9 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.PopupMenuPeer;
|
|
||||||
import java.awt.peer.MenuPeer;
|
import java.awt.peer.MenuPeer;
|
||||||
import java.awt.peer.MenuItemPeer;
|
import java.awt.peer.PopupMenuPeer;
|
||||||
import java.awt.peer.MenuComponentPeer;
|
|
||||||
/**
|
/**
|
||||||
* This class implement an AWT popup menu widget
|
* This class implement an AWT popup menu widget
|
||||||
*
|
*
|
||||||
|
@ -38,7 +38,6 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.geom.AffineTransform;
|
|
||||||
import java.awt.geom.Rectangle2D;
|
import java.awt.geom.Rectangle2D;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@ -39,9 +39,8 @@ exception statement from your version. */
|
|||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.event.MouseEvent;
|
import java.awt.event.MouseEvent;
|
||||||
import java.awt.peer.ScrollPanePeer;
|
|
||||||
import java.awt.peer.ContainerPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
import java.awt.peer.ComponentPeer;
|
||||||
|
import java.awt.peer.ScrollPanePeer;
|
||||||
import javax.accessibility.Accessible;
|
import javax.accessibility.Accessible;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -367,8 +366,8 @@ removeNotify()
|
|||||||
* @param index The index at which to add the child, which is ignored
|
* @param index The index at which to add the child, which is ignored
|
||||||
* in this implementation.
|
* in this implementation.
|
||||||
*/
|
*/
|
||||||
public final void
|
protected final void addImpl (Component component, Object constraints,
|
||||||
addImpl(Component component, Object constraints, int index)
|
int index)
|
||||||
{
|
{
|
||||||
Component[] list = getComponents();
|
Component[] list = getComponents();
|
||||||
if ((list != null) && (list.length > 0))
|
if ((list != null) && (list.length > 0))
|
||||||
@ -465,7 +464,7 @@ paramString()
|
|||||||
*
|
*
|
||||||
* @since 1.4
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
public boolean eventTypeEnabled (int type)
|
protected boolean eventTypeEnabled (int type)
|
||||||
{
|
{
|
||||||
if (type == MouseEvent.MOUSE_WHEEL)
|
if (type == MouseEvent.MOUSE_WHEEL)
|
||||||
return wheelScrollingEnabled;
|
return wheelScrollingEnabled;
|
||||||
|
@ -38,10 +38,9 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.ScrollbarPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.awt.event.AdjustmentListener;
|
import java.awt.event.AdjustmentListener;
|
||||||
import java.awt.event.AdjustmentEvent;
|
import java.awt.event.AdjustmentEvent;
|
||||||
|
import java.awt.peer.ScrollbarPeer;
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
import javax.accessibility.Accessible;
|
import javax.accessibility.Accessible;
|
||||||
|
|
||||||
|
@ -38,9 +38,8 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt;
|
package java.awt;
|
||||||
|
|
||||||
import java.awt.peer.TextAreaPeer;
|
|
||||||
import java.awt.peer.TextComponentPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
import java.awt.peer.ComponentPeer;
|
||||||
|
import java.awt.peer.TextAreaPeer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This implements a multi-line text entry widget.
|
* This implements a multi-line text entry widget.
|
||||||
|
@ -41,7 +41,6 @@ package java.awt;
|
|||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
import java.awt.peer.TextFieldPeer;
|
import java.awt.peer.TextFieldPeer;
|
||||||
import java.awt.peer.TextComponentPeer;
|
|
||||||
import java.awt.peer.ComponentPeer;
|
import java.awt.peer.ComponentPeer;
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
||||||
|
@ -43,7 +43,6 @@ import java.awt.event.WindowFocusListener;
|
|||||||
import java.awt.event.WindowListener;
|
import java.awt.event.WindowListener;
|
||||||
import java.awt.event.WindowStateListener;
|
import java.awt.event.WindowStateListener;
|
||||||
import java.awt.peer.WindowPeer;
|
import java.awt.peer.WindowPeer;
|
||||||
import java.awt.peer.ComponentPeer;
|
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.ResourceBundle;
|
import java.util.ResourceBundle;
|
||||||
@ -655,7 +654,7 @@ public class Window extends Container
|
|||||||
*
|
*
|
||||||
* @since 1.4
|
* @since 1.4
|
||||||
*/
|
*/
|
||||||
public boolean isFocusableWindow ()
|
public final boolean isFocusableWindow ()
|
||||||
{
|
{
|
||||||
if (getFocusableWindowState () == false)
|
if (getFocusableWindowState () == false)
|
||||||
return false;
|
return false;
|
||||||
|
@ -49,7 +49,6 @@ import java.io.StringReader;
|
|||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
import java.nio.CharBuffer;
|
import java.nio.CharBuffer;
|
||||||
import java.nio.charset.Charset;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class represents a particular data format used for transferring
|
* This class represents a particular data format used for transferring
|
||||||
|
@ -49,9 +49,6 @@ import java.awt.datatransfer.FlavorMap;
|
|||||||
import java.awt.datatransfer.SystemFlavorMap;
|
import java.awt.datatransfer.SystemFlavorMap;
|
||||||
import java.awt.datatransfer.Transferable;
|
import java.awt.datatransfer.Transferable;
|
||||||
import java.awt.dnd.peer.DragSourceContextPeer;
|
import java.awt.dnd.peer.DragSourceContextPeer;
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.ObjectInputStream;
|
|
||||||
import java.io.ObjectOutputStream;
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
||||||
|
@ -44,9 +44,6 @@ import java.awt.Image;
|
|||||||
import java.awt.Point;
|
import java.awt.Point;
|
||||||
import java.awt.datatransfer.Transferable;
|
import java.awt.datatransfer.Transferable;
|
||||||
import java.awt.dnd.peer.DragSourceContextPeer;
|
import java.awt.dnd.peer.DragSourceContextPeer;
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.ObjectInputStream;
|
|
||||||
import java.io.ObjectOutputStream;
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.TooManyListenersException;
|
import java.util.TooManyListenersException;
|
||||||
|
|
||||||
|
@ -35,8 +35,12 @@ this exception to your version of the library, but you are not
|
|||||||
obligated to do so. If you do not wish to do so, delete this
|
obligated to do so. If you do not wish to do so, delete this
|
||||||
exception statement from your version. */
|
exception statement from your version. */
|
||||||
|
|
||||||
|
|
||||||
package java.awt.event;
|
package java.awt.event;
|
||||||
import java.awt.*;
|
|
||||||
|
import java.awt.AWTEvent;
|
||||||
|
import java.awt.Component;
|
||||||
|
import java.awt.Container;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class represents an event generated for an ancestor component which
|
* This class represents an event generated for an ancestor component which
|
||||||
|
@ -39,7 +39,6 @@ exception statement from your version. */
|
|||||||
package java.awt.event;
|
package java.awt.event;
|
||||||
|
|
||||||
import java.awt.Component;
|
import java.awt.Component;
|
||||||
import java.awt.Point;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This event is generated for a mouse wheel rotation. The wheel (the middle
|
* This event is generated for a mouse wheel rotation. The wheel (the middle
|
||||||
|
@ -46,7 +46,6 @@ import java.io.BufferedReader;
|
|||||||
import java.io.InputStreamReader;
|
import java.io.InputStreamReader;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.net.URLConnection;
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
|
@ -37,10 +37,15 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt.image;
|
package java.awt.image;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Graphics;
|
||||||
import java.awt.color.*;
|
import java.awt.Graphics2D;
|
||||||
import java.util.*;
|
import java.awt.Image;
|
||||||
|
import java.awt.Point;
|
||||||
|
import java.awt.Rectangle;
|
||||||
|
import java.awt.Transparency;
|
||||||
|
import java.awt.color.ColorSpace;
|
||||||
|
import java.util.Hashtable;
|
||||||
|
import java.util.Vector;
|
||||||
import gnu.java.awt.ComponentDataBlitOp;
|
import gnu.java.awt.ComponentDataBlitOp;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,10 +34,11 @@ this exception to your version of the library, but you are not
|
|||||||
obligated to do so. If you do not wish to do so, delete this
|
obligated to do so. If you do not wish to do so, delete this
|
||||||
exception statement from your version. */
|
exception statement from your version. */
|
||||||
|
|
||||||
|
|
||||||
package java.awt.image;
|
package java.awt.image;
|
||||||
|
|
||||||
import java.awt.color.*;
|
|
||||||
import java.awt.Point;
|
import java.awt.Point;
|
||||||
|
import java.awt.color.ColorSpace;
|
||||||
import gnu.java.awt.Buffers;
|
import gnu.java.awt.Buffers;
|
||||||
|
|
||||||
public class ComponentColorModel extends ColorModel
|
public class ComponentColorModel extends ColorModel
|
||||||
|
@ -34,9 +34,11 @@ this exception to your version of the library, but you are not
|
|||||||
obligated to do so. If you do not wish to do so, delete this
|
obligated to do so. If you do not wish to do so, delete this
|
||||||
exception statement from your version. */
|
exception statement from your version. */
|
||||||
|
|
||||||
|
|
||||||
package java.awt.image;
|
package java.awt.image;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Point;
|
||||||
|
import java.awt.Rectangle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
|
* @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
|
||||||
|
@ -34,9 +34,11 @@ this exception to your version of the library, but you are not
|
|||||||
obligated to do so. If you do not wish to do so, delete this
|
obligated to do so. If you do not wish to do so, delete this
|
||||||
exception statement from your version. */
|
exception statement from your version. */
|
||||||
|
|
||||||
|
|
||||||
package java.awt.image;
|
package java.awt.image;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Point;
|
||||||
|
import java.awt.Rectangle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
|
* @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
|
||||||
@ -138,10 +140,10 @@ public class WritableRaster extends Raster
|
|||||||
|
|
||||||
public void setRect(Raster srcRaster)
|
public void setRect(Raster srcRaster)
|
||||||
{
|
{
|
||||||
setRect(srcRaster, 0, 0);
|
setRect(0, 0, srcRaster);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setRect(Raster srcRaster, int dx, int dy)
|
public void setRect(int dx, int dy, Raster srcRaster)
|
||||||
{
|
{
|
||||||
Rectangle targetUnclipped = new Rectangle(srcRaster.getMinX()+dx,
|
Rectangle targetUnclipped = new Rectangle(srcRaster.getMinX()+dx,
|
||||||
srcRaster.getMinY()+dy,
|
srcRaster.getMinY()+dy,
|
||||||
|
@ -38,9 +38,22 @@ exception statement from your version. */
|
|||||||
|
|
||||||
package java.awt.peer;
|
package java.awt.peer;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.AWTEvent;
|
||||||
|
import java.awt.Color;
|
||||||
|
import java.awt.Cursor;
|
||||||
|
import java.awt.Dimension;
|
||||||
|
import java.awt.Font;
|
||||||
|
import java.awt.FontMetrics;
|
||||||
|
import java.awt.Graphics;
|
||||||
|
import java.awt.GraphicsConfiguration;
|
||||||
|
import java.awt.Image;
|
||||||
|
import java.awt.Point;
|
||||||
|
import java.awt.Toolkit;
|
||||||
import java.awt.event.PaintEvent;
|
import java.awt.event.PaintEvent;
|
||||||
import java.awt.image.*;
|
import java.awt.image.ColorModel;
|
||||||
|
import java.awt.image.ImageObserver;
|
||||||
|
import java.awt.image.ImageProducer;
|
||||||
|
import java.awt.image.VolatileImage;
|
||||||
|
|
||||||
public interface ComponentPeer
|
public interface ComponentPeer
|
||||||
{
|
{
|
||||||
|
@ -183,8 +183,7 @@ getImageableWidth()
|
|||||||
*
|
*
|
||||||
* @return The imageable height of the paper.
|
* @return The imageable height of the paper.
|
||||||
*/
|
*/
|
||||||
public double
|
public double getImageableHeight()
|
||||||
getImageableHeigth()
|
|
||||||
{
|
{
|
||||||
return(paper.getImageableHeight());
|
return(paper.getImageableHeight());
|
||||||
}
|
}
|
||||||
|
@ -98,8 +98,7 @@ getCopies();
|
|||||||
*
|
*
|
||||||
* @param copies The number of copies to be printed.
|
* @param copies The number of copies to be printed.
|
||||||
*/
|
*/
|
||||||
public abstract void
|
public abstract void setCopies (int copies);
|
||||||
setCopies();
|
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user