java-gnome version 4.0.7

org.gnome.gdk
Class MouseButton

java.lang.Object
  extended by org.freedesktop.bindings.Constant
      extended by org.gnome.gdk.MouseButton

public class MouseButton
extends Constant

Constants representing which mouse button was pressed.

Since:
4.0.6
Author:
Andrew Cowie

Field Summary
static MouseButton FIFTH
          Mouse button 5.
static MouseButton FOURTH
          Mouse button 4.
static MouseButton LEFT
          A "left click", mouse button 1.
static MouseButton MIDDLE
          A "centre click", mouse button 2.
static MouseButton RIGHT
          A "right click", mouse button 3.
 
Method Summary
 
Methods inherited from class org.freedesktop.bindings.Constant
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIFTH

public static final MouseButton FIFTH
Mouse button 5.


FOURTH

public static final MouseButton FOURTH
Mouse button 4.


LEFT

public static final MouseButton LEFT
A "left click", mouse button 1.


MIDDLE

public static final MouseButton MIDDLE
A "centre click", mouse button 2. Some mice don't have a middle button; in such cases your X server may be configured to generate the middle button press if you press both right and left simultaneously. Mice with scroll wheels will often generated this button if the wheel is clicked (not scrolled, but pressed).


RIGHT

public static final MouseButton RIGHT
A "right click", mouse button 3.



java-gnome