Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
400e3195
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看板
提交
400e3195
编写于
9月 24, 2013
作者:
Y
yan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8025114: Eliminate doclint errors in java.awt.dnd package javadoc
Reviewed-by: serb, alexsch
上级
c0fafdbf
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
40 addition
and
41 deletion
+40
-41
src/share/classes/java/awt/dnd/DragGestureRecognizer.java
src/share/classes/java/awt/dnd/DragGestureRecognizer.java
+5
-5
src/share/classes/java/awt/dnd/DragSource.java
src/share/classes/java/awt/dnd/DragSource.java
+1
-1
src/share/classes/java/awt/dnd/DragSourceContext.java
src/share/classes/java/awt/dnd/DragSourceContext.java
+1
-1
src/share/classes/java/awt/dnd/DragSourceDragEvent.java
src/share/classes/java/awt/dnd/DragSourceDragEvent.java
+5
-5
src/share/classes/java/awt/dnd/DragSourceDropEvent.java
src/share/classes/java/awt/dnd/DragSourceDropEvent.java
+3
-3
src/share/classes/java/awt/dnd/DragSourceEvent.java
src/share/classes/java/awt/dnd/DragSourceEvent.java
+2
-2
src/share/classes/java/awt/dnd/DropTarget.java
src/share/classes/java/awt/dnd/DropTarget.java
+2
-2
src/share/classes/java/awt/dnd/DropTargetDragEvent.java
src/share/classes/java/awt/dnd/DropTargetDragEvent.java
+6
-6
src/share/classes/java/awt/dnd/DropTargetDropEvent.java
src/share/classes/java/awt/dnd/DropTargetDropEvent.java
+15
-16
未找到文件。
src/share/classes/java/awt/dnd/DragGestureRecognizer.java
浏览文件 @
400e3195
...
@@ -114,7 +114,7 @@ public abstract class DragGestureRecognizer implements Serializable {
...
@@ -114,7 +114,7 @@ public abstract class DragGestureRecognizer implements Serializable {
* @param dgl the <code>DragGestureRecognizer</code>
* @param dgl the <code>DragGestureRecognizer</code>
* to notify when a drag gesture is detected
* to notify when a drag gesture is detected
* <P>
* <P>
* @throws
<code>IllegalArgumentException</code>
* @throws
IllegalArgumentException
* if ds is <code>null</code>.
* if ds is <code>null</code>.
*/
*/
...
@@ -157,7 +157,7 @@ public abstract class DragGestureRecognizer implements Serializable {
...
@@ -157,7 +157,7 @@ public abstract class DragGestureRecognizer implements Serializable {
* @param sa the set (logical OR) of the <code>DnDConstants</code>
* @param sa the set (logical OR) of the <code>DnDConstants</code>
* that this Drag and Drop operation will support
* that this Drag and Drop operation will support
* <P>
* <P>
* @throws
<code>IllegalArgumentException</code>
* @throws
IllegalArgumentException
* if ds is <code>null</code>.
* if ds is <code>null</code>.
*/
*/
...
@@ -185,7 +185,7 @@ public abstract class DragGestureRecognizer implements Serializable {
...
@@ -185,7 +185,7 @@ public abstract class DragGestureRecognizer implements Serializable {
* the <code>DragGestureRecognizer</code>
* the <code>DragGestureRecognizer</code>
* is not associated with any <code>Component</code>.
* is not associated with any <code>Component</code>.
* <P>
* <P>
* @throws
<code>IllegalArgumentException</code>
* @throws
IllegalArgumentException
* if ds is <code>null</code>.
* if ds is <code>null</code>.
*/
*/
...
@@ -202,7 +202,7 @@ public abstract class DragGestureRecognizer implements Serializable {
...
@@ -202,7 +202,7 @@ public abstract class DragGestureRecognizer implements Serializable {
* <code>DragGestureRecognizer</code> will
* <code>DragGestureRecognizer</code> will
* use to process the Drag and Drop operation
* use to process the Drag and Drop operation
* <P>
* <P>
* @throws
<code>IllegalArgumentException</code>
* @throws
IllegalArgumentException
* if ds is <code>null</code>.
* if ds is <code>null</code>.
*/
*/
...
@@ -332,7 +332,7 @@ public abstract class DragGestureRecognizer implements Serializable {
...
@@ -332,7 +332,7 @@ public abstract class DragGestureRecognizer implements Serializable {
* @param dgl the <code>DragGestureListener</code> to unregister
* @param dgl the <code>DragGestureListener</code> to unregister
* from this <code>DragGestureRecognizer</code>
* from this <code>DragGestureRecognizer</code>
* <P>
* <P>
* @throws
<code>IllegalArgumentException</code>
if
* @throws
IllegalArgumentException
if
* dgl is not (equal to) the currently registered <code>DragGestureListener</code>.
* dgl is not (equal to) the currently registered <code>DragGestureListener</code>.
*/
*/
...
...
src/share/classes/java/awt/dnd/DragSource.java
浏览文件 @
400e3195
...
@@ -676,7 +676,7 @@ public class DragSource implements Serializable {
...
@@ -676,7 +676,7 @@ public class DragSource implements Serializable {
* <code><em>Foo</em>Listener</code>s on this
* <code><em>Foo</em>Listener</code>s on this
* <code>DragSource</code>, or an empty array if no such listeners
* <code>DragSource</code>, or an empty array if no such listeners
* have been added
* have been added
* @exception
<code>ClassCastException</code>
if <code>listenerType</code>
* @exception
ClassCastException
if <code>listenerType</code>
* doesn't specify a class or interface that implements
* doesn't specify a class or interface that implements
* <code>java.util.EventListener</code>
* <code>java.util.EventListener</code>
*
*
...
...
src/share/classes/java/awt/dnd/DragSourceContext.java
浏览文件 @
400e3195
...
@@ -63,7 +63,7 @@ import java.util.TooManyListenersException;
...
@@ -63,7 +63,7 @@ import java.util.TooManyListenersException;
* itself between the platform and the
* itself between the platform and the
* listeners provided by the initiator of the drag operation.
* listeners provided by the initiator of the drag operation.
* <p>
* <p>
* <a name="defaultCursor"
/
>
* <a name="defaultCursor"
></a
>
* By default, {@code DragSourceContext} sets the cursor as appropriate
* By default, {@code DragSourceContext} sets the cursor as appropriate
* for the current state of the drag and drop operation. For example, if
* for the current state of the drag and drop operation. For example, if
* the user has chosen {@linkplain DnDConstants#ACTION_MOVE the move action},
* the user has chosen {@linkplain DnDConstants#ACTION_MOVE the move action},
...
...
src/share/classes/java/awt/dnd/DragSourceDragEvent.java
浏览文件 @
400e3195
...
@@ -47,9 +47,9 @@ import java.awt.event.InputEvent;
...
@@ -47,9 +47,9 @@ import java.awt.event.InputEvent;
* source and the drop action selected by the user. The user can select a drop
* source and the drop action selected by the user. The user can select a drop
* action by pressing modifier keys during the drag operation:
* action by pressing modifier keys during the drag operation:
* <pre>
* <pre>
* Ctrl + Shift -
>
ACTION_LINK
* Ctrl + Shift -
>
ACTION_LINK
* Ctrl -
>
ACTION_COPY
* Ctrl -
>
ACTION_COPY
* Shift -
>
ACTION_MOVE
* Shift -
>
ACTION_MOVE
* </pre>
* </pre>
* If the user selects a drop action, the <i>user drop action</i> is one of
* If the user selects a drop action, the <i>user drop action</i> is one of
* <code>DnDConstants</code> that represents the selected drop action if this
* <code>DnDConstants</code> that represents the selected drop action if this
...
@@ -103,7 +103,7 @@ public class DragSourceDragEvent extends DragSourceEvent {
...
@@ -103,7 +103,7 @@ public class DragSourceDragEvent extends DragSourceEvent {
* in one event. Use of the extended modifiers is
* in one event. Use of the extended modifiers is
* preferred.
* preferred.
*
*
* @throws
<code>IllegalArgumentException</code>
if <code>dsc</code> is <code>null</code>.
* @throws
IllegalArgumentException
if <code>dsc</code> is <code>null</code>.
*
*
* @see java.awt.event.InputEvent
* @see java.awt.event.InputEvent
* @see DragSourceEvent#getLocation
* @see DragSourceEvent#getLocation
...
@@ -154,7 +154,7 @@ public class DragSourceDragEvent extends DragSourceEvent {
...
@@ -154,7 +154,7 @@ public class DragSourceDragEvent extends DragSourceEvent {
* @param x the horizontal coordinate for the cursor location
* @param x the horizontal coordinate for the cursor location
* @param y the vertical coordinate for the cursor location
* @param y the vertical coordinate for the cursor location
*
*
* @throws
<code>IllegalArgumentException</code>
if <code>dsc</code> is <code>null</code>.
* @throws
IllegalArgumentException
if <code>dsc</code> is <code>null</code>.
*
*
* @see java.awt.event.InputEvent
* @see java.awt.event.InputEvent
* @since 1.4
* @since 1.4
...
...
src/share/classes/java/awt/dnd/DragSourceDropEvent.java
浏览文件 @
400e3195
...
@@ -63,7 +63,7 @@ public class DragSourceDropEvent extends DragSourceEvent {
...
@@ -63,7 +63,7 @@ public class DragSourceDropEvent extends DragSourceEvent {
* @param action the drop action
* @param action the drop action
* @param success a boolean indicating if the drop was successful
* @param success a boolean indicating if the drop was successful
*
*
* @throws
<code>IllegalArgumentException</code>
if <code>dsc</code> is <code>null</code>.
* @throws
IllegalArgumentException
if <code>dsc</code> is <code>null</code>.
*
*
* @see DragSourceEvent#getLocation
* @see DragSourceEvent#getLocation
*/
*/
...
@@ -91,7 +91,7 @@ public class DragSourceDropEvent extends DragSourceEvent {
...
@@ -91,7 +91,7 @@ public class DragSourceDropEvent extends DragSourceEvent {
* @param x the horizontal coordinate for the cursor location
* @param x the horizontal coordinate for the cursor location
* @param y the vertical coordinate for the cursor location
* @param y the vertical coordinate for the cursor location
*
*
* @throws
<code>IllegalArgumentException</code>
if <code>dsc</code> is <code>null</code>.
* @throws
IllegalArgumentException
if <code>dsc</code> is <code>null</code>.
*
*
* @since 1.4
* @since 1.4
*/
*/
...
@@ -112,7 +112,7 @@ public class DragSourceDropEvent extends DragSourceEvent {
...
@@ -112,7 +112,7 @@ public class DragSourceDropEvent extends DragSourceEvent {
*
*
* @param dsc the <code>DragSourceContext</code>
* @param dsc the <code>DragSourceContext</code>
*
*
* @throws
<code>IllegalArgumentException</code>
if <code>dsc</code> is <code>null</code>.
* @throws
IllegalArgumentException
if <code>dsc</code> is <code>null</code>.
*
*
* @see DragSourceEvent#getLocation
* @see DragSourceEvent#getLocation
*/
*/
...
...
src/share/classes/java/awt/dnd/DragSourceEvent.java
浏览文件 @
400e3195
...
@@ -96,7 +96,7 @@ public class DragSourceEvent extends EventObject {
...
@@ -96,7 +96,7 @@ public class DragSourceEvent extends EventObject {
*
*
* @param dsc the <code>DragSourceContext</code>
* @param dsc the <code>DragSourceContext</code>
*
*
* @throws
<code>IllegalArgumentException</code>
if <code>dsc</code> is <code>null</code>.
* @throws
IllegalArgumentException
if <code>dsc</code> is <code>null</code>.
*
*
* @see #getLocation
* @see #getLocation
*/
*/
...
@@ -117,7 +117,7 @@ public class DragSourceEvent extends EventObject {
...
@@ -117,7 +117,7 @@ public class DragSourceEvent extends EventObject {
* @param x the horizontal coordinate for the cursor location
* @param x the horizontal coordinate for the cursor location
* @param y the vertical coordinate for the cursor location
* @param y the vertical coordinate for the cursor location
*
*
* @throws
<code>IllegalArgumentException</code>
if <code>dsc</code> is <code>null</code>.
* @throws
IllegalArgumentException
if <code>dsc</code> is <code>null</code>.
*
*
* @since 1.4
* @since 1.4
*/
*/
...
...
src/share/classes/java/awt/dnd/DropTarget.java
浏览文件 @
400e3195
...
@@ -305,7 +305,7 @@ public class DropTarget implements DropTargetListener, Serializable {
...
@@ -305,7 +305,7 @@ public class DropTarget implements DropTargetListener, Serializable {
* <P>
* <P>
* @param dtl The new <code>DropTargetListener</code>
* @param dtl The new <code>DropTargetListener</code>
* <P>
* <P>
* @throws
<code>TooManyListenersException</code>
if a
* @throws
TooManyListenersException
if a
* <code>DropTargetListener</code> is already added to this
* <code>DropTargetListener</code> is already added to this
* <code>DropTarget</code>.
* <code>DropTarget</code>.
*/
*/
...
@@ -844,7 +844,7 @@ public class DropTarget implements DropTargetListener, Serializable {
...
@@ -844,7 +844,7 @@ public class DropTarget implements DropTargetListener, Serializable {
int
actions
=
DnDConstants
.
ACTION_COPY_OR_MOVE
;
int
actions
=
DnDConstants
.
ACTION_COPY_OR_MOVE
;
/**
/**
* <code>true</code> if the DropTarget is accepting Drag & Drop operations.
* <code>true</code> if the DropTarget is accepting Drag &
amp;
Drop operations.
*
*
* @serial
* @serial
*/
*/
...
...
src/share/classes/java/awt/dnd/DropTargetDragEvent.java
浏览文件 @
400e3195
...
@@ -49,9 +49,9 @@ import java.util.List;
...
@@ -49,9 +49,9 @@ import java.util.List;
* source and the drop action selected by the user. The user can select a drop
* source and the drop action selected by the user. The user can select a drop
* action by pressing modifier keys during the drag operation:
* action by pressing modifier keys during the drag operation:
* <pre>
* <pre>
* Ctrl + Shift -
>
ACTION_LINK
* Ctrl + Shift -
>
ACTION_LINK
* Ctrl -
>
ACTION_COPY
* Ctrl -
>
ACTION_COPY
* Shift -
>
ACTION_MOVE
* Shift -
>
ACTION_MOVE
* </pre>
* </pre>
* If the user selects a drop action, the <i>user drop action</i> is one of
* If the user selects a drop action, the <i>user drop action</i> is one of
* <code>DnDConstants</code> that represents the selected drop action if this
* <code>DnDConstants</code> that represents the selected drop action if this
...
@@ -88,11 +88,11 @@ public class DropTargetDragEvent extends DropTargetEvent {
...
@@ -88,11 +88,11 @@ public class DropTargetDragEvent extends DropTargetEvent {
* @param srcActions The source drop actions
* @param srcActions The source drop actions
*
*
* @throws NullPointerException if cursorLocn is null
* @throws NullPointerException if cursorLocn is null
* @throws
<code>IllegalArgumentException</code>
if dropAction is not one of
* @throws
IllegalArgumentException
if dropAction is not one of
* <code>DnDConstants</code>.
* <code>DnDConstants</code>.
* @throws
<code>IllegalArgumentException</code>
if srcActions is not
* @throws
IllegalArgumentException
if srcActions is not
* a bitwise mask of <code>DnDConstants</code>.
* a bitwise mask of <code>DnDConstants</code>.
* @throws
<code>IllegalArgumentException</code>
if dtc is <code>null</code>.
* @throws
IllegalArgumentException
if dtc is <code>null</code>.
*/
*/
public
DropTargetDragEvent
(
DropTargetContext
dtc
,
Point
cursorLocn
,
int
dropAction
,
int
srcActions
)
{
public
DropTargetDragEvent
(
DropTargetContext
dtc
,
Point
cursorLocn
,
int
dropAction
,
int
srcActions
)
{
...
...
src/share/classes/java/awt/dnd/DropTargetDropEvent.java
浏览文件 @
400e3195
...
@@ -48,9 +48,9 @@ import java.util.List;
...
@@ -48,9 +48,9 @@ import java.util.List;
* source and the drop action selected by the user. The user can select a drop
* source and the drop action selected by the user. The user can select a drop
* action by pressing modifier keys during the drag operation:
* action by pressing modifier keys during the drag operation:
* <pre>
* <pre>
* Ctrl + Shift -
>
ACTION_LINK
* Ctrl + Shift -
>
ACTION_LINK
* Ctrl -
>
ACTION_COPY
* Ctrl -
>
ACTION_COPY
* Shift -
>
ACTION_MOVE
* Shift -
>
ACTION_MOVE
* </pre>
* </pre>
* If the user selects a drop action, the <i>user drop action</i> is one of
* If the user selects a drop action, the <i>user drop action</i> is one of
* <code>DnDConstants</code> that represents the selected drop action if this
* <code>DnDConstants</code> that represents the selected drop action if this
...
@@ -92,13 +92,13 @@ public class DropTargetDropEvent extends DropTargetEvent {
...
@@ -92,13 +92,13 @@ public class DropTargetDropEvent extends DropTargetEvent {
* @param dropAction the user drop action.
* @param dropAction the user drop action.
* @param srcActions the source drop actions.
* @param srcActions the source drop actions.
*
*
* @throws
<code>NullPointerException</code>
* @throws
NullPointerException
* if cursorLocn is <code>null</code>
* if cursorLocn is <code>null</code>
* @throws
<code>IllegalArgumentException</code> if dropAction is not one of
* @throws
IllegalArgumentException
* <code>DnDConstants</code>.
*
if dropAction is not one of
<code>DnDConstants</code>.
* @throws
<code>IllegalArgumentException</code> if srcActions is not
* @throws
IllegalArgumentException
* a bitwise mask of <code>DnDConstants</code>.
*
if srcActions is not
a bitwise mask of <code>DnDConstants</code>.
* @throws
<code>IllegalArgumentException</code>
if dtc is <code>null</code>.
* @throws
IllegalArgumentException
if dtc is <code>null</code>.
*/
*/
public
DropTargetDropEvent
(
DropTargetContext
dtc
,
Point
cursorLocn
,
int
dropAction
,
int
srcActions
)
{
public
DropTargetDropEvent
(
DropTargetContext
dtc
,
Point
cursorLocn
,
int
dropAction
,
int
srcActions
)
{
...
@@ -136,13 +136,12 @@ public class DropTargetDropEvent extends DropTargetEvent {
...
@@ -136,13 +136,12 @@ public class DropTargetDropEvent extends DropTargetEvent {
* @param srcActions the source drop actions.
* @param srcActions the source drop actions.
* @param isLocal True if the source is in the same JVM as the target
* @param isLocal True if the source is in the same JVM as the target
*
*
* @throws <code>NullPointerException</code> if cursorLocn is
* @throws NullPointerException
* <code>null</code>
* if cursorLocn is <code>null</code>
* @throws <code>IllegalArgumentException</code> if dropAction is not one of
* @throws IllegalArgumentException
* <code>DnDConstants</code>.
* if dropAction is not one of <code>DnDConstants</code>.
* @throws <code>IllegalArgumentException</code> if srcActions is not
* @throws IllegalArgumentException if srcActions is not a bitwise mask of <code>DnDConstants</code>.
* a bitwise mask of <code>DnDConstants</code>.
* @throws IllegalArgumentException if dtc is <code>null</code>.
* @throws <code>IllegalArgumentException</code> if dtc is <code>null</code>.
*/
*/
public
DropTargetDropEvent
(
DropTargetContext
dtc
,
Point
cursorLocn
,
int
dropAction
,
int
srcActions
,
boolean
isLocal
)
{
public
DropTargetDropEvent
(
DropTargetContext
dtc
,
Point
cursorLocn
,
int
dropAction
,
int
srcActions
,
boolean
isLocal
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录