org.gnu.gdk

Class EventButton


public class EventButton
extends Event

Constructor Summary

EventButton(Handle handle)
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.

Method Summary

int
getButton()
Device
getDevice()
ModifierType
getModifierKey()
int
getState()
int
getType()
Window
getWindow()
double
getX()
double
getY()

Methods inherited from class org.gnu.gdk.Event

eventsPending, get, getGraphicsExpose, getTime, peek, put

Constructor Details

EventButton

public EventButton(Handle handle)

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.

Method Details

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()