|
java-gnome version 4.1.1 | ||||
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.gtk.StateFlags
public final class StateFlags
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 StateFlags |
ACTIVE
A Widget that is currently active. |
static StateFlags |
INSENSITIVE
The Widget is not responding to events. |
static StateFlags |
NORMAL
The ordinary state of a Widget |
static StateFlags |
PRELIGHT
The mouse pointer is currently hovering over the Widget, and the Widget will be responding to mouse clicks. |
static StateFlags |
SELECTED
The element is selected. |
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 StateFlags ACTIVE
public static final StateFlags INSENSITIVE
setSensitive()
on Window for more
information about this state.
public static final StateFlags NORMAL
public static final StateFlags PRELIGHT
public static final StateFlags SELECTED
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |