public static class MousePtrWrapper.BinaryMousePtrWrapper extends java.lang.Object implements MousePtrWrapper
MousePtrWrapper.BinaryMousePtrWrapper, MousePtrWrapper.PreDefinedMousePtrWrapper, MousePtrWrapper.StaticMousePtrWrapper| Modifier and Type | Field and Description |
|---|---|
private byte[] |
data
cursor data
|
private java.lang.String |
mimeType |
CROSS, CROSS_PTR, DEFAULT, DEFAULT_PTR, E_RESIZE, E_RESIZE_PTR, HAND, HAND_PTR, MOVE, MOVE_PTR, N_RESIZE, N_RESIZE_PTR, NE_RESIZE, NE_RESIZE_PTR, NW_RESIZE, NW_RESIZE_PTR, S_RESIZE, S_RESIZE_PTR, SE_RESIZE, SE_RESIZE_PTR, SW_RESIZE, SW_RESIZE_PTR, TEXT, TEXT_PTR, W_RESIZE, W_RESIZE_PTR, WAIT, WAIT_PTR| Constructor and Description |
|---|
BinaryMousePtrWrapper(byte[] data,
java.lang.String mimeType)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
data()
Get the cursor data
|
boolean |
isPredefined()
Check if the cursor is predefined
|
java.lang.String |
mimeType()
Get the cursor mime type
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAnimatedInstance, createPreDefinedInstance, createStaticSwingInstance, createStaticWebInstance, cursor, style, typeprivate final byte[] data
private final java.lang.String mimeType
public BinaryMousePtrWrapper(byte[] data,
java.lang.String mimeType)
data - cursor datapublic boolean isPredefined()
isPredefined in interface MousePtrWrappertrue if the cursor is predefinedpublic java.lang.String mimeType()
mimeType in interface MousePtrWrapperpublic byte[] data()
data in interface MousePtrWrapper