diff options
author | Michael Koch <konqueror@gmx.de> | 2003-02-15 09:21:55 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-02-15 09:21:55 +0000 |
commit | 30df932c23db0f7d3b7353f6fee11c4ec27dd9c2 (patch) | |
tree | 7b1568d550111d47732726dd7a7f5bdc5e660ddf /libjava/java/awt/Dialog.java | |
parent | e898926c9d597ef2cfd08f278b20ed916a18a98b (diff) | |
download | gcc-30df932c23db0f7d3b7353f6fee11c4ec27dd9c2.zip gcc-30df932c23db0f7d3b7353f6fee11c4ec27dd9c2.tar.gz gcc-30df932c23db0f7d3b7353f6fee11c4ec27dd9c2.tar.bz2 |
2003-02-15 Michael Koch <konqueror@gmx.de>
* java/awt/CheckboxMenuItem.java
(CheckBoxMenuItem): Dont implement Serializable.
(getListeners): New method,
(getItemListeners): New method.
* java/awt/Choice.java
(getListeners): New method,
(getItemListeners): New method.
* java/awt/Container.java
(getListeners): Added exception documentation.
(setFocusTraversalKeys): Throw exceptions, added documentattion.
(getFocusTraversalKeys): Added documentation.
(areFocusTraversalKeysSet): Added documentation.
(applyComponentOrientation): Added documentation.
* java/awt/ContainerOrderFocusTraversalPolicy.java
(implicitDownCycleTraversal): Renamed from downCycle for
serialization.
(ContainerOrderFocusTraversalPolicy): Added documentation.
(accept): Reformated.
* java/awt/Dialog.java
(Dialog): Dont implement Serializable.
(Dialog): Added documentation.
* java/awt/Font.java
(Font): Dont use absolute class name.
* java/awt/Frame.java
(Frame): Font implement Serializable.
* java/awt/List.java
(getListeners): New method,
(getActionListeners): New method.
(getItemListeners): New method.
* java/awt/Menu.java
(countItems): New deprecated method.
* java/awt/Scrollbar.java
(getListeners): New method,
(getAdjustmentListeners): New method,
* java/awt/TextComponent.java
(getListeners): New method,
(getTextListeners): New method,
* java/awt/TextField.java
(getListeners): New method,
(getActionListeners): New method.
* java/awt/Window.java
(windowFocusListener): New member variable.
(windowStateListener): New member variable.
(getWindowFocusListeners): New method.
(getWindowStateListeners): New method.
(addWindowFocusListener): New method.
(addWindowStateListener): New method.
(removeWindowFocusListener): New method.
(removeWindowStateListener): New method.
* java/awt/datatransfer/DataFlavor.java
(isRepresentationClassByteBuffer): New method.
(isRepresentationClassCharBuffer): New method.
(isRepresentationClassReader): New method.
From-SVN: r62933
Diffstat (limited to 'libjava/java/awt/Dialog.java')
-rw-r--r-- | libjava/java/awt/Dialog.java | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/libjava/java/awt/Dialog.java b/libjava/java/awt/Dialog.java index 471826c..9aa2ea6 100644 --- a/libjava/java/awt/Dialog.java +++ b/libjava/java/awt/Dialog.java @@ -49,7 +49,7 @@ import java.awt.peer.ComponentPeer; * @author Aaron M. Renn (arenn@urbanophile.com) * @author Tom Tromey <tromey@redhat.com> */ -public class Dialog extends Window implements java.io.Serializable +public class Dialog extends Window { /* @@ -92,6 +92,10 @@ private String title; * parent, that is not resizable and not modal, and which has no title. * * @param parent The parent frame of this dialog box. + * + * @exception IllegalArgumentException If the owner's GraphicsConfiguration + * is not from a screen device, or if owner is null. This exception is always + * thrown when GraphicsEnvironment.isHeadless() returns true. */ public Dialog(Frame parent) @@ -108,6 +112,10 @@ Dialog(Frame parent) * @param parent The parent frame of this dialog box. * @param modal <true> if this dialog box is modal, <code>false</code> * otherwise. + * + * @exception IllegalArgumentException If the owner's GraphicsConfiguration + * is not from a screen device, or if owner is null. This exception is always + * thrown when GraphicsEnvironment.isHeadless() returns true. */ public Dialog(Frame parent, boolean modal) @@ -124,6 +132,10 @@ Dialog(Frame parent, boolean modal) * * @param parent The parent frame of this dialog box. * @param title The title string for this dialog box. + * + * @exception IllegalArgumentException If the owner's GraphicsConfiguration + * is not from a screen device, or if owner is null. This exception is always + * thrown when GraphicsEnvironment.isHeadless() returns true. */ public Dialog(Frame parent, String title) @@ -160,12 +172,30 @@ Dialog (Dialog owner) this (owner, "", false); } +/** + * Initializes a new instance of <code>Dialog</code> with the specified, + * parent and title, that is not resizable. + * + * @exception IllegalArgumentException If parent is null. This exception is + * always thrown when GraphicsEnvironment.isHeadless() returns true. + * + * @since 1.2 + */ public Dialog (Dialog owner, String title) { this (owner, title, false); } +/** + * Initializes a new instance of <code>Dialog</code> with the specified, + * parent, title and modality, that is not resizable. + * + * @exception IllegalArgumentException If parent is null. This exception is + * always thrown when GraphicsEnvironment.isHeadless() returns true. + * + * @since 1.2 + */ public Dialog (Dialog owner, String title, boolean modal) { |