|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.Cursor
Cursor Class.
NOTE: This class is not full compatible with java.awt.Cursor class!
Field Summary | |
static int |
BLANK_CURSOR
The blank cursor type. |
static int |
CROSSHAIR_CURSOR
The crosshair cursor type. |
static int |
CUSTOM_CURSOR
The blank cursor type. |
static int |
DEFAULT_CURSOR
The default cursor type. |
static int |
E_RESIZE_CURSOR
The east-resize cursor type. |
static int |
FORBIDDEN_CURSOR
The forbidden cursor type. |
static int |
H_SPLIT_CURSOR
The horizontal cursor type. |
static int |
HAND_CURSOR
The hand cursor type. |
static int |
MOVE_CURSOR
The move cursor type. |
static int |
N_RESIZE_CURSOR
The north-resize cursor type. |
static int |
NE_RESIZE_CURSOR
The north-east-resize cursor type. |
static int |
NW_RESIZE_CURSOR
The north-west-resize cursor type. |
static int |
S_RESIZE_CURSOR
The south-resize cursor type. |
static int |
SE_RESIZE_CURSOR
The south-east-resize cursor type. |
static int |
SW_RESIZE_CURSOR
The south-west-resize cursor type. |
static int |
TEXT_CURSOR
The text cursor type. |
static int |
UP_ARROW_CURSOR
The up arrow cursor type. |
static int |
V_SPLIT_CURSOR
The vertical split cursor type. |
static int |
W_RESIZE_CURSOR
The west-resize cursor type. |
static int |
WAIT_CURSOR
The wait cursor type. |
static int |
WHATS_THIS_CURSOR
The whats this cursor type. |
Constructor Summary | |
Cursor(int type)
Constructs new Cursor object. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
static Cursor |
getDefaultCursor()
Returns the system default cursor. |
java.lang.String |
getName()
Returns cursor name. |
static Cursor |
getPredefinedCursor(int type)
Returns predefined cursor. |
int |
getType()
Returns cursor type. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DEFAULT_CURSOR
public static final int CROSSHAIR_CURSOR
public static final int TEXT_CURSOR
public static final int WAIT_CURSOR
public static final int SW_RESIZE_CURSOR
public static final int SE_RESIZE_CURSOR
public static final int NW_RESIZE_CURSOR
public static final int NE_RESIZE_CURSOR
public static final int N_RESIZE_CURSOR
public static final int S_RESIZE_CURSOR
public static final int W_RESIZE_CURSOR
public static final int E_RESIZE_CURSOR
public static final int HAND_CURSOR
public static final int MOVE_CURSOR
public static final int UP_ARROW_CURSOR
public static final int FORBIDDEN_CURSOR
public static final int WHATS_THIS_CURSOR
public static final int V_SPLIT_CURSOR
public static final int H_SPLIT_CURSOR
public static final int BLANK_CURSOR
public static final int CUSTOM_CURSOR
Constructor Detail |
public Cursor(int type)
type
- the cursor type
java.lang.IllegalArgumentException
- if the type is invalidMethod Detail |
public int getType()
public java.lang.String getName()
public static Cursor getPredefinedCursor(int type)
type
- the cursor type
java.lang.IllegalArgumentException
- if the type is invalidpublic static Cursor getDefaultCursor()
public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |