java-gnome version 4.0.15

org.gnome.gdk
Class EventMask

Object
  extended by org.freedesktop.bindings.Constant
      extended by org.freedesktop.bindings.Flag
          extended by org.gnome.gdk.EventMask

public final class EventMask
extends org.freedesktop.bindings.Flag

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.

Since:
4.0.15
Author:
Vreixo Formoso

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

BUTTON_MOTION

public static final EventMask BUTTON_MOTION
Enable/disable MotionNotify events when any mouse button is pressed.


BUTTON_PRESS

public static final EventMask BUTTON_PRESS
Enable/disable ButtonPress events.


BUTTON_RELEASE

public static final EventMask BUTTON_RELEASE
Enable/disable ButtonRelease events.


ENTER_NOTIFY

public static final EventMask ENTER_NOTIFY
Enable/disable EnterNotify events.


EXPOSURE

public static final EventMask EXPOSURE
Enable/disable Expose events.


FOCUS_CHANGE

public static final EventMask FOCUS_CHANGE
Enable/disable focus related events, such as FocusIn and FocusOut.


KEY_PRESS

public static final EventMask KEY_PRESS
Enable/disable KeyPress events.


KEY_RELEASE

public static final EventMask KEY_RELEASE
Enable/disable KeyRelease events.


LEAVE_NOTIFY

public static final EventMask LEAVE_NOTIFY
Enable/disable LeaveNotify events.


LEFT_BUTTON_MOTION

public static final EventMask LEFT_BUTTON_MOTION
Enable/disable MotionNotify events when the left button is pressed.


MIDDLE_BUTTON_MOTION

public static final EventMask MIDDLE_BUTTON_MOTION
Enable/disable MotionNotify events when the middle button is pressed.


POINTER_MOTION

public static final EventMask POINTER_MOTION
Enable/disable all MotionNotify events.


RIGHT_BUTTON_MOTION

public static final EventMask RIGHT_BUTTON_MOTION
Enable/disable MotionNotify events when the right button is pressed.


SCROLL

public static final EventMask SCROLL
Enable/disable Scroll events.


STRUCTURE

public static final EventMask STRUCTURE

VISIBILITY_NOTIFY

public static final EventMask VISIBILITY_NOTIFY
Enable/disable VisibilityNotify events.

Method Detail

or

public static EventMask or(EventMask one,
                           EventMask two)
Creates a new EventMask flag as the OR'ing or combination of two EventMask flags.



java-gnome