| Modifier and Type | Field and Description |
|---|---|
| private final DisplayImpl | |
| private long | |
| private int | |
| private volatile boolean | |
| private final PointImmutable | |
| private final PixelFormat | |
| private final ByteBuffer | |
| private final DimensionImmutable |
| Access | Constructor and Description |
|---|---|
| public | PointerIconImpl(final DisplayImpl display, final PixelFormat pixelformat, final DimensionImmutable size, final ByteBuffer pixels, final PointImmutable hotspot, final long handle)
|
| public | PointerIconImpl(final DisplayImpl display, final PixelRectangle pixelrect, final PointImmutable hotspot, final long handle)
|
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| pack-priv synchronized void | |
| public final Display | |
| public final synchronized long | |
| public final PointImmutable | |
| public final PixelFormat | getPixelformat()
Implements com. PixelFormat.
|
| public final ByteBuffer | |
| public final DimensionImmutable | getSize()
Implements com. |
| public final int | getStride()
Implements com. |
| public int | hashCode()
Overrides java. Implements com.
|
| public final boolean | isGLOriented()
Implements com. |
| public final synchronized boolean | isValid()
Implements com. |
| public final String | toString()
Overrides java. Implements com. |
| public final synchronized boolean | validate()
Implements com. isValid() or validation was successful, otherwise false.
|
| public final synchronized long |
| display | back to summary |
|---|---|
| private final DisplayImpl display | |
| handle | back to summary |
|---|---|
| private long handle | |
| hashCode | back to summary |
|---|---|
| private int hashCode | |
| hashCodeComputed | back to summary |
|---|---|
| private volatile boolean hashCodeComputed | |
| hotspot | back to summary |
|---|---|
| private final PointImmutable hotspot | |
| pixelformat | back to summary |
|---|---|
| private final PixelFormat pixelformat | |
| pixels | back to summary |
|---|---|
| private final ByteBuffer pixels | |
| size | back to summary |
|---|---|
| private final DimensionImmutable size | |
| PointerIconImpl | back to summary |
|---|---|
| public PointerIconImpl(final DisplayImpl display, final PixelFormat pixelformat, final DimensionImmutable size, final ByteBuffer pixels, final PointImmutable hotspot, final long handle) | |
| PointerIconImpl | back to summary |
|---|---|
| public PointerIconImpl(final DisplayImpl display, final PixelRectangle pixelrect, final PointImmutable hotspot, final long handle) | |
| destroy | back to summary |
|---|---|
| public synchronized void destroy() Implements com. Doc from com. Destroys this instance.
Will be called automatically if it's
| |
| destroyOnEDT | back to summary |
|---|---|
| pack-priv synchronized void destroyOnEDT(final long dpy) No checks, assume execution on EDT | |
| getDisplay | back to summary |
|---|---|
| public final Display getDisplay() Implements com.
| |
| getHandle | back to summary |
|---|---|
| public final synchronized long getHandle() | |
| getHotspot | back to summary |
|---|---|
| public final PointImmutable getHotspot() Implements com. Doc from com. Returns the hotspot.
| |
| getPixelformat | back to summary |
|---|---|
| public final PixelFormat getPixelformat() Implements com. Doc from com. Returns the
| |
| getPixels | back to summary |
|---|---|
| public final ByteBuffer getPixels() Implements com. Doc from com. Returns the pixels.
| |
| getSize | back to summary |
|---|---|
| public final DimensionImmutable getSize() Implements com. Doc from com. Returns the size, i.e. width and height.
| |
| getStride | back to summary |
|---|---|
| public final int getStride() Implements com. Doc from com. Always neatly packed, i.e. width * bytes_per_pixel. Returns stride in byte-size, i.e. byte count from one line to the next.
Must be >=
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements com. Doc from com. Computes a hash code over:
The hashCode shall be computed only once with first call and stored for later retrieval to enhance performance.
Computes a hash code over:
The hashCode shall be computed only once with first call and stored for later retrieval to enhance performance.
| |
| isGLOriented | back to summary |
|---|---|
| public final boolean isGLOriented() Implements com. Doc from com. Always false, i.e. origin is TOP-LEFT.
Returns
| |
| isValid | back to summary |
|---|---|
| public final synchronized boolean isValid() Implements com. Doc from com. Returns true if valid, otherwise false.
A PointerIcon instance becomes invalid if it's
| |
| toString | back to summary |
|---|---|
| public final String toString() Overrides java. Implements com. Doc from java. Returns a string representation of the object. | |
| validate | back to summary |
|---|---|
| public final synchronized boolean validate() Implements com. Doc from com. Returns true if instance
Validation, i.e. recreation, is required if instance became invalid, see
| |
| validatedHandle | back to summary |
|---|---|
| public final synchronized long validatedHandle() | |