Top Description Fields Constructors Methods
com.sun.glass.ui.monocle

public Class X11WarpingCursor

extends X11Cursor
Class Inheritance

Native cursor for use with X11 when we are NOT using x11 input

Field Summary

Modifier and TypeField and Description
private int
private int
private static X
Inherited from com.sun.glass.ui.monocle.X11Cursor:
xdisplayxwindow

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv void
setLocation(int
the new X location on the screen
x
,
int
the new Y location on the screen
y
)

Overrides com.sun.glass.ui.monocle.X11Cursor.setLocation.

Update the next coordinates for the cursor.

pack-priv void
warp()

Called from the swap buffer implementation for this accelerated screen.

Inherited from com.sun.glass.ui.monocle.X11Cursor:
getBestSizesetHotSpotsetImagesetVisibilityshutdown

Field Detail

nextXback to summary
private int nextX
nextYback to summary
private int nextY
xLibback to summary
private static X xLib

Hides com.sun.glass.ui.monocle.X11Cursor.xLib.

Constructor Detail

X11WarpingCursorback to summary
public X11WarpingCursor()

Method Detail

setLocationback to summary
pack-priv void setLocation(int x, int y)

Overrides com.sun.glass.ui.monocle.X11Cursor.setLocation.

Update the next coordinates for the cursor. The actual move will occur on the next buffer swap

Parameters
x:int

the new X location on the screen

y:int

the new Y location on the screen

Annotations
@Override
warpback to summary
pack-priv void warp()

Called from the swap buffer implementation for this accelerated screen. Tells X to move the cursor by a given x/y offset from the current location.