|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.swing.JideCursors
public class JideCursors
A utility class that create additional cursors used by JIDE products.
Notes: this class has to be public so that JIDE can use it in different packages, not meant to release to end user as a public API. JIDE will not guarantee the class will remain as it is.
Field Summary | |
---|---|
static int |
DELETE_CURSOR
The cursor point when dragged item will be inserted in between. |
static int |
DRAG_CURSOR
The drag cursor type. |
static int |
DRAG_STOP_CURSOR
The no-drop cursor type. |
static int |
DRAG_TEXT_CURSOR
The drag cursor type for text. |
static int |
DRAG_TEXT_STOP_CURSOR
The no-drop cursor type for text. |
static int |
EAST_CURSOR
The cursor point pointing to east side. |
static int |
FIRST_CUSTOM_CURSOR
First id of Cursors used in JIDE products. |
static int |
FLOAT_CURSOR
The cursor point when dragged item is floating. |
static int |
HORIZONTAL_CURSOR
The cursor point when dragged item will be inserted in between. |
static int |
HSPLIT_CURSOR
The horizontal split cursor type. |
static int |
LAST_CUSTOM_CURSOR
Last id of cursor used by JIDE products. |
static int |
MOVE_EAST_CURSOR
The cursor for moving toward east. |
static int |
MOVE_WEST_CURSOR
The cursor for moving toward west. |
static int |
NORTH_CURSOR
The cursor point pointing to north side. |
static int |
PERCENTAGE_CURSOR
The cursor for changing percentage. |
static int |
SOUTH_CURSOR
The cursor point pointing to south side. |
static int |
TAB_CURSOR
The cursor point pointing when dragged item will be in tabbed pane. |
static int |
VERTICAL_CURSOR
The cursor point when dragged item will be inserted in between. |
static int |
VSPLIT_CURSOR
The vertical split cursor type. |
static int |
WEST_CURSOR
The cursor point pointing to west side. |
Constructor Summary | |
---|---|
JideCursors()
|
Method Summary | |
---|---|
protected static Cursor |
createCursor(int type)
Creates a cursor specified by type. |
static Cursor |
getPredefinedCursor(int type)
Returns a cursor object with the specified predefined type. |
static void |
setPredefinedCursor(int type,
Cursor cursor)
Sets a cursor object with the specified predefined type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FIRST_CUSTOM_CURSOR
public static final int HSPLIT_CURSOR
public static final int VSPLIT_CURSOR
public static final int DRAG_CURSOR
public static final int DRAG_STOP_CURSOR
public static final int NORTH_CURSOR
public static final int SOUTH_CURSOR
public static final int EAST_CURSOR
public static final int WEST_CURSOR
public static final int TAB_CURSOR
public static final int FLOAT_CURSOR
public static final int VERTICAL_CURSOR
public static final int HORIZONTAL_CURSOR
public static final int DELETE_CURSOR
public static final int DRAG_TEXT_CURSOR
public static final int DRAG_TEXT_STOP_CURSOR
public static final int PERCENTAGE_CURSOR
public static final int MOVE_EAST_CURSOR
public static final int MOVE_WEST_CURSOR
public static final int LAST_CUSTOM_CURSOR
Constructor Detail |
---|
public JideCursors()
Method Detail |
---|
public static Cursor getPredefinedCursor(int type)
type
- the type of predefined cursor
IllegalArgumentException
- if the specified cursor type is invalidpublic static void setPredefinedCursor(int type, Cursor cursor)
type
- the type of predefined cursorcursor
- the cursor associated with that type
IllegalArgumentException
- if the specified cursor type is invalidprotected static Cursor createCursor(int type)
type
- cursor type
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |