Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
fbff9c3e
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fbff9c3e
编写于
12月 03, 2013
作者:
R
rriggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8028019: AWT Doclint warning/error cleanup
Summary: Fix numerious javadoc and html errors and warnings Reviewed-by: yan
上级
97014e17
变更
55
隐藏空白更改
内联
并排
Showing
55 changed file
with
110 addition
and
131 deletion
+110
-131
src/share/classes/java/applet/Applet.java
src/share/classes/java/applet/Applet.java
+1
-1
src/share/classes/java/applet/AppletContext.java
src/share/classes/java/applet/AppletContext.java
+1
-1
src/share/classes/java/awt/AWTPermission.java
src/share/classes/java/awt/AWTPermission.java
+0
-1
src/share/classes/java/awt/AlphaComposite.java
src/share/classes/java/awt/AlphaComposite.java
+0
-7
src/share/classes/java/awt/BasicStroke.java
src/share/classes/java/awt/BasicStroke.java
+1
-1
src/share/classes/java/awt/BorderLayout.java
src/share/classes/java/awt/BorderLayout.java
+1
-1
src/share/classes/java/awt/Button.java
src/share/classes/java/awt/Button.java
+1
-1
src/share/classes/java/awt/Checkbox.java
src/share/classes/java/awt/Checkbox.java
+2
-2
src/share/classes/java/awt/CheckboxGroup.java
src/share/classes/java/awt/CheckboxGroup.java
+1
-1
src/share/classes/java/awt/CheckboxMenuItem.java
src/share/classes/java/awt/CheckboxMenuItem.java
+1
-1
src/share/classes/java/awt/Choice.java
src/share/classes/java/awt/Choice.java
+2
-2
src/share/classes/java/awt/Component.java
src/share/classes/java/awt/Component.java
+13
-13
src/share/classes/java/awt/Container.java
src/share/classes/java/awt/Container.java
+3
-3
src/share/classes/java/awt/EventFilter.java
src/share/classes/java/awt/EventFilter.java
+4
-4
src/share/classes/java/awt/EventQueue.java
src/share/classes/java/awt/EventQueue.java
+1
-1
src/share/classes/java/awt/FileDialog.java
src/share/classes/java/awt/FileDialog.java
+0
-1
src/share/classes/java/awt/FlowLayout.java
src/share/classes/java/awt/FlowLayout.java
+9
-9
src/share/classes/java/awt/Font.java
src/share/classes/java/awt/Font.java
+7
-7
src/share/classes/java/awt/Graphics.java
src/share/classes/java/awt/Graphics.java
+3
-3
src/share/classes/java/awt/GridBagConstraints.java
src/share/classes/java/awt/GridBagConstraints.java
+1
-1
src/share/classes/java/awt/GridBagLayout.java
src/share/classes/java/awt/GridBagLayout.java
+5
-5
src/share/classes/java/awt/GridLayout.java
src/share/classes/java/awt/GridLayout.java
+2
-2
src/share/classes/java/awt/Label.java
src/share/classes/java/awt/Label.java
+1
-1
src/share/classes/java/awt/LinearGradientPaint.java
src/share/classes/java/awt/LinearGradientPaint.java
+0
-2
src/share/classes/java/awt/LinearGradientPaintContext.java
src/share/classes/java/awt/LinearGradientPaintContext.java
+2
-2
src/share/classes/java/awt/List.java
src/share/classes/java/awt/List.java
+3
-3
src/share/classes/java/awt/MenuItem.java
src/share/classes/java/awt/MenuItem.java
+1
-1
src/share/classes/java/awt/RadialGradientPaint.java
src/share/classes/java/awt/RadialGradientPaint.java
+0
-4
src/share/classes/java/awt/Scrollbar.java
src/share/classes/java/awt/Scrollbar.java
+7
-7
src/share/classes/java/awt/SystemColor.java
src/share/classes/java/awt/SystemColor.java
+1
-1
src/share/classes/java/awt/SystemTray.java
src/share/classes/java/awt/SystemTray.java
+1
-1
src/share/classes/java/awt/TextArea.java
src/share/classes/java/awt/TextArea.java
+1
-1
src/share/classes/java/awt/TextField.java
src/share/classes/java/awt/TextField.java
+2
-2
src/share/classes/java/awt/Toolkit.java
src/share/classes/java/awt/Toolkit.java
+3
-3
src/share/classes/java/awt/WaitDispatchSupport.java
src/share/classes/java/awt/WaitDispatchSupport.java
+3
-3
src/share/classes/java/awt/Window.java
src/share/classes/java/awt/Window.java
+1
-1
src/share/classes/java/awt/color/CMMException.java
src/share/classes/java/awt/color/CMMException.java
+2
-1
src/share/classes/java/awt/color/ColorSpace.java
src/share/classes/java/awt/color/ColorSpace.java
+2
-2
src/share/classes/java/awt/color/ICC_ColorSpace.java
src/share/classes/java/awt/color/ICC_ColorSpace.java
+2
-3
src/share/classes/java/awt/color/ICC_Profile.java
src/share/classes/java/awt/color/ICC_Profile.java
+2
-2
src/share/classes/java/awt/color/ICC_ProfileGray.java
src/share/classes/java/awt/color/ICC_ProfileGray.java
+2
-2
src/share/classes/java/awt/color/ICC_ProfileRGB.java
src/share/classes/java/awt/color/ICC_ProfileRGB.java
+3
-3
src/share/classes/java/awt/dnd/DnDEventMulticaster.java
src/share/classes/java/awt/dnd/DnDEventMulticaster.java
+1
-1
src/share/classes/java/awt/dnd/DragSourceDropEvent.java
src/share/classes/java/awt/dnd/DragSourceDropEvent.java
+0
-1
src/share/classes/java/awt/dnd/DropTarget.java
src/share/classes/java/awt/dnd/DropTarget.java
+1
-2
src/share/classes/java/awt/event/MouseAdapter.java
src/share/classes/java/awt/event/MouseAdapter.java
+1
-1
src/share/classes/java/awt/font/FontRenderContext.java
src/share/classes/java/awt/font/FontRenderContext.java
+0
-1
src/share/classes/java/awt/font/StyledParagraph.java
src/share/classes/java/awt/font/StyledParagraph.java
+1
-1
src/share/classes/java/awt/geom/AffineTransform.java
src/share/classes/java/awt/geom/AffineTransform.java
+1
-2
src/share/classes/java/awt/geom/QuadCurve2D.java
src/share/classes/java/awt/geom/QuadCurve2D.java
+2
-2
src/share/classes/java/awt/image/BufferStrategy.java
src/share/classes/java/awt/image/BufferStrategy.java
+0
-1
src/share/classes/java/awt/image/BufferedImage.java
src/share/classes/java/awt/image/BufferedImage.java
+0
-1
src/share/classes/java/awt/image/ColorConvertOp.java
src/share/classes/java/awt/image/ColorConvertOp.java
+2
-2
src/share/classes/java/awt/peer/CheckboxPeer.java
src/share/classes/java/awt/peer/CheckboxPeer.java
+1
-1
src/share/classes/java/awt/peer/DesktopPeer.java
src/share/classes/java/awt/peer/DesktopPeer.java
+2
-2
未找到文件。
src/share/classes/java/applet/Applet.java
浏览文件 @
fbff9c3e
...
@@ -392,7 +392,7 @@ public class Applet extends Panel {
...
@@ -392,7 +392,7 @@ public class Applet extends Panel {
* Each element of the array should be a set of three
* Each element of the array should be a set of three
* <code>Strings</code> containing the name, the type, and a
* <code>Strings</code> containing the name, the type, and a
* description. For example:
* description. For example:
* <
p><
blockquote><pre>
* <blockquote><pre>
* String pinfo[][] = {
* String pinfo[][] = {
* {"fps", "1-10", "frames per second"},
* {"fps", "1-10", "frames per second"},
* {"repeat", "boolean", "repeat image loop"},
* {"repeat", "boolean", "repeat image loop"},
...
...
src/share/classes/java/applet/AppletContext.java
浏览文件 @
fbff9c3e
...
@@ -107,7 +107,7 @@ public interface AppletContext {
...
@@ -107,7 +107,7 @@ public interface AppletContext {
* <code>target</code> argument indicates in which HTML frame the
* <code>target</code> argument indicates in which HTML frame the
* document is to be displayed.
* document is to be displayed.
* The target argument is interpreted as follows:
* The target argument is interpreted as follows:
*
<p>
*
* <center><table border="3" summary="Target arguments and their descriptions">
* <center><table border="3" summary="Target arguments and their descriptions">
* <tr><th>Target Argument</th><th>Description</th></tr>
* <tr><th>Target Argument</th><th>Description</th></tr>
* <tr><td><code>"_self"</code> <td>Show in the window and frame that
* <tr><td><code>"_self"</code> <td>Show in the window and frame that
...
...
src/share/classes/java/awt/AWTPermission.java
浏览文件 @
fbff9c3e
...
@@ -43,7 +43,6 @@ import java.security.BasicPermission;
...
@@ -43,7 +43,6 @@ import java.security.BasicPermission;
* target names, and for each provides a description of what the
* target names, and for each provides a description of what the
* permission allows and a discussion of the risks of granting code
* permission allows and a discussion of the risks of granting code
* the permission.
* the permission.
* <P>
*
*
* <table border=1 cellpadding=5 summary="AWTPermission target names, descriptions, and associated risks.">
* <table border=1 cellpadding=5 summary="AWTPermission target names, descriptions, and associated risks.">
* <tr>
* <tr>
...
...
src/share/classes/java/awt/AlphaComposite.java
浏览文件 @
fbff9c3e
...
@@ -175,7 +175,6 @@ import sun.java2d.SunCompositeContext;
...
@@ -175,7 +175,6 @@ import sun.java2d.SunCompositeContext;
* <em>F<sub>s</sub></em> and <em>F<sub>d</sub></em> and then the resulting
* <em>F<sub>s</sub></em> and <em>F<sub>d</sub></em> and then the resulting
* premultiplied components <em>A<sub>r</sub></em> and <em>C<sub>r</sub></em>.
* premultiplied components <em>A<sub>r</sub></em> and <em>C<sub>r</sub></em>.
*
*
* <p>
* <h3>Preparing Results</h3>
* <h3>Preparing Results</h3>
*
*
* <p>
* <p>
...
@@ -193,7 +192,6 @@ import sun.java2d.SunCompositeContext;
...
@@ -193,7 +192,6 @@ import sun.java2d.SunCompositeContext;
* by zero" and the color components are left as
* by zero" and the color components are left as
* all zeros.
* all zeros.
*
*
* <p>
* <h3>Performance Considerations</h3>
* <h3>Performance Considerations</h3>
*
*
* <p>
* <p>
...
@@ -216,7 +214,6 @@ import sun.java2d.SunCompositeContext;
...
@@ -216,7 +214,6 @@ import sun.java2d.SunCompositeContext;
* for their pixels. Such sources supply an alpha of 1.0 for
* for their pixels. Such sources supply an alpha of 1.0 for
* all of their pixels.
* all of their pixels.
*
*
* <p>
* <li>
* <li>
* Many destinations also have no place to store the alpha values
* Many destinations also have no place to store the alpha values
* that result from the blending calculations performed by this class.
* that result from the blending calculations performed by this class.
...
@@ -227,7 +224,6 @@ import sun.java2d.SunCompositeContext;
...
@@ -227,7 +224,6 @@ import sun.java2d.SunCompositeContext;
* values by the resulting alpha value before storing the color
* values by the resulting alpha value before storing the color
* values and discarding the alpha value.
* values and discarding the alpha value.
*
*
* <p>
* <li>
* <li>
* The accuracy of the results depends on the manner in which pixels
* The accuracy of the results depends on the manner in which pixels
* are stored in the destination.
* are stored in the destination.
...
@@ -248,7 +244,6 @@ import sun.java2d.SunCompositeContext;
...
@@ -248,7 +244,6 @@ import sun.java2d.SunCompositeContext;
* the need to choose a pixel from a limited palette to match the
* the need to choose a pixel from a limited palette to match the
* results of the blending equations.
* results of the blending equations.
*
*
* <p>
* <li>
* <li>
* Nearly all formats store pixels as discrete integers rather than
* Nearly all formats store pixels as discrete integers rather than
* the floating point values used in the reference equations above.
* the floating point values used in the reference equations above.
...
@@ -268,7 +263,6 @@ import sun.java2d.SunCompositeContext;
...
@@ -268,7 +263,6 @@ import sun.java2d.SunCompositeContext;
* represents 0.0 and 0xff represents
* represents 0.0 and 0xff represents
* 1.0.
* 1.0.
*
*
* <p>
* <li>
* <li>
* The internal implementation can approximate some of the equations
* The internal implementation can approximate some of the equations
* and it can also eliminate some steps to avoid unnecessary operations.
* and it can also eliminate some steps to avoid unnecessary operations.
...
@@ -332,7 +326,6 @@ import sun.java2d.SunCompositeContext;
...
@@ -332,7 +326,6 @@ import sun.java2d.SunCompositeContext;
* <p>
* <p>
* and thus they would all match.
* and thus they would all match.
*
*
* <p>
* <li>
* <li>
* Because of the technique of simplifying the equations for
* Because of the technique of simplifying the equations for
* calculation efficiency, some implementations might perform
* calculation efficiency, some implementations might perform
...
...
src/share/classes/java/awt/BasicStroke.java
浏览文件 @
fbff9c3e
...
@@ -39,7 +39,7 @@ import java.lang.annotation.Native;
...
@@ -39,7 +39,7 @@ import java.lang.annotation.Native;
* {@link Shape} and the decorations applied at the ends and joins of
* {@link Shape} and the decorations applied at the ends and joins of
* path segments of the <code>Shape</code>.
* path segments of the <code>Shape</code>.
* These rendering attributes include:
* These rendering attributes include:
* <dl
compact
>
* <dl>
* <dt><i>width</i>
* <dt><i>width</i>
* <dd>The pen width, measured perpendicularly to the pen trajectory.
* <dd>The pen width, measured perpendicularly to the pen trajectory.
* <dt><i>end caps</i>
* <dt><i>end caps</i>
...
...
src/share/classes/java/awt/BorderLayout.java
浏览文件 @
fbff9c3e
...
@@ -99,7 +99,7 @@ import java.util.Hashtable;
...
@@ -99,7 +99,7 @@ import java.util.Hashtable;
* style="float:center; margin: 7px 10px;">
* style="float:center; margin: 7px 10px;">
* <p>
* <p>
* The code for this applet is as follows:
* The code for this applet is as follows:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* import java.awt.*;
* import java.awt.*;
* import java.applet.Applet;
* import java.applet.Applet;
...
...
src/share/classes/java/awt/Button.java
浏览文件 @
fbff9c3e
...
@@ -388,7 +388,7 @@ public class Button extends Component implements Accessible {
...
@@ -388,7 +388,7 @@ public class Button extends Component implements Accessible {
* This method is not called unless action events are
* This method is not called unless action events are
* enabled for this button. Action events are enabled
* enabled for this button. Action events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>ActionListener</code> object is registered
* <li>An <code>ActionListener</code> object is registered
* via <code>addActionListener</code>.
* via <code>addActionListener</code>.
* <li>Action events are enabled via <code>enableEvents</code>.
* <li>Action events are enabled via <code>enableEvents</code>.
...
...
src/share/classes/java/awt/Checkbox.java
浏览文件 @
fbff9c3e
...
@@ -41,7 +41,7 @@ import javax.accessibility.*;
...
@@ -41,7 +41,7 @@ import javax.accessibility.*;
* <p>
* <p>
* The following code example creates a set of check boxes in
* The following code example creates a set of check boxes in
* a grid layout:
* a grid layout:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* setLayout(new GridLayout(3, 1));
* setLayout(new GridLayout(3, 1));
* add(new Checkbox("one", null, true));
* add(new Checkbox("one", null, true));
...
@@ -558,7 +558,7 @@ public class Checkbox extends Component implements ItemSelectable, Accessible {
...
@@ -558,7 +558,7 @@ public class Checkbox extends Component implements ItemSelectable, Accessible {
* This method is not called unless item events are
* This method is not called unless item events are
* enabled for this component. Item events are enabled
* enabled for this component. Item events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>ItemListener</code> object is registered
* <li>An <code>ItemListener</code> object is registered
* via <code>addItemListener</code>.
* via <code>addItemListener</code>.
* <li>Item events are enabled via <code>enableEvents</code>.
* <li>Item events are enabled via <code>enableEvents</code>.
...
...
src/share/classes/java/awt/CheckboxGroup.java
浏览文件 @
fbff9c3e
...
@@ -35,7 +35,7 @@ package java.awt;
...
@@ -35,7 +35,7 @@ package java.awt;
* <p>
* <p>
* The following code example produces a new check box group,
* The following code example produces a new check box group,
* with three check boxes:
* with three check boxes:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* setLayout(new GridLayout(3, 1));
* setLayout(new GridLayout(3, 1));
* CheckboxGroup cbg = new CheckboxGroup();
* CheckboxGroup cbg = new CheckboxGroup();
...
...
src/share/classes/java/awt/CheckboxMenuItem.java
浏览文件 @
fbff9c3e
...
@@ -367,7 +367,7 @@ public class CheckboxMenuItem extends MenuItem implements ItemSelectable, Access
...
@@ -367,7 +367,7 @@ public class CheckboxMenuItem extends MenuItem implements ItemSelectable, Access
* This method is not called unless item events are
* This method is not called unless item events are
* enabled for this menu item. Item events are enabled
* enabled for this menu item. Item events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>ItemListener</code> object is registered
* <li>An <code>ItemListener</code> object is registered
* via <code>addItemListener</code>.
* via <code>addItemListener</code>.
* <li>Item events are enabled via <code>enableEvents</code>.
* <li>Item events are enabled via <code>enableEvents</code>.
...
...
src/share/classes/java/awt/Choice.java
浏览文件 @
fbff9c3e
...
@@ -40,7 +40,7 @@ import javax.accessibility.*;
...
@@ -40,7 +40,7 @@ import javax.accessibility.*;
* The current choice is displayed as the title of the menu.
* The current choice is displayed as the title of the menu.
* <p>
* <p>
* The following code example produces a pop-up menu:
* The following code example produces a pop-up menu:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* Choice ColorChooser = new Choice();
* Choice ColorChooser = new Choice();
* ColorChooser.add("Green");
* ColorChooser.add("Green");
...
@@ -609,7 +609,7 @@ public class Choice extends Component implements ItemSelectable, Accessible {
...
@@ -609,7 +609,7 @@ public class Choice extends Component implements ItemSelectable, Accessible {
* This method is not called unless item events are
* This method is not called unless item events are
* enabled for this component. Item events are enabled
* enabled for this component. Item events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>ItemListener</code> object is registered
* <li>An <code>ItemListener</code> object is registered
* via <code>addItemListener</code>.
* via <code>addItemListener</code>.
* <li>Item events are enabled via <code>enableEvents</code>.
* <li>Item events are enabled via <code>enableEvents</code>.
...
...
src/share/classes/java/awt/Component.java
浏览文件 @
fbff9c3e
...
@@ -106,7 +106,7 @@ import sun.util.logging.PlatformLogger;
...
@@ -106,7 +106,7 @@ import sun.util.logging.PlatformLogger;
* adding/removing components to/from containers, the whole hierarchy must be
* adding/removing components to/from containers, the whole hierarchy must be
* validated afterwards by means of the {@link Container#validate()} method
* validated afterwards by means of the {@link Container#validate()} method
* invoked on the top-most invalid container of the hierarchy.
* invoked on the top-most invalid container of the hierarchy.
*
<p>
*
* <h3>Serialization</h3>
* <h3>Serialization</h3>
* It is important to note that only AWT listeners which conform
* It is important to note that only AWT listeners which conform
* to the <code>Serializable</code> protocol will be saved when
* to the <code>Serializable</code> protocol will be saved when
...
@@ -3859,7 +3859,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -3859,7 +3859,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This is a proxy capabilities class used when a FlipBufferStrategy
* This is a proxy capabilities class used when a FlipBufferStrategy
* is created instead of the requested Blit strategy.
* is created instead of the requested Blit strategy.
*
*
* @see sun.
awt
.SunGraphicsEnvironment#isFlipStrategyPreferred(ComponentPeer)
* @see sun.
java2d
.SunGraphicsEnvironment#isFlipStrategyPreferred(ComponentPeer)
*/
*/
private
class
ProxyCapabilities
extends
ExtendedBufferCapabilities
{
private
class
ProxyCapabilities
extends
ExtendedBufferCapabilities
{
private
BufferCapabilities
orig
;
private
BufferCapabilities
orig
;
...
@@ -4515,7 +4515,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -4515,7 +4515,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* Private class to perform sub-region blitting. Swing will use
* Private class to perform sub-region blitting. Swing will use
* this subclass via the SubRegionShowable interface in order to
* this subclass via the SubRegionShowable interface in order to
* copy only the area changed during a repaint.
* copy only the area changed during a repaint.
*
@see javax.swing.BufferStrategyPaintManager
*
See javax.swing.BufferStrategyPaintManager.
*/
*/
private
class
BltSubRegionBufferStrategy
extends
BltBufferStrategy
private
class
BltSubRegionBufferStrategy
extends
BltBufferStrategy
implements
SubRegionShowable
implements
SubRegionShowable
...
@@ -6328,7 +6328,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6328,7 +6328,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless component events are
* This method is not called unless component events are
* enabled for this component. Component events are enabled
* enabled for this component. Component events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>A <code>ComponentListener</code> object is registered
* <li>A <code>ComponentListener</code> object is registered
* via <code>addComponentListener</code>.
* via <code>addComponentListener</code>.
* <li>Component events are enabled via <code>enableEvents</code>.
* <li>Component events are enabled via <code>enableEvents</code>.
...
@@ -6373,7 +6373,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6373,7 +6373,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless focus events are
* This method is not called unless focus events are
* enabled for this component. Focus events are enabled
* enabled for this component. Focus events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>A <code>FocusListener</code> object is registered
* <li>A <code>FocusListener</code> object is registered
* via <code>addFocusListener</code>.
* via <code>addFocusListener</code>.
* <li>Focus events are enabled via <code>enableEvents</code>.
* <li>Focus events are enabled via <code>enableEvents</code>.
...
@@ -6393,7 +6393,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6393,7 +6393,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* with a <code>FocusEvent</code> as the argument will result in a
* with a <code>FocusEvent</code> as the argument will result in a
* call to the <code>Component</code>'s <code>processFocusEvent</code>
* call to the <code>Component</code>'s <code>processFocusEvent</code>
* method regardless of the current <code>KeyboardFocusManager</code>.
* method regardless of the current <code>KeyboardFocusManager</code>.
*
<p>
*
* <p>Note that if the event parameter is <code>null</code>
* <p>Note that if the event parameter is <code>null</code>
* the behavior is unspecified and may result in an
* the behavior is unspecified and may result in an
* exception.
* exception.
...
@@ -6430,7 +6430,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6430,7 +6430,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless key events are
* This method is not called unless key events are
* enabled for this component. Key events are enabled
* enabled for this component. Key events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>A <code>KeyListener</code> object is registered
* <li>A <code>KeyListener</code> object is registered
* via <code>addKeyListener</code>.
* via <code>addKeyListener</code>.
* <li>Key events are enabled via <code>enableEvents</code>.
* <li>Key events are enabled via <code>enableEvents</code>.
...
@@ -6499,7 +6499,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6499,7 +6499,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless mouse events are
* This method is not called unless mouse events are
* enabled for this component. Mouse events are enabled
* enabled for this component. Mouse events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>A <code>MouseListener</code> object is registered
* <li>A <code>MouseListener</code> object is registered
* via <code>addMouseListener</code>.
* via <code>addMouseListener</code>.
* <li>Mouse events are enabled via <code>enableEvents</code>.
* <li>Mouse events are enabled via <code>enableEvents</code>.
...
@@ -6547,7 +6547,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6547,7 +6547,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless mouse motion events are
* This method is not called unless mouse motion events are
* enabled for this component. Mouse motion events are enabled
* enabled for this component. Mouse motion events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>A <code>MouseMotionListener</code> object is registered
* <li>A <code>MouseMotionListener</code> object is registered
* via <code>addMouseMotionListener</code>.
* via <code>addMouseMotionListener</code>.
* <li>Mouse motion events are enabled via <code>enableEvents</code>.
* <li>Mouse motion events are enabled via <code>enableEvents</code>.
...
@@ -6586,7 +6586,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6586,7 +6586,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless mouse wheel events are
* This method is not called unless mouse wheel events are
* enabled for this component. Mouse wheel events are enabled
* enabled for this component. Mouse wheel events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>A <code>MouseWheelListener</code> object is registered
* <li>A <code>MouseWheelListener</code> object is registered
* via <code>addMouseWheelListener</code>.
* via <code>addMouseWheelListener</code>.
* <li>Mouse wheel events are enabled via <code>enableEvents</code>.
* <li>Mouse wheel events are enabled via <code>enableEvents</code>.
...
@@ -6630,7 +6630,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6630,7 +6630,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless input method events
* This method is not called unless input method events
* are enabled for this component. Input method events are enabled
* are enabled for this component. Input method events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>InputMethodListener</code> object is registered
* <li>An <code>InputMethodListener</code> object is registered
* via <code>addInputMethodListener</code>.
* via <code>addInputMethodListener</code>.
* <li>Input method events are enabled via <code>enableEvents</code>.
* <li>Input method events are enabled via <code>enableEvents</code>.
...
@@ -6669,7 +6669,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6669,7 +6669,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless hierarchy events
* This method is not called unless hierarchy events
* are enabled for this component. Hierarchy events are enabled
* are enabled for this component. Hierarchy events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>HierarchyListener</code> object is registered
* <li>An <code>HierarchyListener</code> object is registered
* via <code>addHierarchyListener</code>.
* via <code>addHierarchyListener</code>.
* <li>Hierarchy events are enabled via <code>enableEvents</code>.
* <li>Hierarchy events are enabled via <code>enableEvents</code>.
...
@@ -6705,7 +6705,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
...
@@ -6705,7 +6705,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
* This method is not called unless hierarchy bounds events
* This method is not called unless hierarchy bounds events
* are enabled for this component. Hierarchy bounds events are enabled
* are enabled for this component. Hierarchy bounds events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>HierarchyBoundsListener</code> object is registered
* <li>An <code>HierarchyBoundsListener</code> object is registered
* via <code>addHierarchyBoundsListener</code>.
* via <code>addHierarchyBoundsListener</code>.
* <li>Hierarchy bounds events are enabled via <code>enableEvents</code>.
* <li>Hierarchy bounds events are enabled via <code>enableEvents</code>.
...
...
src/share/classes/java/awt/Container.java
浏览文件 @
fbff9c3e
...
@@ -186,7 +186,7 @@ public class Container extends Component {
...
@@ -186,7 +186,7 @@ public class Container extends Component {
* the method can return the Container on which it is originally called
* the method can return the Container on which it is originally called
* in case if none of its children are the current mouse event targets.
* in case if none of its children are the current mouse event targets.
*
*
* @see #getMouseEventTarget(int, int, boolean
, boolean, boolean
)
* @see #getMouseEventTarget(int, int, boolean)
*/
*/
static
final
boolean
INCLUDE_SELF
=
true
;
static
final
boolean
INCLUDE_SELF
=
true
;
...
@@ -195,7 +195,7 @@ public class Container extends Component {
...
@@ -195,7 +195,7 @@ public class Container extends Component {
* of <code>getMouseEventTarget</code>. It is used to specify whether
* of <code>getMouseEventTarget</code>. It is used to specify whether
* the method should search only lightweight components.
* the method should search only lightweight components.
*
*
* @see #getMouseEventTarget(int, int, boolean
, boolean, boolean
)
* @see #getMouseEventTarget(int, int, boolean)
*/
*/
static
final
boolean
SEARCH_HEAVYWEIGHTS
=
true
;
static
final
boolean
SEARCH_HEAVYWEIGHTS
=
true
;
...
@@ -1037,7 +1037,7 @@ public class Container extends Component {
...
@@ -1037,7 +1037,7 @@ public class Container extends Component {
* every add request to a container as all other add methods defer
* every add request to a container as all other add methods defer
* to this one. An overriding method should
* to this one. An overriding method should
* usually include a call to the superclass's version of the method:
* usually include a call to the superclass's version of the method:
*
<p>
*
* <blockquote>
* <blockquote>
* <code>super.addImpl(comp, constraints, index)</code>
* <code>super.addImpl(comp, constraints, index)</code>
* </blockquote>
* </blockquote>
...
...
src/share/classes/java/awt/EventFilter.java
浏览文件 @
fbff9c3e
...
@@ -28,20 +28,20 @@ interface EventFilter {
...
@@ -28,20 +28,20 @@ interface EventFilter {
/**
/**
* Enumeration for possible values for <code>acceptEvent(AWTEvent ev)</code> method.
* Enumeration for possible values for <code>acceptEvent(AWTEvent ev)</code> method.
* @see EventDispatchThread#pumpEventsForFilter
s(EventFilter)
* @see EventDispatchThread#pumpEventsForFilter
*/
*/
static
enum
FilterAction
{
static
enum
FilterAction
{
/**
/**
* ACCEPT means that this filter do not filter the event and allowes other
* ACCEPT means that this filter do not filter the event and allowes other
* active filters to proceed it. If all the active filters accept the event, it
* active filters to proceed it. If all the active filters accept the event, it
* is dispatched by the <code>EventDispatchThread</code>
* is dispatched by the <code>EventDispatchThread</code>
* @see EventDispatchThread#pumpEventsForFilter
s(EventFilter)
* @see EventDispatchThread#pumpEventsForFilter
*/
*/
ACCEPT
,
ACCEPT
,
/**
/**
* REJECT means that this filter filter the event. No other filters are queried,
* REJECT means that this filter filter the event. No other filters are queried,
* and the event is not dispatched by the <code>EventDispatchedThread</code>
* and the event is not dispatched by the <code>EventDispatchedThread</code>
* @see EventDispatchThread#pumpEventsForFilter
s(EventFilter)
* @see EventDispatchThread#pumpEventsForFilter
*/
*/
REJECT
,
REJECT
,
/**
/**
...
@@ -51,7 +51,7 @@ interface EventFilter {
...
@@ -51,7 +51,7 @@ interface EventFilter {
* It is not recommended to use ACCEPT_IMMEDIATELY as there may be some active
* It is not recommended to use ACCEPT_IMMEDIATELY as there may be some active
* filters not queried yet that do not accept this event. It is primarily used
* filters not queried yet that do not accept this event. It is primarily used
* by modal filters.
* by modal filters.
* @see EventDispatchThread#pumpEventsForFilter
s(EventFilter)
* @see EventDispatchThread#pumpEventsForFilter
* @see ModalEventFilter
* @see ModalEventFilter
*/
*/
ACCEPT_IMMEDIATELY
ACCEPT_IMMEDIATELY
...
...
src/share/classes/java/awt/EventQueue.java
浏览文件 @
fbff9c3e
...
@@ -652,7 +652,7 @@ public class EventQueue {
...
@@ -652,7 +652,7 @@ public class EventQueue {
* Dispatches an event. The manner in which the event is
* Dispatches an event. The manner in which the event is
* dispatched depends upon the type of the event and the
* dispatched depends upon the type of the event and the
* type of the event's source object:
* type of the event's source object:
*
<p>
*
* <table border=1 summary="Event types, source types, and dispatch methods">
* <table border=1 summary="Event types, source types, and dispatch methods">
* <tr>
* <tr>
* <th>Event Type</th>
* <th>Event Type</th>
...
...
src/share/classes/java/awt/FileDialog.java
浏览文件 @
fbff9c3e
...
@@ -439,7 +439,6 @@ public class FileDialog extends Dialog {
...
@@ -439,7 +439,6 @@ public class FileDialog extends Dialog {
* Note that the method is private and it's intended to be used
* Note that the method is private and it's intended to be used
* by the peers through the AWTAccessor API.
* by the peers through the AWTAccessor API.
*
*
* @param directory the current directory
* @param files the array that contains the short names of
* @param files the array that contains the short names of
* all the files that the user selects.
* all the files that the user selects.
*
*
...
...
src/share/classes/java/awt/FlowLayout.java
浏览文件 @
fbff9c3e
...
@@ -57,7 +57,7 @@ import java.io.IOException;
...
@@ -57,7 +57,7 @@ import java.io.IOException;
* style="float:center; margin: 7px 10px;">
* style="float:center; margin: 7px 10px;">
* <p>
* <p>
* Here is the code for this applet:
* Here is the code for this applet:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* import java.awt.*;
* import java.awt.*;
* import java.applet.Applet;
* import java.applet.Applet;
...
@@ -129,9 +129,9 @@ public class FlowLayout implements LayoutManager, java.io.Serializable {
...
@@ -129,9 +129,9 @@ public class FlowLayout implements LayoutManager, java.io.Serializable {
* how each row distributes empty space.
* how each row distributes empty space.
* It can be one of the following values:
* It can be one of the following values:
* <ul>
* <ul>
* <code>LEFT</code>
* <
li><
code>LEFT</code>
* <code>RIGHT</code>
* <
li><
code>RIGHT</code>
* <code>CENTER</code>
* <
li><
code>CENTER</code>
* </ul>
* </ul>
*
*
* @serial
* @serial
...
@@ -146,11 +146,11 @@ public class FlowLayout implements LayoutManager, java.io.Serializable {
...
@@ -146,11 +146,11 @@ public class FlowLayout implements LayoutManager, java.io.Serializable {
* v1.2 and greater.
* v1.2 and greater.
* It can be one of the following three values:
* It can be one of the following three values:
* <ul>
* <ul>
* <code>LEFT</code>
* <
li><
code>LEFT</code>
* <code>RIGHT</code>
* <
li><
code>RIGHT</code>
* <code>CENTER</code>
* <
li><
code>CENTER</code>
* <code>LEADING</code>
* <
li><
code>LEADING</code>
* <code>TRAILING</code>
* <
li><
code>TRAILING</code>
* </ul>
* </ul>
*
*
* @serial
* @serial
...
...
src/share/classes/java/awt/Font.java
浏览文件 @
fbff9c3e
...
@@ -75,13 +75,13 @@ import static sun.font.EAttribute.*;
...
@@ -75,13 +75,13 @@ import static sun.font.EAttribute.*;
*
*
* A <em>character</em> is a symbol that represents an item such as a letter,
* A <em>character</em> is a symbol that represents an item such as a letter,
* a digit, or punctuation in an abstract way. For example, <code>'g'</code>,
* a digit, or punctuation in an abstract way. For example, <code>'g'</code>,
*
<font size=-1>LATIN SMALL LETTER G</font>
, is a character.
*
LATIN SMALL LETTER G
, is a character.
* <p>
* <p>
* A <em>glyph</em> is a shape used to render a character or a sequence of
* A <em>glyph</em> is a shape used to render a character or a sequence of
* characters. In simple writing systems, such as Latin, typically one glyph
* characters. In simple writing systems, such as Latin, typically one glyph
* represents one character. In general, however, characters and glyphs do not
* represents one character. In general, however, characters and glyphs do not
* have one-to-one correspondence. For example, the character 'á'
* have one-to-one correspondence. For example, the character 'á'
*
<font size=-1>LATIN SMALL LETTER A WITH ACUTE</font>
, can be represented by
*
LATIN SMALL LETTER A WITH ACUTE
, can be represented by
* two glyphs: one for 'a' and one for '´'. On the other hand, the
* two glyphs: one for 'a' and one for '´'. On the other hand, the
* two-character string "fi" can be represented by a single glyph, an
* two-character string "fi" can be represented by a single glyph, an
* "fi" ligature. In complex writing systems, such as Arabic or the South
* "fi" ligature. In complex writing systems, such as Arabic or the South
...
@@ -93,7 +93,7 @@ import static sun.font.EAttribute.*;
...
@@ -93,7 +93,7 @@ import static sun.font.EAttribute.*;
* of characters as well as the tables needed to map sequences of characters to
* of characters as well as the tables needed to map sequences of characters to
* corresponding sequences of glyphs.
* corresponding sequences of glyphs.
*
*
* <h
4>Physical and Logical Fonts</h4
>
* <h
3>Physical and Logical Fonts</h3
>
*
*
* The Java Platform distinguishes between two kinds of fonts:
* The Java Platform distinguishes between two kinds of fonts:
* <em>physical</em> fonts and <em>logical</em> fonts.
* <em>physical</em> fonts and <em>logical</em> fonts.
...
@@ -130,7 +130,7 @@ import static sun.font.EAttribute.*;
...
@@ -130,7 +130,7 @@ import static sun.font.EAttribute.*;
* <a href="http://www.oracle.com/technetwork/java/javase/tech/faq-jsp-138165.html">Internationalization FAQ</a>
* <a href="http://www.oracle.com/technetwork/java/javase/tech/faq-jsp-138165.html">Internationalization FAQ</a>
* document.
* document.
*
*
* <h
4>Font Faces and Names</h4
>
* <h
3>Font Faces and Names</h3
>
*
*
* A <code>Font</code>
* A <code>Font</code>
* can have many faces, such as heavy, medium, oblique, gothic and
* can have many faces, such as heavy, medium, oblique, gothic and
...
@@ -160,7 +160,7 @@ import static sun.font.EAttribute.*;
...
@@ -160,7 +160,7 @@ import static sun.font.EAttribute.*;
* with varying sizes, styles, transforms and font features via the
* with varying sizes, styles, transforms and font features via the
* <code>deriveFont</code> methods in this class.
* <code>deriveFont</code> methods in this class.
*
*
* <h
4>Font and TextAttribute</h4
>
* <h
3>Font and TextAttribute</h3
>
*
*
* <p><code>Font</code> supports most
* <p><code>Font</code> supports most
* <code>TextAttribute</code>s. This makes some operations, such as
* <code>TextAttribute</code>s. This makes some operations, such as
...
@@ -197,7 +197,7 @@ import static sun.font.EAttribute.*;
...
@@ -197,7 +197,7 @@ import static sun.font.EAttribute.*;
* avoid this problem. Clients who use input method highlights can
* avoid this problem. Clients who use input method highlights can
* convert these to the platform-specific attributes for that
* convert these to the platform-specific attributes for that
* highlight on the current platform and set them on the Font as
* highlight on the current platform and set them on the Font as
* a workaround.
</p>
* a workaround.
*
*
* <p>The <code>Map</code>-based constructor and
* <p>The <code>Map</code>-based constructor and
* <code>deriveFont</code> APIs ignore the FONT attribute, and it is
* <code>deriveFont</code> APIs ignore the FONT attribute, and it is
...
@@ -1419,7 +1419,7 @@ public class Font implements java.io.Serializable
...
@@ -1419,7 +1419,7 @@ public class Font implements java.io.Serializable
* To ensure that this method returns the desired Font,
* To ensure that this method returns the desired Font,
* format the <code>str</code> parameter in
* format the <code>str</code> parameter in
* one of these ways
* one of these ways
*
<p>
*
* <ul>
* <ul>
* <li><em>fontname-style-pointsize</em>
* <li><em>fontname-style-pointsize</em>
* <li><em>fontname-pointsize</em>
* <li><em>fontname-pointsize</em>
...
...
src/share/classes/java/awt/Graphics.java
浏览文件 @
fbff9c3e
...
@@ -39,7 +39,7 @@ import java.text.AttributedCharacterIterator;
...
@@ -39,7 +39,7 @@ import java.text.AttributedCharacterIterator;
* A <code>Graphics</code> object encapsulates state information needed
* A <code>Graphics</code> object encapsulates state information needed
* for the basic rendering operations that Java supports. This
* for the basic rendering operations that Java supports. This
* state information includes the following properties:
* state information includes the following properties:
*
<p>
*
* <ul>
* <ul>
* <li>The <code>Component</code> object on which to draw.
* <li>The <code>Component</code> object on which to draw.
* <li>A translation origin for rendering and clipping coordinates.
* <li>A translation origin for rendering and clipping coordinates.
...
@@ -63,7 +63,7 @@ import java.text.AttributedCharacterIterator;
...
@@ -63,7 +63,7 @@ import java.text.AttributedCharacterIterator;
* <p>
* <p>
* The graphics pen hangs down and to the right from the path it traverses.
* The graphics pen hangs down and to the right from the path it traverses.
* This has the following implications:
* This has the following implications:
* <
p><
ul>
* <ul>
* <li>If you draw a figure that covers a given rectangle, that
* <li>If you draw a figure that covers a given rectangle, that
* figure occupies one extra row of pixels on the right and bottom edges
* figure occupies one extra row of pixels on the right and bottom edges
* as compared to filling a figure that is bounded by that same rectangle.
* as compared to filling a figure that is bounded by that same rectangle.
...
@@ -136,7 +136,7 @@ public abstract class Graphics {
...
@@ -136,7 +136,7 @@ public abstract class Graphics {
* interpreted in the coordinate system of the original
* interpreted in the coordinate system of the original
* <code>Graphics</code> object. The new graphics context is
* <code>Graphics</code> object. The new graphics context is
* identical to the original, except in two respects:
* identical to the original, except in two respects:
*
<p>
*
* <ul>
* <ul>
* <li>
* <li>
* The new graphics context is translated by (<i>x</i>, <i>y</i>).
* The new graphics context is translated by (<i>x</i>, <i>y</i>).
...
...
src/share/classes/java/awt/GridBagConstraints.java
浏览文件 @
fbff9c3e
...
@@ -457,7 +457,7 @@ public class GridBagConstraints implements Cloneable, java.io.Serializable {
...
@@ -457,7 +457,7 @@ public class GridBagConstraints implements Cloneable, java.io.Serializable {
* resize the component, and if so, how.
* resize the component, and if so, how.
* <p>
* <p>
* The following values are valid for <code>fill</code>:
* The following values are valid for <code>fill</code>:
*
<p>
*
* <ul>
* <ul>
* <li>
* <li>
* <code>NONE</code>: Do not resize the component.
* <code>NONE</code>: Do not resize the component.
...
...
src/share/classes/java/awt/GridBagLayout.java
浏览文件 @
fbff9c3e
...
@@ -55,7 +55,7 @@ import java.util.Arrays;
...
@@ -55,7 +55,7 @@ import java.util.Arrays;
* of the <code>GridBagConstraints</code> objects that are associated
* of the <code>GridBagConstraints</code> objects that are associated
* with its components. You customize a <code>GridBagConstraints</code>
* with its components. You customize a <code>GridBagConstraints</code>
* object by setting one or more of its instance variables:
* object by setting one or more of its instance variables:
*
<p>
*
* <dl>
* <dl>
* <dt>{@link GridBagConstraints#gridx},
* <dt>{@link GridBagConstraints#gridx},
* {@link GridBagConstraints#gridy}
* {@link GridBagConstraints#gridy}
...
@@ -121,7 +121,7 @@ import java.util.Arrays;
...
@@ -121,7 +121,7 @@ import java.util.Arrays;
* <code>ComponentOrientation</code> property while absolute values
* <code>ComponentOrientation</code> property while absolute values
* are not. Baseline relative values are calculated relative to the
* are not. Baseline relative values are calculated relative to the
* baseline. Valid values are:
* baseline. Valid values are:
*
<p>
*
* <center><table BORDER=0 WIDTH=800
* <center><table BORDER=0 WIDTH=800
* SUMMARY="absolute, relative and baseline values as described above">
* SUMMARY="absolute, relative and baseline values as described above">
* <tr>
* <tr>
...
@@ -251,7 +251,7 @@ import java.util.Arrays;
...
@@ -251,7 +251,7 @@ import java.util.Arrays;
* managed by a grid bag layout. Figure 2 shows the layout for a horizontal,
* managed by a grid bag layout. Figure 2 shows the layout for a horizontal,
* left-to-right container and Figure 3 shows the layout for a horizontal,
* left-to-right container and Figure 3 shows the layout for a horizontal,
* right-to-left container.
* right-to-left container.
*
<p>
*
* <center><table WIDTH=600 summary="layout">
* <center><table WIDTH=600 summary="layout">
* <tr ALIGN=CENTER>
* <tr ALIGN=CENTER>
* <td>
* <td>
...
@@ -270,7 +270,7 @@ import java.util.Arrays;
...
@@ -270,7 +270,7 @@ import java.util.Arrays;
* of its associated <code>GridBagConstraints</code> object
* of its associated <code>GridBagConstraints</code> object
* set to <code>GridBagConstraints.BOTH</code>.
* set to <code>GridBagConstraints.BOTH</code>.
* In addition, the components have the following non-default constraints:
* In addition, the components have the following non-default constraints:
*
<p>
*
* <ul>
* <ul>
* <li>Button1, Button2, Button3: <code>weightx = 1.0</code>
* <li>Button1, Button2, Button3: <code>weightx = 1.0</code>
* <li>Button4: <code>weightx = 1.0</code>,
* <li>Button4: <code>weightx = 1.0</code>,
...
@@ -285,7 +285,7 @@ import java.util.Arrays;
...
@@ -285,7 +285,7 @@ import java.util.Arrays;
* </ul>
* </ul>
* <p>
* <p>
* Here is the code that implements the example shown above:
* Here is the code that implements the example shown above:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* import java.awt.*;
* import java.awt.*;
* import java.util.*;
* import java.util.*;
...
...
src/share/classes/java/awt/GridLayout.java
浏览文件 @
fbff9c3e
...
@@ -32,7 +32,7 @@ package java.awt;
...
@@ -32,7 +32,7 @@ package java.awt;
* and one component is placed in each rectangle.
* and one component is placed in each rectangle.
* For example, the following is an applet that lays out six buttons
* For example, the following is an applet that lays out six buttons
* into three rows and two columns:
* into three rows and two columns:
*
<p>
*
* <hr><blockquote>
* <hr><blockquote>
* <pre>
* <pre>
* import java.awt.*;
* import java.awt.*;
...
@@ -54,7 +54,7 @@ package java.awt;
...
@@ -54,7 +54,7 @@ package java.awt;
* and left-to-right, the above example produces the output shown in Figure 1.
* and left-to-right, the above example produces the output shown in Figure 1.
* If the container's <code>ComponentOrientation</code> property is horizontal
* If the container's <code>ComponentOrientation</code> property is horizontal
* and right-to-left, the example produces the output shown in Figure 2.
* and right-to-left, the example produces the output shown in Figure 2.
*
<p>
*
* <table style="float:center" WIDTH=600 summary="layout">
* <table style="float:center" WIDTH=600 summary="layout">
* <tr ALIGN=CENTER>
* <tr ALIGN=CENTER>
* <td><img SRC="doc-files/GridLayout-1.gif"
* <td><img SRC="doc-files/GridLayout-1.gif"
...
...
src/share/classes/java/awt/Label.java
浏览文件 @
fbff9c3e
...
@@ -36,7 +36,7 @@ import javax.accessibility.*;
...
@@ -36,7 +36,7 @@ import javax.accessibility.*;
* directly.
* directly.
* <p>
* <p>
* For example, the code . . .
* For example, the code . . .
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* setLayout(new FlowLayout(FlowLayout.CENTER, 10, 10));
* setLayout(new FlowLayout(FlowLayout.CENTER, 10, 10));
* add(new Label("Hi There!"));
* add(new Label("Hi There!"));
...
...
src/share/classes/java/awt/LinearGradientPaint.java
浏览文件 @
fbff9c3e
...
@@ -75,7 +75,6 @@ import java.beans.ConstructorProperties;
...
@@ -75,7 +75,6 @@ import java.beans.ConstructorProperties;
* <p>
* <p>
* The following code demonstrates typical usage of
* The following code demonstrates typical usage of
* {@code LinearGradientPaint}:
* {@code LinearGradientPaint}:
* <p>
* <pre>
* <pre>
* Point2D start = new Point2D.Float(0, 0);
* Point2D start = new Point2D.Float(0, 0);
* Point2D end = new Point2D.Float(50, 50);
* Point2D end = new Point2D.Float(50, 50);
...
@@ -92,7 +91,6 @@ import java.beans.ConstructorProperties;
...
@@ -92,7 +91,6 @@ import java.beans.ConstructorProperties;
* <p>
* <p>
* This image demonstrates the example code above for each
* This image demonstrates the example code above for each
* of the three cycle methods:
* of the three cycle methods:
* <p>
* <center>
* <center>
* <img src = "doc-files/LinearGradientPaint.png"
* <img src = "doc-files/LinearGradientPaint.png"
* alt="image showing the output of the example code">
* alt="image showing the output of the example code">
...
...
src/share/classes/java/awt/LinearGradientPaintContext.java
浏览文件 @
fbff9c3e
...
@@ -66,8 +66,8 @@ final class LinearGradientPaintContext extends MultipleGradientPaintContext {
...
@@ -66,8 +66,8 @@ final class LinearGradientPaintContext extends MultipleGradientPaintContext {
* concatenated with this)
* concatenated with this)
* @param hints the hints that the context object uses to choose
* @param hints the hints that the context object uses to choose
* between rendering alternatives
* between rendering alternatives
* @param
dS
tart gradient start point, in user space
* @param
s
tart gradient start point, in user space
* @param
dE
nd gradient end point, in user space
* @param
e
nd gradient end point, in user space
* @param fractions the fractions specifying the gradient distribution
* @param fractions the fractions specifying the gradient distribution
* @param colors the gradient colors
* @param colors the gradient colors
* @param cycleMethod either NO_CYCLE, REFLECT, or REPEAT
* @param cycleMethod either NO_CYCLE, REFLECT, or REPEAT
...
...
src/share/classes/java/awt/List.java
浏览文件 @
fbff9c3e
...
@@ -41,7 +41,7 @@ import javax.accessibility.*;
...
@@ -41,7 +41,7 @@ import javax.accessibility.*;
* the user can choose either one item or multiple items.
* the user can choose either one item or multiple items.
* <p>
* <p>
* For example, the code . . .
* For example, the code . . .
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* List lst = new List(4, false);
* List lst = new List(4, false);
* lst.add("Mercury");
* lst.add("Mercury");
...
@@ -1082,7 +1082,7 @@ public class List extends Component implements ItemSelectable, Accessible {
...
@@ -1082,7 +1082,7 @@ public class List extends Component implements ItemSelectable, Accessible {
* This method is not called unless item events are
* This method is not called unless item events are
* enabled for this component. Item events are enabled
* enabled for this component. Item events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>ItemListener</code> object is registered
* <li>An <code>ItemListener</code> object is registered
* via <code>addItemListener</code>.
* via <code>addItemListener</code>.
* <li>Item events are enabled via <code>enableEvents</code>.
* <li>Item events are enabled via <code>enableEvents</code>.
...
@@ -1113,7 +1113,7 @@ public class List extends Component implements ItemSelectable, Accessible {
...
@@ -1113,7 +1113,7 @@ public class List extends Component implements ItemSelectable, Accessible {
* This method is not called unless action events are
* This method is not called unless action events are
* enabled for this component. Action events are enabled
* enabled for this component. Action events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>ActionListener</code> object is registered
* <li>An <code>ActionListener</code> object is registered
* via <code>addActionListener</code>.
* via <code>addActionListener</code>.
* <li>Action events are enabled via <code>enableEvents</code>.
* <li>Action events are enabled via <code>enableEvents</code>.
...
...
src/share/classes/java/awt/MenuItem.java
浏览文件 @
fbff9c3e
...
@@ -648,7 +648,7 @@ public class MenuItem extends MenuComponent implements Accessible {
...
@@ -648,7 +648,7 @@ public class MenuItem extends MenuComponent implements Accessible {
* This method is not called unless action events are
* This method is not called unless action events are
* enabled for this component. Action events are enabled
* enabled for this component. Action events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>ActionListener</code> object is registered
* <li>An <code>ActionListener</code> object is registered
* via <code>addActionListener</code>.
* via <code>addActionListener</code>.
* <li>Action events are enabled via <code>enableEvents</code>.
* <li>Action events are enabled via <code>enableEvents</code>.
...
...
src/share/classes/java/awt/RadialGradientPaint.java
浏览文件 @
fbff9c3e
...
@@ -104,7 +104,6 @@ import java.beans.ConstructorProperties;
...
@@ -104,7 +104,6 @@ import java.beans.ConstructorProperties;
* The following code demonstrates typical usage of
* The following code demonstrates typical usage of
* {@code RadialGradientPaint}, where the center and focus points are
* {@code RadialGradientPaint}, where the center and focus points are
* the same:
* the same:
* <p>
* <pre>
* <pre>
* Point2D center = new Point2D.Float(50, 50);
* Point2D center = new Point2D.Float(50, 50);
* float radius = 25;
* float radius = 25;
...
@@ -117,7 +116,6 @@ import java.beans.ConstructorProperties;
...
@@ -117,7 +116,6 @@ import java.beans.ConstructorProperties;
* <p>
* <p>
* This image demonstrates the example code above, with default
* This image demonstrates the example code above, with default
* (centered) focus for each of the three cycle methods:
* (centered) focus for each of the three cycle methods:
* <p>
* <center>
* <center>
* <img src = "doc-files/RadialGradientPaint-1.png" alt="image showing the
* <img src = "doc-files/RadialGradientPaint-1.png" alt="image showing the
* output of the sameple code">
* output of the sameple code">
...
@@ -126,7 +124,6 @@ import java.beans.ConstructorProperties;
...
@@ -126,7 +124,6 @@ import java.beans.ConstructorProperties;
* <p>
* <p>
* It is also possible to specify a non-centered focus point, as
* It is also possible to specify a non-centered focus point, as
* in the following code:
* in the following code:
* <p>
* <pre>
* <pre>
* Point2D center = new Point2D.Float(50, 50);
* Point2D center = new Point2D.Float(50, 50);
* float radius = 25;
* float radius = 25;
...
@@ -142,7 +139,6 @@ import java.beans.ConstructorProperties;
...
@@ -142,7 +139,6 @@ import java.beans.ConstructorProperties;
* <p>
* <p>
* This image demonstrates the previous example code, with non-centered
* This image demonstrates the previous example code, with non-centered
* focus for each of the three cycle methods:
* focus for each of the three cycle methods:
* <p>
* <center>
* <center>
* <img src = "doc-files/RadialGradientPaint-2.png" alt="image showing the
* <img src = "doc-files/RadialGradientPaint-2.png" alt="image showing the
* output of the sample code">
* output of the sample code">
...
...
src/share/classes/java/awt/Scrollbar.java
浏览文件 @
fbff9c3e
...
@@ -46,7 +46,7 @@ import javax.accessibility.*;
...
@@ -46,7 +46,7 @@ import javax.accessibility.*;
* <p>
* <p>
* Each scroll bar in this example could be created with
* Each scroll bar in this example could be created with
* code similar to the following:
* code similar to the following:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* redSlider=new Scrollbar(Scrollbar.VERTICAL, 0, 1, 0, 255);
* redSlider=new Scrollbar(Scrollbar.VERTICAL, 0, 1, 0, 255);
* add(redSlider);
* add(redSlider);
...
@@ -65,7 +65,7 @@ import javax.accessibility.*;
...
@@ -65,7 +65,7 @@ import javax.accessibility.*;
* The value range represented by the bubble in this example
* The value range represented by the bubble in this example
* is the <em>visible amount</em>. The horizontal scroll bar
* is the <em>visible amount</em>. The horizontal scroll bar
* in this example could be created with code like the following:
* in this example could be created with code like the following:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* ranger = new Scrollbar(Scrollbar.HORIZONTAL, 0, 60, 0, 300);
* ranger = new Scrollbar(Scrollbar.HORIZONTAL, 0, 60, 0, 300);
* add(ranger);
* add(ranger);
...
@@ -103,7 +103,7 @@ import javax.accessibility.*;
...
@@ -103,7 +103,7 @@ import javax.accessibility.*;
* <p>
* <p>
* The <code>AdjustmentEvent</code> class defines five types
* The <code>AdjustmentEvent</code> class defines five types
* of adjustment event, listed here:
* of adjustment event, listed here:
*
<p>
*
* <ul>
* <ul>
* <li><code>AdjustmentEvent.TRACK</code> is sent out when the
* <li><code>AdjustmentEvent.TRACK</code> is sent out when the
* user drags the scroll bar's bubble.
* user drags the scroll bar's bubble.
...
@@ -136,7 +136,7 @@ import javax.accessibility.*;
...
@@ -136,7 +136,7 @@ import javax.accessibility.*;
* that are associated with scroll bars in previous platform versions.
* that are associated with scroll bars in previous platform versions.
* The following list gives the adjustment event type,
* The following list gives the adjustment event type,
* and the corresponding JDK 1.0 event type it replaces.
* and the corresponding JDK 1.0 event type it replaces.
*
<p>
*
* <ul>
* <ul>
* <li><code>AdjustmentEvent.TRACK</code> replaces
* <li><code>AdjustmentEvent.TRACK</code> replaces
* <code>Event.SCROLL_ABSOLUTE</code>
* <code>Event.SCROLL_ABSOLUTE</code>
...
@@ -295,7 +295,7 @@ public class Scrollbar extends Component implements Adjustable, Accessible {
...
@@ -295,7 +295,7 @@ public class Scrollbar extends Component implements Adjustable, Accessible {
* Constructs a new vertical scroll bar.
* Constructs a new vertical scroll bar.
* The default properties of the scroll bar are listed in
* The default properties of the scroll bar are listed in
* the following table:
* the following table:
*
<p>
*
* <table border=1 summary="Scrollbar default properties">
* <table border=1 summary="Scrollbar default properties">
* <tr>
* <tr>
* <th>Property</th>
* <th>Property</th>
...
@@ -1104,11 +1104,11 @@ public class Scrollbar extends Component implements Adjustable, Accessible {
...
@@ -1104,11 +1104,11 @@ public class Scrollbar extends Component implements Adjustable, Accessible {
* This method is not called unless adjustment events are
* This method is not called unless adjustment events are
* enabled for this component. Adjustment events are enabled
* enabled for this component. Adjustment events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>AdjustmentListener</code> object is registered
* <li>An <code>AdjustmentListener</code> object is registered
* via <code>addAdjustmentListener</code>.
* via <code>addAdjustmentListener</code>.
* <li>Adjustment events are enabled via <code>enableEvents</code>.
* <li>Adjustment events are enabled via <code>enableEvents</code>.
* </ul>
<p>
* </ul>
* <p>Note that if the event parameter is <code>null</code>
* <p>Note that if the event parameter is <code>null</code>
* the behavior is unspecified and may result in an
* the behavior is unspecified and may result in an
* exception.
* exception.
...
...
src/share/classes/java/awt/SystemColor.java
浏览文件 @
fbff9c3e
...
@@ -463,7 +463,7 @@ public final class SystemColor extends Color implements java.io.Serializable {
...
@@ -463,7 +463,7 @@ public final class SystemColor extends Color implements java.io.Serializable {
}
}
/**
/**
* Called from
<init> &
toolkit to update the above systemColors cache.
* Called from
{@code <init>} and
toolkit to update the above systemColors cache.
*/
*/
private
static
void
updateSystemColors
()
{
private
static
void
updateSystemColors
()
{
if
(!
GraphicsEnvironment
.
isHeadless
())
{
if
(!
GraphicsEnvironment
.
isHeadless
())
{
...
...
src/share/classes/java/awt/SystemTray.java
浏览文件 @
fbff9c3e
...
@@ -361,7 +361,7 @@ public class SystemTray {
...
@@ -361,7 +361,7 @@ public class SystemTray {
/**
/**
* Adds a {@code PropertyChangeListener} to the list of listeners for the
* Adds a {@code PropertyChangeListener} to the list of listeners for the
* specific property. The following properties are currently supported:
* specific property. The following properties are currently supported:
*
<p>
*
* <table border=1 summary="SystemTray properties">
* <table border=1 summary="SystemTray properties">
* <tr>
* <tr>
* <th>Property</th>
* <th>Property</th>
...
...
src/share/classes/java/awt/TextArea.java
浏览文件 @
fbff9c3e
...
@@ -45,7 +45,7 @@ import javax.accessibility.*;
...
@@ -45,7 +45,7 @@ import javax.accessibility.*;
* style="float:center; margin: 7px 10px;">
* style="float:center; margin: 7px 10px;">
* <p>
* <p>
* This text area could be created by the following line of code:
* This text area could be created by the following line of code:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* new TextArea("Hello", 5, 40);
* new TextArea("Hello", 5, 40);
* </pre></blockquote><hr>
* </pre></blockquote><hr>
...
...
src/share/classes/java/awt/TextField.java
浏览文件 @
fbff9c3e
...
@@ -45,7 +45,7 @@ import javax.accessibility.*;
...
@@ -45,7 +45,7 @@ import javax.accessibility.*;
* style="float:center; margin: 7px 10px;">
* style="float:center; margin: 7px 10px;">
* <p>
* <p>
* Here is the code that produces these four text fields:
* Here is the code that produces these four text fields:
*
<p>
*
* <hr><blockquote><pre>
* <hr><blockquote><pre>
* TextField tf1, tf2, tf3, tf4;
* TextField tf1, tf2, tf3, tf4;
* // a blank text field
* // a blank text field
...
@@ -596,7 +596,7 @@ public class TextField extends TextComponent {
...
@@ -596,7 +596,7 @@ public class TextField extends TextComponent {
* This method is not called unless action events are
* This method is not called unless action events are
* enabled for this component. Action events are enabled
* enabled for this component. Action events are enabled
* when one of the following occurs:
* when one of the following occurs:
* <
p><
ul>
* <ul>
* <li>An <code>ActionListener</code> object is registered
* <li>An <code>ActionListener</code> object is registered
* via <code>addActionListener</code>.
* via <code>addActionListener</code>.
* <li>Action events are enabled via <code>enableEvents</code>.
* <li>Action events are enabled via <code>enableEvents</code>.
...
...
src/share/classes/java/awt/Toolkit.java
浏览文件 @
fbff9c3e
...
@@ -80,19 +80,19 @@ import sun.util.CoreResourceBundleControl;
...
@@ -80,19 +80,19 @@ import sun.util.CoreResourceBundleControl;
* <br>For example, calling <code>ScrollPane.setScrollPosition</code>
* <br>For example, calling <code>ScrollPane.setScrollPosition</code>
* and then <code>getScrollPosition</code> may return an incorrect
* and then <code>getScrollPosition</code> may return an incorrect
* value if the original request has not yet been processed.
* value if the original request has not yet been processed.
*
<p>
*
* <li>Moving the focus from one component to another.
* <li>Moving the focus from one component to another.
* <br>For more information, see
* <br>For more information, see
* <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html#transferTiming">Timing
* <a href="http://docs.oracle.com/javase/tutorial/uiswing/misc/focus.html#transferTiming">Timing
* Focus Transfers</a>, a section in
* Focus Transfers</a>, a section in
* <a href="http://java.sun.com/docs/books/tutorial/uiswing/">The Swing
* <a href="http://java.sun.com/docs/books/tutorial/uiswing/">The Swing
* Tutorial</a>.
* Tutorial</a>.
*
<p>
*
* <li>Making a top-level container visible.
* <li>Making a top-level container visible.
* <br>Calling <code>setVisible(true)</code> on a <code>Window</code>,
* <br>Calling <code>setVisible(true)</code> on a <code>Window</code>,
* <code>Frame</code> or <code>Dialog</code> may occur
* <code>Frame</code> or <code>Dialog</code> may occur
* asynchronously.
* asynchronously.
*
<p>
*
* <li>Setting the size or location of a top-level container.
* <li>Setting the size or location of a top-level container.
* <br>Calls to <code>setSize</code>, <code>setBounds</code> or
* <br>Calls to <code>setSize</code>, <code>setBounds</code> or
* <code>setLocation</code> on a <code>Window</code>,
* <code>setLocation</code> on a <code>Window</code>,
...
...
src/share/classes/java/awt/WaitDispatchSupport.java
浏览文件 @
fbff9c3e
...
@@ -91,7 +91,7 @@ class WaitDispatchSupport implements SecondaryLoop {
...
@@ -91,7 +91,7 @@ class WaitDispatchSupport implements SecondaryLoop {
*
*
* @param dispatchThread An event dispatch thread that
* @param dispatchThread An event dispatch thread that
* should not stop dispatching events while waiting
* should not stop dispatching events while waiting
* @param extCond
ition
A conditional object used to determine
* @param extCond A conditional object used to determine
* if the loop should be terminated
* if the loop should be terminated
*
*
* @since 1.7
* @since 1.7
...
@@ -161,7 +161,7 @@ class WaitDispatchSupport implements SecondaryLoop {
...
@@ -161,7 +161,7 @@ class WaitDispatchSupport implements SecondaryLoop {
}
}
/**
/**
*
@inheritDoc
*
{@inheritDoc}
*/
*/
@Override
@Override
public
boolean
enter
()
{
public
boolean
enter
()
{
...
@@ -281,7 +281,7 @@ class WaitDispatchSupport implements SecondaryLoop {
...
@@ -281,7 +281,7 @@ class WaitDispatchSupport implements SecondaryLoop {
}
}
/**
/**
*
@inheritDoc
*
{@inheritDoc}
*/
*/
public
boolean
exit
()
{
public
boolean
exit
()
{
if
(
log
.
isLoggable
(
PlatformLogger
.
Level
.
FINE
))
{
if
(
log
.
isLoggable
(
PlatformLogger
.
Level
.
FINE
))
{
...
...
src/share/classes/java/awt/Window.java
浏览文件 @
fbff9c3e
...
@@ -212,7 +212,7 @@ public class Window extends Container implements Accessible {
...
@@ -212,7 +212,7 @@ public class Window extends Container implements Accessible {
*
*
* @serial
* @serial
* @see #getIconImages
* @see #getIconImages
* @see #setIconImages
(List<? extends Image>)
* @see #setIconImages
*/
*/
transient
java
.
util
.
List
<
Image
>
icons
;
transient
java
.
util
.
List
<
Image
>
icons
;
...
...
src/share/classes/java/awt/color/CMMException.java
浏览文件 @
fbff9c3e
...
@@ -27,7 +27,8 @@
...
@@ -27,7 +27,8 @@
*
*
*/
*/
/**********************************************************************
/*
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
...
...
src/share/classes/java/awt/color/ColorSpace.java
浏览文件 @
fbff9c3e
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
* questions.
* questions.
*/
*/
/**********************************************************************
/*
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
...
@@ -91,7 +92,6 @@ import sun.java2d.cmm.CMSManager;
...
@@ -91,7 +92,6 @@ import sun.java2d.cmm.CMSManager;
</pre>
</pre>
*
*
* <p>
* @see ICC_ColorSpace
* @see ICC_ColorSpace
*/
*/
...
...
src/share/classes/java/awt/color/ICC_ColorSpace.java
浏览文件 @
fbff9c3e
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
* questions.
* questions.
*/
*/
/**********************************************************************
/*
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
...
@@ -77,7 +78,6 @@ import sun.java2d.cmm.PCMM;
...
@@ -77,7 +78,6 @@ import sun.java2d.cmm.PCMM;
* imported images with a known color space. At most, such applets
* imported images with a known color space. At most, such applets
* would need to get one of the default color spaces via
* would need to get one of the default color spaces via
* ColorSpace.getInstance().
* ColorSpace.getInstance().
* <p>
* @see ColorSpace
* @see ColorSpace
* @see ICC_Profile
* @see ICC_Profile
*/
*/
...
@@ -481,7 +481,6 @@ public class ICC_ColorSpace extends ColorSpace {
...
@@ -481,7 +481,6 @@ public class ICC_ColorSpace extends ColorSpace {
* be the same as the media white point tag XYZ value in the ICC
* be the same as the media white point tag XYZ value in the ICC
* profile for an sRGB device.
* profile for an sRGB device.
* <p>
* <p>
* <p>
* @param colorvalue a float array with length of at least 3.
* @param colorvalue a float array with length of at least 3.
* @return a float array with length equal to the number of
* @return a float array with length equal to the number of
* components in this ColorSpace.
* components in this ColorSpace.
...
...
src/share/classes/java/awt/color/ICC_Profile.java
浏览文件 @
fbff9c3e
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
* questions.
* questions.
*/
*/
/**********************************************************************
/*
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
...
@@ -86,7 +87,6 @@ import java.security.PrivilegedAction;
...
@@ -86,7 +87,6 @@ import java.security.PrivilegedAction;
* ICC Profile Format Specification. Most profiles of interest
* ICC Profile Format Specification. Most profiles of interest
* either have invertible transformations or explicitly specify
* either have invertible transformations or explicitly specify
* transformations going both directions.
* transformations going both directions.
* <p>
* @see ICC_ColorSpace
* @see ICC_ColorSpace
*/
*/
...
...
src/share/classes/java/awt/color/ICC_ProfileGray.java
浏览文件 @
fbff9c3e
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
* questions.
* questions.
*/
*/
/**********************************************************************
/*
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
...
@@ -63,7 +64,6 @@ import sun.java2d.cmm.ProfileDeferralInfo;
...
@@ -63,7 +64,6 @@ import sun.java2d.cmm.ProfileDeferralInfo;
</pre>
</pre>
* The inverse transform is done by converting the PCS Y components to
* The inverse transform is done by converting the PCS Y components to
* device Gray via the inverse of the grayTRC.
* device Gray via the inverse of the grayTRC.
* <p>
*/
*/
...
...
src/share/classes/java/awt/color/ICC_ProfileRGB.java
浏览文件 @
fbff9c3e
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
* questions.
* questions.
*/
*/
/**********************************************************************
/*
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
...
@@ -82,7 +83,6 @@ import sun.java2d.cmm.ProfileDeferralInfo;
...
@@ -82,7 +83,6 @@ import sun.java2d.cmm.ProfileDeferralInfo;
* The inverse transform is performed by converting PCS XYZ components to linear
* The inverse transform is performed by converting PCS XYZ components to linear
* RGB components through the inverse of the above 3x3 matrix, and then converting
* RGB components through the inverse of the above 3x3 matrix, and then converting
* linear RGB to device RGB through inverses of the TRCs.
* linear RGB to device RGB through inverses of the TRCs.
* <p>
*/
*/
...
@@ -111,7 +111,7 @@ extends ICC_Profile {
...
@@ -111,7 +111,7 @@ extends ICC_Profile {
/**
/**
* Constructs an new <code>ICC_ProfileRGB</code> from a CMM ID.
* Constructs an new <code>ICC_ProfileRGB</code> from a CMM ID.
*
*
* @param
ID
The CMM ID for the profile.
* @param
p
The CMM ID for the profile.
*
*
*/
*/
ICC_ProfileRGB
(
Profile
p
)
{
ICC_ProfileRGB
(
Profile
p
)
{
...
...
src/share/classes/java/awt/dnd/DnDEventMulticaster.java
浏览文件 @
fbff9c3e
...
@@ -71,7 +71,7 @@ class DnDEventMulticaster extends AWTEventMulticaster
...
@@ -71,7 +71,7 @@ class DnDEventMulticaster extends AWTEventMulticaster
* Handles the <code>DragSourceDragEvent</code> by invoking
* Handles the <code>DragSourceDragEvent</code> by invoking
* <code>dragOver</code> on listener-a and listener-b.
* <code>dragOver</code> on listener-a and listener-b.
*
*
* @param e the <code>DragSourceDragEvent</code>
* @param
dsd
e the <code>DragSourceDragEvent</code>
*/
*/
public
void
dragOver
(
DragSourceDragEvent
dsde
)
{
public
void
dragOver
(
DragSourceDragEvent
dsde
)
{
((
DragSourceListener
)
a
).
dragOver
(
dsde
);
((
DragSourceListener
)
a
).
dragOver
(
dsde
);
...
...
src/share/classes/java/awt/dnd/DragSourceDropEvent.java
浏览文件 @
fbff9c3e
...
@@ -37,7 +37,6 @@ package java.awt.dnd;
...
@@ -37,7 +37,6 @@ package java.awt.dnd;
* to provide appropriate feedback to the end user
* to provide appropriate feedback to the end user
* when the operation completes.
* when the operation completes.
* <P>
* <P>
* <P>
* @since 1.2
* @since 1.2
*/
*/
...
...
src/share/classes/java/awt/dnd/DropTarget.java
浏览文件 @
fbff9c3e
...
@@ -197,7 +197,7 @@ public class DropTarget implements DropTargetListener, Serializable {
...
@@ -197,7 +197,7 @@ public class DropTarget implements DropTargetListener, Serializable {
* <P>
* <P>
* The Component will receive drops only if it is enabled.
* The Component will receive drops only if it is enabled.
* @param c The new <code>Component</code> this <code>DropTarget</code>
* @param c The new <code>Component</code> this <code>DropTarget</code>
* is to be associated with.
<P>
* is to be associated with.
*/
*/
public
synchronized
void
setComponent
(
Component
c
)
{
public
synchronized
void
setComponent
(
Component
c
)
{
...
@@ -246,7 +246,6 @@ public class DropTarget implements DropTargetListener, Serializable {
...
@@ -246,7 +246,6 @@ public class DropTarget implements DropTargetListener, Serializable {
* Sets the default acceptable actions for this <code>DropTarget</code>
* Sets the default acceptable actions for this <code>DropTarget</code>
* <P>
* <P>
* @param ops the default actions
* @param ops the default actions
* <P>
* @see java.awt.dnd.DnDConstants
* @see java.awt.dnd.DnDConstants
*/
*/
...
...
src/share/classes/java/awt/event/MouseAdapter.java
浏览文件 @
fbff9c3e
...
@@ -49,7 +49,7 @@ package java.awt.event;
...
@@ -49,7 +49,7 @@ package java.awt.event;
* methods.
* methods.
* The relevant method in the listener object is invoked and the {@code MouseEvent}
* The relevant method in the listener object is invoked and the {@code MouseEvent}
* or {@code MouseWheelEvent} is passed to it in following cases:
* or {@code MouseWheelEvent} is passed to it in following cases:
* <
p><
ul>
* <ul>
* <li>when a mouse button is pressed, released, or clicked (pressed and released)
* <li>when a mouse button is pressed, released, or clicked (pressed and released)
* <li>when the mouse cursor enters or exits the component
* <li>when the mouse cursor enters or exits the component
* <li>when the mouse wheel rotated, or mouse moved or dragged
* <li>when the mouse wheel rotated, or mouse moved or dragged
...
...
src/share/classes/java/awt/font/FontRenderContext.java
浏览文件 @
fbff9c3e
...
@@ -57,7 +57,6 @@ import java.awt.geom.AffineTransform;
...
@@ -57,7 +57,6 @@ import java.awt.geom.AffineTransform;
* <code>FontRenderContext</code> which is directly constructed will
* <code>FontRenderContext</code> which is directly constructed will
* most likely not represent any actual graphics device, and may lead
* most likely not represent any actual graphics device, and may lead
* to unexpected or incorrect results.
* to unexpected or incorrect results.
* <p>
* @see java.awt.RenderingHints#KEY_TEXT_ANTIALIASING
* @see java.awt.RenderingHints#KEY_TEXT_ANTIALIASING
* @see java.awt.RenderingHints#KEY_FRACTIONALMETRICS
* @see java.awt.RenderingHints#KEY_FRACTIONALMETRICS
* @see java.awt.Graphics2D#getFontRenderContext()
* @see java.awt.Graphics2D#getFontRenderContext()
...
...
src/share/classes/java/awt/font/StyledParagraph.java
浏览文件 @
fbff9c3e
...
@@ -322,7 +322,7 @@ final class StyledParagraph {
...
@@ -322,7 +322,7 @@ final class StyledParagraph {
}
}
/**
/**
* Return i such that starts[i]
<= index <
starts[i+1]. starts
* Return i such that starts[i]
<= index <
starts[i+1]. starts
* must be in increasing order, with at least one element greater
* must be in increasing order, with at least one element greater
* than index.
* than index.
*/
*/
...
...
src/share/classes/java/awt/geom/AffineTransform.java
浏览文件 @
fbff9c3e
...
@@ -46,8 +46,7 @@ import java.beans.ConstructorProperties;
...
@@ -46,8 +46,7 @@ import java.beans.ConstructorProperties;
* [ y'] = [ m10 m11 m12 ] [ y ] = [ m10x + m11y + m12 ]
* [ y'] = [ m10 m11 m12 ] [ y ] = [ m10x + m11y + m12 ]
* [ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ]
* [ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ]
* </pre>
* </pre>
* <p>
* <h3><a name="quadrantapproximation">Handling 90-Degree Rotations</a></h3>
* <h4><a name="quadrantapproximation">Handling 90-Degree Rotations</a></h4>
* <p>
* <p>
* In some variations of the <code>rotate</code> methods in the
* In some variations of the <code>rotate</code> methods in the
* <code>AffineTransform</code> class, a double-precision argument
* <code>AffineTransform</code> class, a double-precision argument
...
...
src/share/classes/java/awt/geom/QuadCurve2D.java
浏览文件 @
fbff9c3e
...
@@ -1047,7 +1047,7 @@ public abstract class QuadCurve2D implements Shape, Cloneable {
...
@@ -1047,7 +1047,7 @@ public abstract class QuadCurve2D implements Shape, Cloneable {
/**
/**
* Evaluate the t values in the first num slots of the vals[] array
* Evaluate the t values in the first num slots of the vals[] array
* and place the evaluated values back into the same array. Only
* and place the evaluated values back into the same array. Only
* evaluate t values that are within the range
<0, 1>
, including
* evaluate t values that are within the range
<0, 1>
, including
* the 0 and 1 ends of the range iff the include0 or include1
* the 0 and 1 ends of the range iff the include0 or include1
* booleans are true. If an "inflection" equation is handed in,
* booleans are true. If an "inflection" equation is handed in,
* then any points which represent a point of inflection for that
* then any points which represent a point of inflection for that
...
@@ -1081,7 +1081,7 @@ public abstract class QuadCurve2D implements Shape, Cloneable {
...
@@ -1081,7 +1081,7 @@ public abstract class QuadCurve2D implements Shape, Cloneable {
/**
/**
* Determine where coord lies with respect to the range from
* Determine where coord lies with respect to the range from
* low to high. It is assumed that low
<
= high. The return
* low to high. It is assumed that low
<
= high. The return
* value is one of the 5 values BELOW, LOWEDGE, INSIDE, HIGHEDGE,
* value is one of the 5 values BELOW, LOWEDGE, INSIDE, HIGHEDGE,
* or ABOVE.
* or ABOVE.
*/
*/
...
...
src/share/classes/java/awt/image/BufferStrategy.java
浏览文件 @
fbff9c3e
...
@@ -54,7 +54,6 @@ import java.awt.Image;
...
@@ -54,7 +54,6 @@ import java.awt.Image;
* <p>
* <p>
* Alternatively, the contents of the back buffer can be copied, or
* Alternatively, the contents of the back buffer can be copied, or
* <i>blitted</i> forward in a chain instead of moving the video pointer.
* <i>blitted</i> forward in a chain instead of moving the video pointer.
* <p>
* <pre>{@code
* <pre>{@code
* Double buffering:
* Double buffering:
*
*
...
...
src/share/classes/java/awt/image/BufferedImage.java
浏览文件 @
fbff9c3e
...
@@ -927,7 +927,6 @@ public class BufferedImage extends java.awt.Image
...
@@ -927,7 +927,6 @@ public class BufferedImage extends java.awt.Image
* each color component in the returned data when
* each color component in the returned data when
* using this method. With a specified coordinate (x, y) in the
* using this method. With a specified coordinate (x, y) in the
* image, the ARGB pixel can be accessed in this way:
* image, the ARGB pixel can be accessed in this way:
* <p>
*
*
* <pre>
* <pre>
* pixel = rgbArray[offset + (y-startY)*scansize + (x-startX)]; </pre>
* pixel = rgbArray[offset + (y-startY)*scansize + (x-startX)]; </pre>
...
...
src/share/classes/java/awt/image/ColorConvertOp.java
浏览文件 @
fbff9c3e
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
* questions.
* questions.
*/
*/
/**********************************************************************
/*
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
**********************************************************************
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
*** COPYRIGHT (c) Eastman Kodak Company, 1997 ***
...
@@ -64,7 +65,6 @@ import java.awt.RenderingHints;
...
@@ -64,7 +65,6 @@ import java.awt.RenderingHints;
* color conversion.
* color conversion.
* <p>
* <p>
* Note that Source and Destination may be the same object.
* Note that Source and Destination may be the same object.
* <p>
* @see java.awt.RenderingHints#KEY_COLOR_RENDERING
* @see java.awt.RenderingHints#KEY_COLOR_RENDERING
* @see java.awt.RenderingHints#KEY_DITHERING
* @see java.awt.RenderingHints#KEY_DITHERING
*/
*/
...
...
src/share/classes/java/awt/peer/CheckboxPeer.java
浏览文件 @
fbff9c3e
...
@@ -41,7 +41,7 @@ public interface CheckboxPeer extends ComponentPeer {
...
@@ -41,7 +41,7 @@ public interface CheckboxPeer extends ComponentPeer {
* Sets the state of the checkbox to be checked ({@code true}) or
* Sets the state of the checkbox to be checked ({@code true}) or
* unchecked ({@code false}).
* unchecked ({@code false}).
*
*
* @param
t
the state to set on the checkbox
* @param
state
the state to set on the checkbox
*
*
* @see Checkbox#setState(boolean)
* @see Checkbox#setState(boolean)
*/
*/
...
...
src/share/classes/java/awt/peer/DesktopPeer.java
浏览文件 @
fbff9c3e
...
@@ -87,7 +87,7 @@ public interface DesktopPeer {
...
@@ -87,7 +87,7 @@ public interface DesktopPeer {
* filling the message fields including to, cc, etc, with the values
* filling the message fields including to, cc, etc, with the values
* specified by the given mailto URL.
* specified by the given mailto URL.
*
*
* @param
uri
represents a mailto URL with specified values of the message.
* @param
mailtoURL
represents a mailto URL with specified values of the message.
* The syntax of mailto URL is defined by
* The syntax of mailto URL is defined by
* <a href="http://www.ietf.org/rfc/rfc2368.txt">RFC2368: The mailto
* <a href="http://www.ietf.org/rfc/rfc2368.txt">RFC2368: The mailto
* URL scheme</a>
* URL scheme</a>
...
@@ -103,5 +103,5 @@ public interface DesktopPeer {
...
@@ -103,5 +103,5 @@ public interface DesktopPeer {
* @throws IOException If the user default browser is not found,
* @throws IOException If the user default browser is not found,
* or it fails to be launched.
* or it fails to be launched.
*/
*/
void
browse
(
URI
ur
l
)
throws
IOException
;
void
browse
(
URI
ur
i
)
throws
IOException
;
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录