Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
c2b15fdf
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
3
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看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c2b15fdf
编写于
1月 11, 2011
作者:
R
rupashka
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6589952: Swing: dead links in API documentation
Reviewed-by: alexp
上级
f5d4fcee
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
37 addition
and
41 deletion
+37
-41
src/share/classes/javax/swing/AbstractButton.java
src/share/classes/javax/swing/AbstractButton.java
+0
-1
src/share/classes/javax/swing/JEditorPane.java
src/share/classes/javax/swing/JEditorPane.java
+2
-2
src/share/classes/javax/swing/SizeSequence.java
src/share/classes/javax/swing/SizeSequence.java
+1
-1
src/share/classes/javax/swing/TransferHandler.java
src/share/classes/javax/swing/TransferHandler.java
+6
-6
src/share/classes/javax/swing/event/InternalFrameAdapter.java
...share/classes/javax/swing/event/InternalFrameAdapter.java
+1
-2
src/share/classes/javax/swing/event/InternalFrameListener.java
...hare/classes/javax/swing/event/InternalFrameListener.java
+1
-3
src/share/classes/javax/swing/plaf/multi/doc-files/multi_tsc.html
...e/classes/javax/swing/plaf/multi/doc-files/multi_tsc.html
+1
-1
src/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html
...ses/javax/swing/plaf/synth/doc-files/synthFileFormat.html
+4
-4
src/share/classes/javax/swing/text/AsyncBoxView.java
src/share/classes/javax/swing/text/AsyncBoxView.java
+1
-1
src/share/classes/javax/swing/text/DefaultCaret.java
src/share/classes/javax/swing/text/DefaultCaret.java
+1
-1
src/share/classes/javax/swing/text/TableView.java
src/share/classes/javax/swing/text/TableView.java
+1
-1
src/share/classes/javax/swing/text/View.java
src/share/classes/javax/swing/text/View.java
+14
-14
src/share/classes/javax/swing/text/html/HTMLEditorKit.java
src/share/classes/javax/swing/text/html/HTMLEditorKit.java
+2
-2
src/share/classes/javax/swing/text/html/ParagraphView.java
src/share/classes/javax/swing/text/html/ParagraphView.java
+1
-1
src/share/classes/javax/swing/text/html/StyleSheet.java
src/share/classes/javax/swing/text/html/StyleSheet.java
+1
-1
未找到文件。
src/share/classes/javax/swing/AbstractButton.java
浏览文件 @
c2b15fdf
...
...
@@ -1335,7 +1335,6 @@ public abstract class AbstractButton extends JComponent implements ItemSelectabl
*
* @param a the button's action
* @since 1.3
* @see <a href="#actions">Actions</a>
* @see Action
* @see #setAction
*/
...
...
src/share/classes/javax/swing/JEditorPane.java
浏览文件 @
c2b15fdf
...
...
@@ -145,8 +145,8 @@ import javax.accessibility.*;
* <li>
* One way is to specify the character set as a parameter of the MIME
* type. This will be established by a call to the
*
<a href="#setContentType">setContentType</a>
method. If the content
* is loaded by the
<a href="#setPage">setPage</a>
method the content
*
{@link #setContentType setContentType}
method. If the content
* is loaded by the
{@link #setPage setPage}
method the content
* type will have been set according to the specification of the URL.
* It the file is loaded directly, the content type would be expected to
* have been set prior to loading.
...
...
src/share/classes/javax/swing/SizeSequence.java
浏览文件 @
c2b15fdf
...
...
@@ -132,7 +132,7 @@ public class SizeSequence {
* can use <code>insertEntries</code> or <code>setSizes</code>.
*
* @see #insertEntries
* @see #setSizes
* @see #setSizes
(int[])
*/
public
SizeSequence
()
{
a
=
emptyArray
;
...
...
src/share/classes/javax/swing/TransferHandler.java
浏览文件 @
c2b15fdf
...
...
@@ -344,7 +344,7 @@ public class TransferHandler implements Serializable {
*
* @return the drop location
* @throws IllegalStateException if this is not a drop
* @see #isDrop
* @see #isDrop
()
*/
public
DropLocation
getDropLocation
()
{
assureIsDrop
();
...
...
@@ -380,7 +380,7 @@ public class TransferHandler implements Serializable {
*
* @param showDropLocation whether or not to indicate the drop location
* @throws IllegalStateException if this is not a drop
* @see #isDrop
* @see #isDrop
()
*/
public
void
setShowDropLocation
(
boolean
showDropLocation
)
{
assureIsDrop
();
...
...
@@ -406,7 +406,7 @@ public class TransferHandler implements Serializable {
* @see #getDropAction
* @see #getUserDropAction
* @see #getSourceDropActions
* @see #isDrop
* @see #isDrop
()
*/
public
void
setDropAction
(
int
dropAction
)
{
assureIsDrop
();
...
...
@@ -440,7 +440,7 @@ public class TransferHandler implements Serializable {
* @throws IllegalStateException if this is not a drop
* @see #setDropAction
* @see #getUserDropAction
* @see #isDrop
* @see #isDrop
()
*/
public
int
getDropAction
()
{
return
dropAction
==
-
1
?
getUserDropAction
()
:
dropAction
;
...
...
@@ -468,7 +468,7 @@ public class TransferHandler implements Serializable {
* @throws IllegalStateException if this is not a drop
* @see #setDropAction
* @see #getDropAction
* @see #isDrop
* @see #isDrop
()
*/
public
int
getUserDropAction
()
{
assureIsDrop
();
...
...
@@ -501,7 +501,7 @@ public class TransferHandler implements Serializable {
*
* @return the drag source's supported drop actions
* @throws IllegalStateException if this is not a drop
* @see #isDrop
* @see #isDrop
()
*/
public
int
getSourceDropActions
()
{
assureIsDrop
();
...
...
src/share/classes/javax/swing/event/InternalFrameAdapter.java
浏览文件 @
c2b15fdf
...
...
@@ -32,8 +32,7 @@ package javax.swing.event;
* equivalent to the WindowAdapter class in the AWT.
* <p>
* See <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html">How to Write an Internal Frame Listener</a>
* in <em>The Java Tutorial</em> and
* <a href="http://www.awl.com/cp/javaseries/jcl1_2.html">The Java Class Libraries (update)</a>
* in <em>The Java Tutorial</em>
*
* @see InternalFrameEvent
* @see InternalFrameListener
...
...
src/share/classes/javax/swing/event/InternalFrameListener.java
浏览文件 @
c2b15fdf
...
...
@@ -33,9 +33,7 @@ import java.util.EventListener;
* in the AWT.
* <p>
* See <a href="http://java.sun.com/docs/books/tutorial/uiswing/events/internalframelistener.html">How to Write an Internal Frame Listener</a>
* in <em>The Java Tutorial</em> and
* <a href="http://www.awl.com/cp/javaseries/jcl1_2.html">The Java Class Libraries (update)</a>
* for further documentation.
* in <em>The Java Tutorial</em> for further documentation.
*
* @see java.awt.event.WindowListener
*
...
...
src/share/classes/javax/swing/plaf/multi/doc-files/multi_tsc.html
浏览文件 @
c2b15fdf
...
...
@@ -66,7 +66,7 @@ This document has the following sections:
Before reading further, you should be familiar
with the concept of pluggable look and feels.
For basic information, see
<a
href=
"http://java.sun.com/docs/books/tutorial/uiswing/
start/swingTour.html#plaf"
>
Choosing
the Look and Feel
</a>
,
<a
href=
"http://java.sun.com/docs/books/tutorial/uiswing/
lookandfeel/plaf.html"
>
How to Set
the Look and Feel
</a>
,
a section in
<em>
The Java Tutorial
</em>
.
For architectural details, you can read
...
...
src/share/classes/javax/swing/plaf/synth/doc-files/synthFileFormat.html
浏览文件 @
c2b15fdf
...
...
@@ -91,7 +91,7 @@ div.example {
<div
class=
"dtd-fragment"
>
<pre
class=
"dtd-fragment"
>
<
!ELEMENT
<a
name=
"e.style"
>
style
</a>
(
<a
href=
"#e.property"
>
property
</a>
|
<a
href=
"#e.defaultsProperty"
>
defaultsProperty
</a>
|
<a
href=
"#e.state"
>
state
</a>
|
<a
href=
"#e.font"
>
font
</a>
|
<a
href=
"#e.graphicsUtils"
>
graphicsUtils
</a>
|
<a
href=
"#e.insets"
>
insets
</a>
|
<a
href=
"#e.painter"
>
painter
</a>
|
<a
href=
"#e.imagePainter"
>
imagePainter
</a>
|
<a
href=
"#e.opaque"
>
opaque
</a>
| (
<a
href=
"#beansPersistance"
>
%beansPersistance;
</a>
) |
<a
href=
"#e.insets"
>
insets
</a>
|
<a
href=
"#e.painter"
>
painter
</a>
|
<a
href=
"#e.imagePainter"
>
imagePainter
</a>
|
<a
href=
"#e.opaque"
>
opaque
</a>
| (
<a
href=
"#
ee.
beansPersistance"
>
%beansPersistance;
</a>
) |
<a
href=
"#e.imageIcon"
>
imageIcon
</a>
)*>
<
!ATTLIST style
<a
href=
"#style.id"
>
id
</a>
ID #IMPLIED
...
...
@@ -250,8 +250,8 @@ div.example {
<p>
Defines the font for the current
<a
href=
"#e.state"
>
state
</a>
,
or
<a
href=
"#e.style"
>
style
</a>
. You must
specify either an
<a
href=
"#
state
.idref"
>
idref
</a>
or a
<a
href=
"#
state.name"
>
name
</a>
and
<a
href=
"#state
.size"
>
size
</a>
.
specify either an
<a
href=
"#
font
.idref"
>
idref
</a>
or a
<a
href=
"#
font.name"
>
name
</a>
and
<a
href=
"#font
.size"
>
size
</a>
.
</p>
<p>
The following example creates a style with a Font of
...
...
@@ -797,7 +797,7 @@ div.example {
<a
href=
"#imagePainter.path"
>
path
</a>
CDATA #REQUIRED
<a
href=
"#imagePainter.sourceInsets"
>
sourceInsets
</a>
CDATA #IMPLIED
<a
href=
"#imagePainter.destinationInsets"
>
destinationInsets
</a>
CDATA #IMPLIED
<a
href=
"#imagePainter.paintCenter"
>
paintCenter
</a>
(true|false) "true"
<a
href=
"#imagePainter.paint
er
Center"
>
paintCenter
</a>
(true|false) "true"
<a
href=
"#imagePainter.stretch"
>
stretch
</a>
(true|false) "true"
<a
href=
"#imagePainter.center"
>
center
</a>
(true|false) "false"
>
...
...
src/share/classes/javax/swing/text/AsyncBoxView.java
浏览文件 @
c2b15fdf
...
...
@@ -384,7 +384,7 @@ public class AsyncBoxView extends View {
/**
* Loads all of the children to initialize the view.
* This is called by the
<a href="#setParent">setParent</a>
* This is called by the
{@link #setParent setParent}
* method. Subclasses can reimplement this to initialize
* their child views in a different manner. The default
* implementation creates a child view for each
...
...
src/share/classes/javax/swing/text/DefaultCaret.java
浏览文件 @
c2b15fdf
...
...
@@ -70,7 +70,7 @@ import sun.swing.SwingUtilities2;
* will render a solid color as specified in the associated text component
* in the <code>SelectionColor</code> property. This can easily be changed
* by reimplementing the
*
<a href="#getSelectionHighlighter">getSelectionHighlighter</a>
*
{@link #getSelectionPainter getSelectionPainter}
* method.
* <p>
* A customized caret appearance can be achieved by reimplementing
...
...
src/share/classes/javax/swing/text/TableView.java
浏览文件 @
c2b15fdf
...
...
@@ -315,7 +315,7 @@ public abstract class TableView extends BoxView {
* updated along the minor axis.
* <p>
* This is implemented to call the
*
<a href="#layoutColumns">layoutColumns</a>
method, and then
*
{@link #layoutColumns layoutColumns}
method, and then
* forward to the superclass to actually carry out the layout
* of the tables rows.
*
...
...
src/share/classes/javax/swing/text/View.java
浏览文件 @
c2b15fdf
...
...
@@ -117,7 +117,7 @@ A view has the following responsibilities:
what it is prepared to deal with.
<li>The coordinate system is the same as the hosting <code>Component</code>
(i.e. the <code>Component</code> returned by the
<a href="#getContainer">getContainer</a>
method).
{@link #getContainer getContainer}
method).
This means a child view lives in the same coordinate system as the parent
view unless the parent has explicitly changed the coordinate system.
To schedule itself to be repainted a view can call repaint on the hosting
...
...
@@ -180,9 +180,9 @@ A view has the following responsibilities:
starting from the root of the view hierarchy.
The methods for doing this are:
<ul>
<li>
<a href="#insertUpdate">insertUpdate</a>
<li>
<a href="#removeUpdate">removeUpdate</a>
<li>
<a href="#changedUpdate">changedUpdate</a>
<li>
{@link #insertUpdate insertUpdate}
<li>
{@link #removeUpdate removeUpdate}
<li>
{@link #changedUpdate changedUpdate}
</ul>
<p>
</dl>
...
...
@@ -670,15 +670,15 @@ public abstract class View implements SwingConstants {
* spread out into the following calls that subclasses can
* reimplement:
* <ol>
* <li>
<a href="#updateChildren">updateChildren</a>
is called
* <li>
{@link #updateChildren updateChildren}
is called
* if there were any changes to the element this view is
* responsible for. If this view has child views that are
* represent the child elements, then this method should do
* whatever is necessary to make sure the child views correctly
* represent the model.
* <li>
<a href="#forwardUpdate">forwardUpdate</a>
is called
* <li>
{@link #forwardUpdate forwardUpdate}
is called
* to forward the DocumentEvent to the appropriate child views.
* <li>
<a href="#updateLayout">updateLayout</a>
is called to
* <li>
{@link #updateLayout updateLayout}
is called to
* give the view a chance to either repair its layout, to reschedule
* layout, or do nothing.
* </ol>
...
...
@@ -711,15 +711,15 @@ public abstract class View implements SwingConstants {
* spread out into the following calls that subclasses can
* reimplement:
* <ol>
* <li>
<a href="#updateChildren">updateChildren</a>
is called
* <li>
{@link #updateChildren updateChildren}
is called
* if there were any changes to the element this view is
* responsible for. If this view has child views that are
* represent the child elements, then this method should do
* whatever is necessary to make sure the child views correctly
* represent the model.
* <li>
<a href="#forwardUpdate">forwardUpdate</a>
is called
* <li>
{@link #forwardUpdate forwardUpdate}
is called
* to forward the DocumentEvent to the appropriate child views.
* <li>
<a href="#updateLayout">updateLayout</a>
is called to
* <li>
{@link #updateLayout updateLayout}
is called to
* give the view a chance to either repair its layout, to reschedule
* layout, or do nothing.
* </ol>
...
...
@@ -752,15 +752,15 @@ public abstract class View implements SwingConstants {
* spread out into the following calls that subclasses can
* reimplement:
* <ol>
* <li>
<a href="#updateChildren">updateChildren</a>
is called
* <li>
{@link #updateChildren updateChildren}
is called
* if there were any changes to the element this view is
* responsible for. If this view has child views that are
* represent the child elements, then this method should do
* whatever is necessary to make sure the child views correctly
* represent the model.
* <li>
<a href="#forwardUpdate">forwardUpdate</a>
is called
* <li>
{@link #forwardUpdate forwardUpdate}
is called
* to forward the DocumentEvent to the appropriate child views.
* <li>
<a href="#updateLayout">updateLayout</a>
is called to
* <li>
{@link #updateLayout updateLayout}
is called to
* give the view a chance to either repair its layout, to reschedule
* layout, or do nothing.
* </ol>
...
...
@@ -1186,7 +1186,7 @@ public abstract class View implements SwingConstants {
* simply messages the view with a call to <code>insertUpdate</code>,
* <code>removeUpdate</code>, or <code>changedUpdate</code> depending
* upon the type of the event. This is called by
*
<a href="#forwardUpdate">forwardUpdate</a>
to forward
*
{@link #forwardUpdate forwardUpdate}
to forward
* the event to children that need it.
*
* @param v the child view to forward the event to
...
...
src/share/classes/javax/swing/text/html/HTMLEditorKit.java
浏览文件 @
c2b15fdf
...
...
@@ -123,7 +123,7 @@ import java.lang.ref.*;
* to load. By default, this kit produces documents that will be
* loaded asynchronously if loaded using <code>JEditorPane.setPage</code>.
* This is controlled by a property on the document. The method
*
<a href="#createDefaultDocument">createDefaultDocument</a>
can
*
{@link #createDefaultDocument createDefaultDocument}
can
* be overriden to change this. The batching of work is done
* by the <code>HTMLDocument.HTMLReader</code> class. The actual
* work is done by the <code>DefaultStyledDocument</code> and
...
...
@@ -558,7 +558,7 @@ public class HTMLEditorKit extends StyledEditorKit implements Accessible {
* automatically or only <code>FormSubmitEvent</code> is fired.
* By default it is set to true.
*
* @see #isAutoFormSubmission
* @see #isAutoFormSubmission
()
* @see FormSubmitEvent
* @since 1.5
*/
...
...
src/share/classes/javax/swing/text/html/ParagraphView.java
浏览文件 @
c2b15fdf
...
...
@@ -61,7 +61,7 @@ public class ParagraphView extends javax.swing.text.ParagraphView {
* <p>
* This is implemented
* to forward to the superclass as well as call the
*
<a href="#setPropertiesFromAttributes">setPropertiesFromAttributes</a>
*
{@link #setPropertiesFromAttributes setPropertiesFromAttributes}
* method to set the paragraph properties from the css
* attributes. The call is made at this time to ensure
* the ability to resolve upward through the parents
...
...
src/share/classes/javax/swing/text/html/StyleSheet.java
浏览文件 @
c2b15fdf
...
...
@@ -51,7 +51,7 @@ import javax.swing.text.*;
* <p>
* The primary entry point for HTML View implementations
* to get their attributes is the
*
<a href="#getViewAttributes">getViewAttributes</a>
*
{@link #getViewAttributes getViewAttributes}
* method. This should be implemented to establish the
* desired policy used to associate attributes with the view.
* Each HTMLEditorKit (i.e. and therefore each associated
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录