| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private native void | |
| private native void | |
| private native void | |
| private native void | |
| pack-priv Size | getBestSize()
Implements abstract com. Returns the preferred size of a native cursor. |
| pack-priv void | setHotSpot(int
the X offset of the hot spot hotspotX, int the Y offset of the hot spot. hotspotY)Implements abstract com. Sets the offset of the cursor's hot spot within the cursor image The hot spot offsets default to 0, 0. |
| pack-priv void | setImage(byte[]
the cursor image, in BYTE_BGRA_PRE format cursorImage)Implements abstract com. Sets the cursor image |
| pack-priv void | setLocation(int
the new X location on the screen x, int the new Y location on the screen y)Implements abstract com. Sets the location of the hot spot of the cursor on the screen |
| pack-priv void | setVisibility(boolean
the new setting for the cursor's visibility. visibility)Implements abstract com. Sets whether or not the cursor is visible. |
| pack-priv void | shutdown()
Implements abstract com. Performs any necessary shutdown of the cursor infrastructure. |
| private void |
| CURSOR_HEIGHT | back to summary |
|---|---|
| private static final int CURSOR_HEIGHT | |
| CURSOR_WIDTH | back to summary |
|---|---|
| private static final int CURSOR_WIDTH | |
| EGLCursor | back to summary |
|---|---|
| pack-priv EGLCursor() | |
| _initEGLCursor | back to summary |
|---|---|
| private native void _initEGLCursor(int cursorWidth, int cursorHeight) | |
| _setImage | back to summary |
|---|---|
| private native void _setImage(byte[] cursorImage) | |
| _setLocation | back to summary |
|---|---|
| private native void _setLocation(int x, int y) | |
| _setVisible | back to summary |
|---|---|
| private native void _setVisible(boolean visible) | |
| getBestSize | back to summary |
|---|---|
| pack-priv Size getBestSize() Implements abstract com. Doc from com. Returns the preferred size of a native cursor.
| |
| setHotSpot | back to summary |
|---|---|
| pack-priv void setHotSpot(int hotspotX, int hotspotY) Implements abstract com. Doc from com. Sets the offset of the cursor's hot spot within the cursor image The hot spot offsets default to 0, 0.
| |
| setImage | back to summary |
|---|---|
| pack-priv void setImage(byte[] cursorImage) Implements abstract com. Doc from com. Sets the cursor image
| |
| setLocation | back to summary |
|---|---|
| pack-priv void setLocation(int x, int y) Implements abstract com. Doc from com. Sets the location of the hot spot of the cursor on the screen
| |
| setVisibility | back to summary |
|---|---|
| pack-priv void setVisibility(boolean visibility) Implements abstract com. Doc from com. Sets whether or not the cursor is visible. The implementation should set the isVisible field. On success the isVisible field is set to the visibility parameter.
| |
| shutdown | back to summary |
|---|---|
| pack-priv void shutdown() Implements abstract com. Doc from com. Performs any necessary shutdown of the cursor infrastructure. Called only once.
| |
| updateImage | back to summary |
|---|---|
| private void updateImage(boolean always) | |