|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjgnash.ui.util.CursorUtils
public class CursorUtils
Static cursor utilities
| Field Summary | |
|---|---|
private static java.lang.Object[][] |
cursorProperties
Cursor properties. |
private static java.awt.Cursor[] |
predefined
|
static int |
ZOOM_IN
Cursor type for a magnifying glass cursor with a '+' in the lens. |
static int |
ZOOM_OUT
Cursor type for a magnifying glass cursor with a '-' in the lens. |
| Constructor Summary | |
|---|---|
private |
CursorUtils()
|
| Method Summary | |
|---|---|
static java.awt.Cursor |
getCursor(int type)
Returns a custom cursor object of the type specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ZOOM_IN
public static final int ZOOM_OUT
private static final java.awt.Cursor[] predefined
private static final java.lang.Object[][] cursorProperties
| Constructor Detail |
|---|
private CursorUtils()
| Method Detail |
|---|
public static java.awt.Cursor getCursor(int type)
type - the type of the custom cursor as defined in this class
java.lang.IllegalArgumentException - if the specified cursor type is
invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||