6614519: [Doc] Description java.awt.dnd.DragSourceContext.getCursor() should be clarified
Reviewed-by: serb, ssadetsky
This commit is contained in:
parent
bd215e318b
commit
d1743ce948
@ -279,7 +279,7 @@ public class DragSourceContext
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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}
|
* {@code Cursor}. If the specified {@code Cursor}
|
||||||
* is {@code null}, the default drag cursor behavior is
|
* is {@code null}, the default drag cursor behavior is
|
||||||
* activated for this drag operation, otherwise it is deactivated.
|
* activated for this drag operation, otherwise it is deactivated.
|
||||||
@ -298,9 +298,11 @@ public class DragSourceContext
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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; }
|
public Cursor getCursor() { return cursor; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user