|
java-gnome version 4.0.15 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Constant
org.freedesktop.bindings.Flag
org.gnome.gdk.CursorType
public final class CursorType
Constants representing the different forms of Cursor that can indicate where the mouse is pointing. Note that this is distinct from that blinking vertical bar that is the text position cursor in Entry and TextView Widgets.
The "normal" Cursor is LEFT_PTR
. That's the one you want
to switch back to if you've changed the Cursor to something exceptional.
The fact that "cursor" is used to name this class and the Cursor class which manipulates them is a bit strange seeing as how the term used in user interface design for the thing where your mouse is indicating is "pointer".
It was quite tempting to mess with the constant names here; after all
LEFT_PTR
is a poor substitute for "normal", but that would
screw up the algorithmic mapping of the underlying library that we have
worked so hard to maintain. The names are less than ideal in GDK, but so be
it..
Field Summary | |
---|---|
static CursorType |
BOTTOM_LEFT_CORNER
This Cursor is typically used with Widgets whose size can be changed manually when the mouse pointer is near the bottom left corner of the Widget. |
static CursorType |
BOTTOM_RIGHT_CORNER
This Cursor is typically used with Widgets whose size can be changed manually when the mouse pointer is near the bottom right corner of the Widget. |
static CursorType |
BOTTOM_SIDE
This Cursor is typically used with Widgets whose size can be changed manually when the mouse pointer is near the bottom side of the Widget. |
static CursorType |
FLEUR
The Cursor used to indicate a "move" operation. |
static CursorType |
HAND1
The hand, open. |
static CursorType |
HAND2
The hand, index finger pointing. |
static CursorType |
LEFT_PTR
The standard arrow pointer used by default for most user interface purposes. |
static CursorType |
LEFT_SIDE
This Cursor is typically used with Widgets whose size can be changed manually when the mouse pointer is near the left side of the Widget. |
static CursorType |
RIGHT_SIDE
This Cursor is typically used with Widgets whose size can be changed manually when the mouse pointer is near the right side of the Widget. |
static CursorType |
TOP_LEFT_CORNER
This Cursor is typically used with Widgets whose size can be changed manually when the mouse pointer is near the top left corner of the Widget. |
static CursorType |
TOP_RIGHT_CORNER
This Cursor is typically used with Widgets whose size can be changed manually when the mouse pointer is near the top right corner of the Widget. |
static CursorType |
TOP_SIDE
This Cursor is typically used with Widgets whose size can be changed manually when the mouse pointer is near the top side of the Widget. |
static CursorType |
WATCH
This is the cursor you change to when you want to show that the application is "busy"; be aware that different themes shipped by various Linux distributions override it in many different ways. |
static CursorType |
XTERM
This is the standard "text" Cursor, used in Widgets which display or edit text such as Entry and TextView. |
Method Summary |
---|
Methods inherited from class org.freedesktop.bindings.Flag |
---|
contains |
Methods inherited from class org.freedesktop.bindings.Constant |
---|
toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final CursorType BOTTOM_LEFT_CORNER
public static final CursorType BOTTOM_RIGHT_CORNER
public static final CursorType BOTTOM_SIDE
public static final CursorType FLEUR
public static final CursorType HAND1
public static final CursorType HAND2
public static final CursorType LEFT_PTR
WATCH
as the "busy" pointer.
public static final CursorType LEFT_SIDE
public static final CursorType RIGHT_SIDE
public static final CursorType TOP_LEFT_CORNER
public static final CursorType TOP_RIGHT_CORNER
public static final CursorType TOP_SIDE
public static final CursorType WATCH
public static final CursorType XTERM
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |