org.gnu.gdk

Class EventButton

public class EventButton extends Event

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