org.gnu.gdk

Class EventButton


public class EventButton
extends Event

Constructor Summary

EventButton(Handle handle)
EventButton(Event evt)
Promotion constructor.

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

Methods inherited from class org.gnu.glib.Boxed

equals, getBoxedFromHandle, hashCode

Constructor Details

EventButton

public EventButton(Handle handle)

EventButton

public EventButton(Event evt)
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()