APIdia Launch Partner
Top Description Fields Constructors Methods
sun.awt

public abstract Class X11CustomCursor

extends CustomCursor
Class Inheritance
Known Direct Subclasses
sun.awt.X11.XCustomCursor
Annotations
@SuppressWarnings:serial
Imports
sun.awt.CustomCursor, java.awt.*, java.awt.image.*, sun.awt.image.ImageRepresentation

A class to encapsulate a custom image-based cursor.
Author
Thomas Ball
See Also
Component#setCursor

Field Summary

Inherited from sun.awt.CustomCursor:
image

Constructor Summary

AccessConstructor and Description
public
X11CustomCursor(Image cursor, Point hotSpot, String name)

Method Summary

Modifier and TypeMethod and Description
protected abstract void
createCursor(byte[] xorMask, byte[] andMask, int width, int height, int fcolor, int bcolor, int xHotSpot, int yHotSpot)

protected void
createNativeCursor(Image im, int[] pixels, int width, int height, int xHotSpot, int yHotSpot)

Implements abstract sun.awt.CustomCursor.createNativeCursor.

Constructor Detail

X11CustomCursorback to summary
public X11CustomCursor(Image cursor, Point hotSpot, String name) throws IndexOutOfBoundsException

Method Detail

createCursorback to summary
protected abstract void createCursor(byte[] xorMask, byte[] andMask, int width, int height, int fcolor, int bcolor, int xHotSpot, int yHotSpot)
createNativeCursorback to summary
protected void createNativeCursor(Image im, int[] pixels, int width, int height, int xHotSpot, int yHotSpot)

Implements abstract sun.awt.CustomCursor.createNativeCursor.

Annotations
@Override