Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
4849c451
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看板
提交
4849c451
编写于
10月 09, 2013
作者:
C
cl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8026021: more fix of javadoc errors and warnings reported by doclint, see the description
Reviewed-by: anthony, serb
上级
473be07c
变更
16
显示空白变更内容
内联
并排
Showing
16 changed file
with
54 addition
and
51 deletion
+54
-51
src/share/classes/java/awt/GraphicsDevice.java
src/share/classes/java/awt/GraphicsDevice.java
+1
-1
src/share/classes/java/awt/GridBagLayout.java
src/share/classes/java/awt/GridBagLayout.java
+3
-3
src/share/classes/java/awt/LinearGradientPaint.java
src/share/classes/java/awt/LinearGradientPaint.java
+2
-1
src/share/classes/java/awt/RadialGradientPaint.java
src/share/classes/java/awt/RadialGradientPaint.java
+8
-4
src/share/classes/java/awt/font/LineBreakMeasurer.java
src/share/classes/java/awt/font/LineBreakMeasurer.java
+4
-4
src/share/classes/java/awt/font/MultipleMaster.java
src/share/classes/java/awt/font/MultipleMaster.java
+1
-1
src/share/classes/java/awt/font/NumericShaper.java
src/share/classes/java/awt/font/NumericShaper.java
+1
-1
src/share/classes/java/awt/font/OpenType.java
src/share/classes/java/awt/font/OpenType.java
+1
-1
src/share/classes/java/awt/geom/AffineTransform.java
src/share/classes/java/awt/geom/AffineTransform.java
+1
-1
src/share/classes/java/awt/im/InputContext.java
src/share/classes/java/awt/im/InputContext.java
+0
-1
src/share/classes/javax/swing/Action.java
src/share/classes/javax/swing/Action.java
+4
-4
src/share/classes/javax/swing/GroupLayout.java
src/share/classes/javax/swing/GroupLayout.java
+4
-4
src/share/classes/javax/swing/text/JTextComponent.java
src/share/classes/javax/swing/text/JTextComponent.java
+19
-19
src/share/classes/javax/swing/text/StyleConstants.java
src/share/classes/javax/swing/text/StyleConstants.java
+1
-1
src/share/classes/javax/swing/text/html/HTMLDocument.java
src/share/classes/javax/swing/text/html/HTMLDocument.java
+2
-3
src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java
...are/classes/javax/swing/tree/DefaultTreeCellRenderer.java
+2
-2
未找到文件。
src/share/classes/java/awt/GraphicsDevice.java
浏览文件 @
4849c451
...
...
@@ -162,7 +162,7 @@ public abstract class GraphicsDevice {
* <code>GraphicsEnvironment</code>. Although there is
* no public method to set this <code>String</code>, a programmer can
* use the <code>String</code> for debugging purposes. Vendors of
* the Java
<sup><font size=-2>TM</font></sup>
Runtime Environment can
* the Java
™
Runtime Environment can
* format the return value of the <code>String</code>. To determine
* how to interpret the value of the <code>String</code>, contact the
* vendor of your Java Runtime. To find out who the vendor is, from
...
...
src/share/classes/java/awt/GridBagLayout.java
浏览文件 @
4849c451
...
...
@@ -125,9 +125,9 @@ import java.util.Arrays;
* <center><table BORDER=0 WIDTH=800
* SUMMARY="absolute, relative and baseline values as described above">
* <tr>
* <th><P
STYLE="TEXT-ALIGN:LEFT
">Absolute Values</th>
* <th><P
STYLE="TEXT-ALIGN:LEFT
">Orientation Relative Values</th>
* <th><P
STYLE="TEXT-ALIGN:LEFT
">Baseline Relative Values</th>
* <th><P
style="text-align:left
">Absolute Values</th>
* <th><P
style="text-align:left
">Orientation Relative Values</th>
* <th><P
style="text-align:left
">Baseline Relative Values</th>
* </tr>
* <tr>
* <td>
...
...
src/share/classes/java/awt/LinearGradientPaint.java
浏览文件 @
4849c451
...
...
@@ -94,7 +94,8 @@ import java.beans.ConstructorProperties;
* of the three cycle methods:
* <p>
* <center>
* <img src = "doc-files/LinearGradientPaint.png" alt="LinearGradientPaint">
* <img src = "doc-files/LinearGradientPaint.png"
* alt="image showing the output of the example code">
* </center>
*
* @see java.awt.Paint
...
...
src/share/classes/java/awt/RadialGradientPaint.java
浏览文件 @
4849c451
...
...
@@ -80,14 +80,16 @@ import java.beans.ConstructorProperties;
* from the focus point. The following figure shows that the distance AB
* is equal to the distance BC, and the distance AD is equal to the distance DE.
* <center>
* <img src = "doc-files/RadialGradientPaint-3.png" alt="RadialGradientPaint-3">
* <img src = "doc-files/RadialGradientPaint-3.png" alt="image showing the
* distance AB=BC, and AD=DE">
* </center>
* If the gradient and graphics rendering transforms are uniformly scaled and
* the user sets the focus so that it coincides with the center of the circle,
* the gradient color proportions are equal for any line drawn from the center.
* The following figure shows the distances AB, BC, AD, and DE. They are all equal.
* <center>
* <img src = "doc-files/RadialGradientPaint-4.png" alt="RadialGradientPaint-4">
* <img src = "doc-files/RadialGradientPaint-4.png" alt="image showing the
* distance of AB, BC, AD, and DE are all equal">
* </center>
* Note that some minor variations in distances may occur due to sampling at
* the granularity of a pixel.
...
...
@@ -117,7 +119,8 @@ import java.beans.ConstructorProperties;
* (centered) focus for each of the three cycle methods:
* <p>
* <center>
* <img src = "doc-files/RadialGradientPaint-1.png" alt="RadialGradientPaint-1">
* <img src = "doc-files/RadialGradientPaint-1.png" alt="image showing the
* output of the sameple code">
* </center>
*
* <p>
...
...
@@ -141,7 +144,8 @@ import java.beans.ConstructorProperties;
* focus for each of the three cycle methods:
* <p>
* <center>
* <img src = "doc-files/RadialGradientPaint-2.png" alt="RadialGradientPaint-2">
* <img src = "doc-files/RadialGradientPaint-2.png" alt="image showing the
* output of the sample code">
* </center>
*
* @see java.awt.Paint
...
...
src/share/classes/java/awt/font/LineBreakMeasurer.java
浏览文件 @
4849c451
...
...
@@ -112,7 +112,7 @@ import java.awt.font.FontRenderContext;
* <strong>Examples</strong>:<p>
* Rendering a paragraph in a component
* <blockquote>
* <pre>
* <pre>
{@code
* public void paint(Graphics graphics) {
*
* Point2D pen = new Point2D(10, 20);
...
...
@@ -137,13 +137,13 @@ import java.awt.font.FontRenderContext;
* pen.y += layout.getDescent() + layout.getLeading();
* }
* }
* </pre>
*
}
</pre>
* </blockquote>
* <p>
* Rendering text with tabs. For simplicity, the overall text
* direction is assumed to be left-to-right
* <blockquote>
* <pre>
* <pre>
{@code
* public void paint(Graphics graphics) {
*
* float leftMargin = 10, rightMargin = 310;
...
...
@@ -240,7 +240,7 @@ import java.awt.font.FontRenderContext;
* verticalPos += maxDescent;
* }
* }
* </pre>
*
}
</pre>
* </blockquote>
* @see TextLayout
*/
...
...
src/share/classes/java/awt/font/MultipleMaster.java
浏览文件 @
4849c451
...
...
@@ -41,7 +41,7 @@ public interface MultipleMaster {
public
int
getNumDesignAxes
();
/**
* Returns an array of design limits interleaved in the form [from
->
to]
* Returns an array of design limits interleaved in the form [from
→
to]
* for each axis. For example,
* design limits for weight could be from 0.1 to 1.0. The values are
* returned in the same order returned by
...
...
src/share/classes/java/awt/font/NumericShaper.java
浏览文件 @
4849c451
...
...
@@ -1212,7 +1212,7 @@ public final class NumericShaper implements java.io.Serializable {
* For example, to check if a shaper shapes to Arabic, you would use the
* following:
* <blockquote>
* <code>if ((shaper.getRanges() & shaper.ARABIC) != 0) { ... </code>
* <code>if ((shaper.getRanges() &
amp;
shaper.ARABIC) != 0) { ... </code>
* </blockquote>
*
* <p>Note that this method supports only the bit mask-based
...
...
src/share/classes/java/awt/font/OpenType.java
浏览文件 @
4849c451
...
...
@@ -33,7 +33,7 @@ package java.awt.font;
* <p>
* For more information on TrueType and OpenType fonts, see the
* OpenType specification.
* ( <a href=
http://www.microsoft.com/typography/otspec/">http://www.microsoft.com/typography/otspec/l
</a> ).
* ( <a href=
"http://www.microsoft.com/typography/otspec/">http://www.microsoft.com/typography/otspec/
</a> ).
*/
public
interface
OpenType
{
...
...
src/share/classes/java/awt/geom/AffineTransform.java
浏览文件 @
4849c451
...
...
@@ -47,7 +47,7 @@ import java.beans.ConstructorProperties;
* [ 1 ] [ 0 0 1 ] [ 1 ] [ 1 ]
* </pre>
* <p>
* <
a name="quadrantapproximation"></a><h4>Handling 90-Degree Rotations
</h4>
* <
h4><a name="quadrantapproximation">Handling 90-Degree Rotations</a>
</h4>
* <p>
* In some variations of the <code>rotate</code> methods in the
* <code>AffineTransform</code> class, a double-precision argument
...
...
src/share/classes/java/awt/im/InputContext.java
浏览文件 @
4849c451
...
...
@@ -98,7 +98,6 @@ public class InputContext {
* an input method or keyboard layout has been successfully selected. The
* following steps are taken until an input method has been selected:
*
* <p>
* <ul>
* <li>
* If the currently selected input method or keyboard layout supports the
...
...
src/share/classes/javax/swing/Action.java
浏览文件 @
4849c451
...
...
@@ -98,10 +98,10 @@ import java.beans.*;
* summary="Supported Action properties"
* valign="top" >
* <tr valign="top" align="left">
* <th
bgcolor="
#CCCCFF" align="left">Component Property
* <th
bgcolor="
#CCCCFF" align="left">Components
* <th
bgcolor="
#CCCCFF" align="left">Action Key
* <th
bgcolor="
#CCCCFF" align="left">Notes
* <th
style="background-color:
#CCCCFF" align="left">Component Property
* <th
style="background-color:
#CCCCFF" align="left">Components
* <th
style="background-color:
#CCCCFF" align="left">Action Key
* <th
style="background-color:
#CCCCFF" align="left">Notes
* <tr valign="top" align="left">
* <td><b><code>enabled</code></b>
* <td>All
...
...
src/share/classes/javax/swing/GroupLayout.java
浏览文件 @
4849c451
...
...
@@ -79,7 +79,7 @@ import static javax.swing.SwingConstants.VERTICAL;
* The following diagram shows a sequential group along the horizontal
* axis. The sequential group contains three components. A parallel group
* was used along the vertical axis.
* <p
align="
center">
* <p
style="text-align:
center">
* <img src="doc-files/groupLayout.1.gif">
* <p>
* To reinforce that each axis is treated independently the diagram shows
...
...
@@ -101,7 +101,7 @@ import static javax.swing.SwingConstants.VERTICAL;
* parallel group along the horizontal axis and the sequential group along
* the vertical axis.
* <p>
* <p
align="
center">
* <p
style="text-align:
center">
* <img src="doc-files/groupLayout.2.gif">
* <p>
* As {@code c1} is the largest of the three components, the parallel
...
...
@@ -115,7 +115,7 @@ import static javax.swing.SwingConstants.VERTICAL;
* <p>
* The following diagram shows a sequential group along both the horizontal
* and vertical axis.
* <p
align="
center">
* <p
style="text-align:
center">
* <img src="doc-files/groupLayout.3.gif">
* <p>
* {@code GroupLayout} provides the ability to insert gaps between
...
...
@@ -172,7 +172,7 @@ import static javax.swing.SwingConstants.VERTICAL;
* </pre>
* <p>
* When run the following is produced.
* <p
align="
center">
* <p
style="text-align:
center">
* <img src="doc-files/groupLayout.example.png">
* <p>
* This layout consists of the following.
...
...
src/share/classes/javax/swing/text/JTextComponent.java
浏览文件 @
4849c451
...
...
@@ -160,9 +160,9 @@ import sun.swing.SwingAccessor;
*
* <table border=1 summary="Stages of keyboard and input method event handling">
* <tr>
* <th id="stage"><p
align="
left">Stage</p></th>
* <th id="ke"><p
align="
left">KeyEvent</p></th>
* <th id="ime"><p
align="
left">InputMethodEvent</p></th></tr>
* <th id="stage"><p
style="text-align:
left">Stage</p></th>
* <th id="ke"><p
style="text-align:
left">KeyEvent</p></th>
* <th id="ime"><p
style="text-align:
left">InputMethodEvent</p></th></tr>
* <tr><td headers="stage">1. </td>
* <td headers="ke">input methods </td>
* <td headers="ime">(generated here)</td></tr>
...
...
@@ -214,7 +214,7 @@ import sun.swing.SwingAccessor;
* The text document model may be shared by other views which act as observers
* of the model (e.g. a document may be shared by multiple components).
*
* <p
align=center
><img src="doc-files/editor.gif" alt="Diagram showing interaction between Controller, Document, events, and ViewFactory"
* <p
style="text-align:center"
><img src="doc-files/editor.gif" alt="Diagram showing interaction between Controller, Document, events, and ViewFactory"
* HEIGHT=358 WIDTH=587></p>
*
* <p>
...
...
@@ -1399,8 +1399,8 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* Fetches a portion of the text represented by the
* component. Returns an empty string if length is 0.
*
* @param offs the offset
>=
0
* @param len the length
>=
0
* @param offs the offset
≥
0
* @param len the length
≥
0
* @return the text
* @exception BadLocationException if the offset or length are invalid
*/
...
...
@@ -1416,7 +1416,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* be computed until the component has been sized). The
* component does not have to be visible or painted.
*
* @param pos the position
>=
0
* @param pos the position
≥
0
* @return the coordinates as a rectangle, with (r.x, r.y) as the location
* in the coordinate system, or null if the component does
* not yet have a positive size.
...
...
@@ -1437,7 +1437,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* component does not have to be visible or painted.
*
* @param pt the location in the view to translate
* @return the offset
>=
0 from the start of the document,
* @return the offset
≥
0 from the start of the document,
* or -1 if the component does not yet have a positive
* size.
* @see TextUI#viewToModel
...
...
@@ -1688,7 +1688,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* text component.
*
* @return the position of the text insertion caret for the
* text component
>=
0
* text component
≥
0
*/
@Transient
public
int
getCaretPosition
()
{
...
...
@@ -1814,7 +1814,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* Returns the selected text's start position. Return 0 for an
* empty document, or the value of dot if no selection.
*
* @return the start position
>=
0
* @return the start position
≥
0
*/
@Transient
public
int
getSelectionStart
()
{
...
...
@@ -1832,7 +1832,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* This is implemented to forward to the <code>Caret</code>
* implementation which is where the actual selection is maintained.
*
* @param selectionStart the start position of the text
>=
0
* @param selectionStart the start position of the text
≥
0
* @beaninfo
* description: starting location of the selection.
*/
...
...
@@ -1847,7 +1847,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* Returns the selected text's end position. Return 0 if the document
* is empty, or the value of dot if there is no selection.
*
* @return the end position
>=
0
* @return the end position
≥
0
*/
@Transient
public
int
getSelectionEnd
()
{
...
...
@@ -1865,7 +1865,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* This is implemented to forward to the <code>Caret</code>
* implementation which is where the actual selection is maintained.
*
* @param selectionEnd the end position of the text
>=
0
* @param selectionEnd the end position of the text
≥
0
* @beaninfo
* description: ending location of the selection.
*/
...
...
@@ -2785,7 +2785,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* if the JTextComponent is contained in a JScrollPane in which
* case the resulting rectangle should be composed with the parent
* coordinates. A good algorithm to use is:
* <
nf
>
* <
pre
>
* Accessible a:
* AccessibleText at = a.getAccessibleText();
* AccessibleComponent ac = a.getAccessibleComponent();
...
...
@@ -2793,14 +2793,14 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* Point p = ac.getLocation();
* r.x += p.x;
* r.y += p.y;
* </
nf
>
* </
pre
>
*
* Note: the JTextComponent must have a valid size (e.g. have
* been added to a parent container whose ancestor container
* is a valid top-level window) for this method to be able
* to return a meaningful (non-null) value.
*
* @param i the index into the String
>=
0
* @param i the index into the String
≥
0
* @return the screen coordinates of the character's bounding box
*/
public
Rectangle
getCharacterBounds
(
int
i
)
{
...
...
@@ -2844,7 +2844,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
/**
* Returns the number of characters (valid indices)
*
* @return the number of characters
>=
0
* @return the number of characters
≥
0
*/
public
int
getCharCount
()
{
return
model
.
getLength
();
...
...
@@ -2895,7 +2895,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* Return 0 if the text is empty, or the caret position
* if no selection.
*
* @return the index into the text of the start of the selection
>=
0
* @return the index into the text of the start of the selection
≥
0
*/
public
int
getSelectionStart
()
{
return
JTextComponent
.
this
.
getSelectionStart
();
...
...
@@ -2908,7 +2908,7 @@ public abstract class JTextComponent extends JComponent implements Scrollable, A
* Return 0 if the text is empty, or the caret position
* if no selection.
*
* @return the index into teh text of the end of the selection
>=
0
* @return the index into teh text of the end of the selection
≥
0
*/
public
int
getSelectionEnd
()
{
return
JTextComponent
.
this
.
getSelectionEnd
();
...
...
src/share/classes/javax/swing/text/StyleConstants.java
浏览文件 @
4849c451
...
...
@@ -39,7 +39,7 @@ import javax.swing.Icon;
* All sizes are specified in points (such as found in postscript), a
* device independent measure.
* </p>
* <p
align=center
><img src="doc-files/paragraph.gif"
* <p
style="text-align:center"
><img src="doc-files/paragraph.gif"
* alt="Diagram shows SpaceAbove, FirstLineIndent, LeftIndent, RightIndent,
* and SpaceBelow a paragraph."></p>
* <p>
...
...
src/share/classes/javax/swing/text/html/HTMLDocument.java
浏览文件 @
4849c451
...
...
@@ -184,7 +184,6 @@ import static sun.swing.SwingUtilities2.IMPLIED_CR;
* of various methods described above.</p>
*
* <table border=1 cellspacing=0>
* <caption></caption>
* <tr>
* <th>Example</th>
* <th><code>insertAfterStart</code></th>
...
...
@@ -262,8 +261,8 @@ import static sun.swing.SwingUtilities2.IMPLIED_CR;
* not be compatible with future Swing releases. The current
* serialization support is appropriate for short term storage or RMI
* between applications running the same version of Swing. As of 1.4,
* support for long term storage of all JavaBeans
<sup><font
*
size="-2">TM</font></sup>
has been added to the
* support for long term storage of all JavaBeans
™
* has been added to the
* <code>java.beans</code> package. Please see {@link
* java.beans.XMLEncoder}.</p>
*
...
...
src/share/classes/javax/swing/tree/DefaultTreeCellRenderer.java
浏览文件 @
4849c451
...
...
@@ -62,8 +62,8 @@ import sun.swing.DefaultLookup;
* {@code DefaultTreeCellRenderer} property and defaults table key:
* <table border="1" cellpadding="1" cellspacing="0" summary="">
* <tr valign="top" align="left">
* <th
bgcolor="
#CCCCFF" align="left">Property:
* <th
bgcolor="
#CCCCFF" align="left">Key:
* <th
style="background-color:
#CCCCFF" align="left">Property:
* <th
style="background-color:
#CCCCFF" align="left">Key:
* <tr><td>"leafIcon"<td>"Tree.leafIcon"
* <tr><td>"closedIcon"<td>"Tree.closedIcon"
* <tr><td>"openIcon"<td>"Tree.openIcon"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录