MCPcopy Create free account
hub / github.com/HumbleUI/JWM / setMouseCursor

Method setMouseCursor

shared/java/Window.java:224–232  ·  view source on GitHub ↗

Set system mouse cursor, displayed on the window. @param cursor system cursor type @return this

(MouseCursor cursor)

Source from the content-addressed store, hash-verified

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>

Callers

nothing calls this directly

Calls 2

_onUIThreadMethod · 0.95
_nSetMouseCursorMethod · 0.95

Tested by

no test coverage detected