Set system mouse cursor, displayed on the window. @param cursor system cursor type @return this
(MouseCursor cursor)
| 222 | * @return this |
| 223 | */ |
| 224 | @NotNull @Contract("-> this") |
| 225 | public Window setMouseCursor(MouseCursor cursor) { |
| 226 | assert _onUIThread() : "Should be run on UI thread"; |
| 227 | if (cursor != _lastCursor) { |
| 228 | _lastCursor = cursor; |
| 229 | _nSetMouseCursor(cursor.ordinal()); |
| 230 | } |
| 231 | return this; |
| 232 | } |
| 233 | |
| 234 | /** |
| 235 | * <p>Hides mouse cursor until moved</p> |
nothing calls this directly
no test coverage detected