OpenJDK / jdk / hs
changeset 42716:d73214741c3c
6614519: [Doc] Description java.awt.dnd.DragSourceContext.getCursor() should be clarified
Reviewed-by: serb, ssadetsky
author | arapte |
---|---|
date | Thu, 17 Nov 2016 14:14:40 +0530 |
parents | a98ffed57659 |
children | 367db14731fb |
files | jdk/src/java.desktop/share/classes/java/awt/dnd/DragSourceContext.java |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/src/java.desktop/share/classes/java/awt/dnd/DragSourceContext.java Thu Nov 17 11:57:56 2016 +0530 +++ b/jdk/src/java.desktop/share/classes/java/awt/dnd/DragSourceContext.java Thu Nov 17 14:14:40 2016 +0530 @@ -279,7 +279,7 @@ } /** - * Sets the cursor for this drag operation to the specified + * Sets the custom cursor for this drag operation to the specified * {@code Cursor}. If the specified {@code Cursor} * is {@code null}, the default drag cursor behavior is * activated for this drag operation, otherwise it is deactivated. @@ -298,9 +298,11 @@ } /** - * Returns the current drag {@code Cursor}. + * Returns the current custom drag {@code Cursor}. * - * @return the current drag {@code Cursor} + * @return the current custom drag {@code Cursor}, if it was set + * otherwise returns {@code null}. + * @see #setCursor */ public Cursor getCursor() { return cursor; }