public static enum MousePtrWrapper.PreDefinedMousePtrWrapper extends java.lang.Enum<MousePtrWrapper.PreDefinedMousePtrWrapper> implements MousePtrWrapper
MousePtrWrapper.BinaryMousePtrWrapper, MousePtrWrapper.PreDefinedMousePtrWrapper, MousePtrWrapper.StaticMousePtrWrapper| Enum Constant and Description |
|---|
CROSS |
DEFAULT |
E_RESIZE |
HAND |
MOVE |
N_RESIZE |
NE_RESIZE |
NW_RESIZE |
S_RESIZE |
SE_RESIZE |
SW_RESIZE |
TEXT |
W_RESIZE |
WAIT |
| Modifier and Type | Field and Description |
|---|---|
private CursorType |
type
cursor type
|
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| Modifier and Type | Method and Description |
|---|---|
boolean |
isPredefined()
Check if the cursor is predefined
|
int |
style()
Get the cursor style
|
java.lang.String |
toString()
Get the String representation of the helper
|
CursorType |
type()
Get the cursor type
|
static MousePtrWrapper.PreDefinedMousePtrWrapper |
valueOf(CursorType type)
Retrieve the helper for a cursor type
|
static MousePtrWrapper.PreDefinedMousePtrWrapper |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MousePtrWrapper.PreDefinedMousePtrWrapper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfcreateAnimatedInstance, createPreDefinedInstance, createStaticSwingInstance, createStaticWebInstance, cursor, data, mimeTypepublic static final MousePtrWrapper.PreDefinedMousePtrWrapper DEFAULT
public static final MousePtrWrapper.PreDefinedMousePtrWrapper TEXT
public static final MousePtrWrapper.PreDefinedMousePtrWrapper N_RESIZE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper NE_RESIZE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper E_RESIZE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper SE_RESIZE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper S_RESIZE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper SW_RESIZE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper W_RESIZE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper NW_RESIZE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper CROSS
public static final MousePtrWrapper.PreDefinedMousePtrWrapper WAIT
public static final MousePtrWrapper.PreDefinedMousePtrWrapper MOVE
public static final MousePtrWrapper.PreDefinedMousePtrWrapper HAND
private final CursorType type
public static MousePtrWrapper.PreDefinedMousePtrWrapper[] values()
for (MousePtrWrapper.PreDefinedMousePtrWrapper c : MousePtrWrapper.PreDefinedMousePtrWrapper.values()) System.out.println(c);
public static MousePtrWrapper.PreDefinedMousePtrWrapper valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MousePtrWrapper.PreDefinedMousePtrWrapper valueOf(CursorType type)
type - cursor typenull if the type is unknownpublic CursorType type()
type in interface MousePtrWrapperpublic java.lang.String toString()
toString in class java.lang.Enum<MousePtrWrapper.PreDefinedMousePtrWrapper>public boolean isPredefined()
isPredefined in interface MousePtrWrappertrue if the cursor is predefinedpublic int style()
style in interface MousePtrWrapper