|
java-gnome version 4.0.19 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Constant
org.gnome.gtk.StateType
public final class StateType
The current state of a Widget with respect to drawing and theming. Within GTK this is used for sub-elements making up a Widget, and different elements may be in different states. In practise, you only use this for rare occasions when you need to override the defaults for example background colour of a Widget. As this will conflict with the Style settings of the users theme and end up creating inconsistencies in visual appearance on the Desktop, methods using StateType should only be used with deliberate care.
Field Summary | |
---|---|
static StateType |
ACTIVE
A Widget that is currently active. |
static StateType |
INSENSITIVE
The Widget is not responding to events. |
static StateType |
NORMAL
The ordinary state of a Widget |
static StateType |
PRELIGHT
The mouse pointer is currently hovering over the Widget, and the Widget will be responding to mouse clicks. |
static StateType |
SELECTED
The element is selected. |
Method Summary |
---|
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 StateType ACTIVE
public static final StateType INSENSITIVE
setSensitive()
on Window for more
information about this state.
public static final StateType NORMAL
public static final StateType PRELIGHT
public static final StateType SELECTED
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |