|
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.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.
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
Widget.MotionNotify
events when any mouse button is pressed.
public static final EventMask BUTTON_PRESS
Widget.ButtonPressEvent
events.
public static final EventMask BUTTON_RELEASE
Widget.ButtonReleaseEvent
events.
public static final EventMask ENTER_NOTIFY
Widget.EnterNotifyEvent
events.
public static final EventMask EXPOSURE
Widget.Expose
events.
public static final EventMask FOCUS_CHANGE
Widget.FocusInEvent
and
Widget.FocusOutEvent
.
public static final EventMask KEY_PRESS
Widget.KeyPressEvent
events.
public static final EventMask KEY_RELEASE
Widget.KeyReleaseEvent
events.
public static final EventMask LEAVE_NOTIFY
Widget.LeaveNotifyEvent
events.
public static final EventMask LEFT_BUTTON_MOTION
Widget.MotionNotifyEvent
events when the left button is pressed.
public static final EventMask MIDDLE_BUTTON_MOTION
Widget.MotionNotifyEvent
when the middle button is pressed.
public static final EventMask POINTER_MOTION
Widget.MotionNotify
events.
public static final EventMask RIGHT_BUTTON_MOTION
Widget.MotionNotifyEvent
when the right button is pressed.
public static final EventMask SCROLL
Widget.ScrollEvent
events.
public static final EventMask STRUCTURE
public static final EventMask VISIBILITY_NOTIFY
Widget.VisibilityNotifyEvent
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 |