8039259: Tidy warnings cleanup for java.awt
Reviewed-by: serb, pchelko
This commit is contained in:
parent
9bae1e597b
commit
dffb8ce684
@ -115,7 +115,7 @@ import java.util.Hashtable;
|
||||
* }
|
||||
* }
|
||||
* </pre></blockquote><hr>
|
||||
* <p>
|
||||
*
|
||||
* @author Arthur van Hoff
|
||||
* @see java.awt.Container#add(String, Component)
|
||||
* @see java.awt.ComponentOrientation
|
||||
@ -414,8 +414,7 @@ public class BorderLayout implements LayoutManager2,
|
||||
* the component is added to the layout.
|
||||
* @see java.awt.Container#add(java.awt.Component, java.lang.Object)
|
||||
* @exception IllegalArgumentException if the constraint object is not
|
||||
* a string, or if it not one of the five specified
|
||||
* constants.
|
||||
* a string, or if it not one of the five specified constants.
|
||||
* @since JDK1.1
|
||||
*/
|
||||
public void addLayoutComponent(Component comp, Object constraints) {
|
||||
|
@ -49,7 +49,7 @@ package java.awt;
|
||||
* <img src="doc-files/CheckboxGroup-1.gif"
|
||||
* alt="Shows three checkboxes, arranged vertically, labeled one, two, and three. Checkbox one is in the on state."
|
||||
* style="float:center; margin: 7px 10px;">
|
||||
* <p>
|
||||
*
|
||||
* @author Sami Shaio
|
||||
* @see java.awt.Checkbox
|
||||
* @since JDK1.0
|
||||
|
@ -65,7 +65,7 @@ import javax.accessibility.*;
|
||||
* Native GUI <code>Choice</code> components' size are often bound by such
|
||||
* attributes as font size and length of items contained within
|
||||
* the <code>Choice</code>.
|
||||
* <p>
|
||||
*
|
||||
* @author Sami Shaio
|
||||
* @author Arthur van Hoff
|
||||
* @since JDK1.0
|
||||
|
@ -680,7 +680,7 @@ public class EventQueue {
|
||||
* <td>No action (ignored)</td>
|
||||
* </tr>
|
||||
* </table>
|
||||
* <p>
|
||||
*
|
||||
* @param event an instance of <code>java.awt.AWTEvent</code>,
|
||||
* or a subclass of it
|
||||
* @throws NullPointerException if <code>event</code> is <code>null</code>
|
||||
@ -1015,7 +1015,6 @@ public class EventQueue {
|
||||
* methods to execute a task in
|
||||
* {@link Toolkit#getSystemEventQueue the current AWT EventQueue}'s
|
||||
* dispatch thread.
|
||||
* <p>
|
||||
*
|
||||
* @return true if running in
|
||||
* {@link Toolkit#getSystemEventQueue the current AWT EventQueue}'s
|
||||
|
@ -29,7 +29,7 @@ package java.awt;
|
||||
* The {@code GridBagLayoutInfo} is an utility class for
|
||||
* {@code GridBagLayout} layout manager.
|
||||
* It stores align, size and baseline parameters for every component within a container.
|
||||
* <p>
|
||||
*
|
||||
* @see java.awt.GridBagLayout
|
||||
* @see java.awt.GridBagConstraints
|
||||
* @since 1.6
|
||||
|
@ -76,7 +76,6 @@ public class Robot {
|
||||
|
||||
/**
|
||||
* Constructs a Robot object in the coordinate system of the primary screen.
|
||||
* <p>
|
||||
*
|
||||
* @throws AWTException if the platform configuration does not allow
|
||||
* low-level input control. This exception is always thrown when
|
||||
|
@ -49,7 +49,7 @@ import javax.accessibility.*;
|
||||
* <hr><blockquote><pre>
|
||||
* new TextArea("Hello", 5, 40);
|
||||
* </pre></blockquote><hr>
|
||||
* <p>
|
||||
*
|
||||
* @author Sami Shaio
|
||||
* @since JDK1.0
|
||||
*/
|
||||
|
@ -2590,7 +2590,7 @@ public abstract class Toolkit {
|
||||
* If not set by the time of the {@code Toolkit} class initialization, this property will be
|
||||
* initialized with {@code true}.
|
||||
* Changing this value after the {@code Toolkit} class initialization will have no effect.
|
||||
* <p>
|
||||
*
|
||||
* @exception HeadlessException if GraphicsEnvironment.isHeadless() returns true
|
||||
* @return {@code true} if events from extra mouse buttons are allowed to be processed and posted;
|
||||
* {@code false} otherwise
|
||||
|
@ -231,7 +231,7 @@ public class TrayIcon {
|
||||
/**
|
||||
* Sets the image for this <code>TrayIcon</code>. The previous
|
||||
* tray icon image is discarded without calling the {@link
|
||||
* java.awt.Image#flush} method — you will need to call it
|
||||
* java.awt.Image#flush} method — you will need to call it
|
||||
* manually.
|
||||
*
|
||||
* <p> If the image represents an animated image, it will be
|
||||
@ -368,7 +368,7 @@ public class TrayIcon {
|
||||
*
|
||||
* <p> If auto-size is <code>false</code>, and the image size
|
||||
* doesn't match the tray icon space, the image is painted as-is
|
||||
* inside that space — if larger than the allocated space, it will
|
||||
* inside that space — if larger than the allocated space, it will
|
||||
* be cropped.
|
||||
*
|
||||
* <p> If auto-size is <code>true</code>, the image is stretched or shrunk to
|
||||
|
@ -2550,7 +2550,7 @@ public class Window extends Container implements Accessible {
|
||||
* a non-focusable Window.
|
||||
*
|
||||
* Setting the focusability state on a visible {@code Window}
|
||||
* can have a delayed effect on some platforms — the actual
|
||||
* can have a delayed effect on some platforms — the actual
|
||||
* change may happen only when the {@code Window} becomes
|
||||
* hidden and then visible again. To ensure consistent behavior
|
||||
* across platforms, set the {@code Window}'s focusable state
|
||||
|
@ -85,7 +85,7 @@ public interface InputMethodContext extends InputMethodRequests {
|
||||
* <p>
|
||||
* Input methods must call {@link java.awt.Window#dispose() Window.dispose} on the
|
||||
* returned input method window when it is no longer needed.
|
||||
* <p>
|
||||
*
|
||||
* @param title the title to be displayed in the window's title bar,
|
||||
* if there is such a title bar.
|
||||
* A <code>null</code> value is treated as an empty string, "".
|
||||
@ -117,7 +117,7 @@ public interface InputMethodContext extends InputMethodRequests {
|
||||
* <p>
|
||||
* Input methods must call {@link java.awt.Window#dispose() Window.dispose} on the
|
||||
* returned input method window when it is no longer needed.
|
||||
* <p>
|
||||
*
|
||||
* @param title the title to be displayed in the window's title bar,
|
||||
* if there is such a title bar.
|
||||
* A <code>null</code> value is treated as an empty string, "".
|
||||
|
Loading…
Reference in New Issue
Block a user