org.gnu.gdk

Class EventButton

public class EventButton extends Event

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.gdk.EventButton.

Constructor Summary
EventButton(Event evt)
Promotion constructor.
EventButton(Handle handle)
Method Summary
intgetButton()
DevicegetDevice()
ModifierTypegetModifierKey()
intgetState()
intgetType()
WindowgetWindow()
doublegetX()
doublegetY()

Constructor Detail

EventButton

public EventButton(Event evt)

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Promotion constructor. Construct the specific event object by promoting (sharing the Handle object of) the base Event.

EventButton

public EventButton(Handle handle)

Method Detail

getButton

public int getButton()

getDevice

public Device getDevice()

getModifierKey

public ModifierType getModifierKey()

getState

public int getState()

getType

public int getType()

getWindow

public Window getWindow()

getX

public double getX()

getY

public double getY()