|
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.EventMask
public final class EventMask
The events a Widget will receive. You can use the Flags defined here to control which events will be received by a Widget.
While most common events are enabled by default, some of them need to be
enabled
in order to be received. Such
cases are properly documented together with each event signal, so unless
specified there you usually do not need to worry about this at all.
Field Summary | |
---|---|
static EventMask |
BUTTON_MOTION
Enable/disable MotionNotify events
when any mouse button is pressed. |
static EventMask |
BUTTON_PRESS
Enable/disable ButtonPress events. |
static EventMask |
BUTTON_RELEASE
Enable/disable ButtonRelease events. |
static EventMask |
ENTER_NOTIFY
Enable/disable EnterNotify events. |
static EventMask |
EXPOSURE
Enable/disable Expose events. |
static EventMask |
FOCUS_CHANGE
Enable/disable focus related events, such as FocusIn and FocusOut . |
static EventMask |
KEY_PRESS
Enable/disable KeyPress events. |
static EventMask |
KEY_RELEASE
Enable/disable KeyRelease events. |
static EventMask |
LEAVE_NOTIFY
Enable/disable LeaveNotify events. |
static EventMask |
LEFT_BUTTON_MOTION
Enable/disable MotionNotify events
when the left button is pressed. |
static EventMask |
MIDDLE_BUTTON_MOTION
Enable/disable MotionNotify events
when the middle button is pressed. |
static EventMask |
POINTER_MOTION
Enable/disable all MotionNotify
events. |
static EventMask |
RIGHT_BUTTON_MOTION
Enable/disable MotionNotify events
when the right button is pressed. |
static EventMask |
SCROLL
Enable/disable Scroll events. |
static EventMask |
STRUCTURE
|
static EventMask |
VISIBILITY_NOTIFY
Enable/disable VisibilityNotify
events. |
Method Summary | |
---|---|
static EventMask |
or(EventMask one,
EventMask two)
Creates a new EventMask flag as the OR'ing or combination of two EventMask flags. |
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 EventMask BUTTON_MOTION
MotionNotify
events
when any mouse button is pressed.
public static final EventMask BUTTON_PRESS
ButtonPress
events.
public static final EventMask BUTTON_RELEASE
ButtonRelease
events.
public static final EventMask ENTER_NOTIFY
EnterNotify
events.
public static final EventMask EXPOSURE
Expose
events.
public static final EventMask FOCUS_CHANGE
FocusIn
and FocusOut
.
public static final EventMask KEY_PRESS
KeyPress
events.
public static final EventMask KEY_RELEASE
KeyRelease
events.
public static final EventMask LEAVE_NOTIFY
LeaveNotify
events.
public static final EventMask LEFT_BUTTON_MOTION
MotionNotify
events
when the left button is pressed.
public static final EventMask MIDDLE_BUTTON_MOTION
MotionNotify
events
when the middle button is pressed.
public static final EventMask POINTER_MOTION
MotionNotify
events.
public static final EventMask RIGHT_BUTTON_MOTION
MotionNotify
events
when the right button is pressed.
public static final EventMask SCROLL
Scroll
events.
public static final EventMask STRUCTURE
public static final EventMask VISIBILITY_NOTIFY
VisibilityNotify
events.
Method Detail |
---|
public static EventMask or(EventMask one, EventMask two)
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |