Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
464fd3e0
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看板
提交
464fd3e0
编写于
12月 02, 2010
作者:
D
dav
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7002173: java.awt package docs build warnings
Reviewed-by: ant
上级
8adb7798
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
11 addition
and
11 deletion
+11
-11
src/share/classes/java/awt/SecondaryLoop.java
src/share/classes/java/awt/SecondaryLoop.java
+11
-11
未找到文件。
src/share/classes/java/awt/SecondaryLoop.java
浏览文件 @
464fd3e0
...
@@ -30,15 +30,15 @@ package java.awt;
...
@@ -30,15 +30,15 @@ package java.awt;
* <p>
* <p>
* Objects that implement this interface are created with the
* Objects that implement this interface are created with the
* {@link EventQueue#createSecondaryLoop} method. The interface
* {@link EventQueue#createSecondaryLoop} method. The interface
* provides two methods, {@link
enter} and {@link
exit},
* provides two methods, {@link
#enter} and {@link #
exit},
* which can be used to start and stop the event loop.
* which can be used to start and stop the event loop.
* <p>
* <p>
* When the {@link enter} method is called, the current
* When the {@link
#
enter} method is called, the current
* thread is blocked until the loop is terminated by the
* thread is blocked until the loop is terminated by the
* {@link exit} method. Also, a new event loop is started
* {@link
#
exit} method. Also, a new event loop is started
* on the event dispatch thread, which may or may not be
* on the event dispatch thread, which may or may not be
* the current thread. The loop can be terminated on any
* the current thread. The loop can be terminated on any
* thread by calling its {@link exit} method. After the
* thread by calling its {@link
#
exit} method. After the
* loop is terminated, the {@code SecondaryLoop} object can
* loop is terminated, the {@code SecondaryLoop} object can
* be reused to run a new nested event loop.
* be reused to run a new nested event loop.
* <p>
* <p>
...
@@ -102,7 +102,7 @@ public interface SecondaryLoop {
...
@@ -102,7 +102,7 @@ public interface SecondaryLoop {
* <p>
* <p>
* This method can be called by any thread including the event
* This method can be called by any thread including the event
* dispatch thread. This thread will be blocked until the {@link
* dispatch thread. This thread will be blocked until the {@link
* exit} method is called or the loop is terminated. A new
*
#
exit} method is called or the loop is terminated. A new
* secondary loop will be created on the event dispatch thread
* secondary loop will be created on the event dispatch thread
* for dispatching events in either case.
* for dispatching events in either case.
* <p>
* <p>
...
@@ -123,23 +123,23 @@ public interface SecondaryLoop {
...
@@ -123,23 +123,23 @@ public interface SecondaryLoop {
/**
/**
* Unblocks the execution of the thread blocked by the {@link
* Unblocks the execution of the thread blocked by the {@link
* enter} method and exits the secondary loop.
*
#
enter} method and exits the secondary loop.
* <p>
* <p>
* This method resumes the thread that called the {@link enter}
* This method resumes the thread that called the {@link
#
enter}
* method and exits the secondary loop that was created when
* method and exits the secondary loop that was created when
* the {@link enter} method was invoked.
* the {@link
#
enter} method was invoked.
* <p>
* <p>
* Note that if any other secondary loop is started while this
* Note that if any other secondary loop is started while this
* loop is running, the blocked thread will not resume execution
* loop is running, the blocked thread will not resume execution
* until the nested loop is terminated.
* until the nested loop is terminated.
* <p>
* <p>
* If this secondary loop has not been started with the {@link
* If this secondary loop has not been started with the {@link
* enter} method, or this secondary loop has already finished
*
#
enter} method, or this secondary loop has already finished
* with the {@link exit} method, this method returns {@code
* with the {@link
#
exit} method, this method returns {@code
* false}, otherwise {@code true} is returned.
* false}, otherwise {@code true} is returned.
*
*
* @return {@code true} if this loop was previously started and
* @return {@code true} if this loop was previously started and
* has not yet been finished with the {@link exit} method,
* has not yet been finished with the {@link
#
exit} method,
* {@code false} otherwise
* {@code false} otherwise
*/
*/
public
boolean
exit
();
public
boolean
exit
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录