org.gnu.gdk
Class EventButton

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.Boxed
          extended by org.gnu.gdk.Event
              extended by org.gnu.gdk.EventButton

public class EventButton
extends Event


Constructor Summary
EventButton(Event evt)
          Promotion constructor.
EventButton(org.gnu.glib.Handle handle)
           
 
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
 
Methods inherited from class org.gnu.glib.Struct
getHandle, getNullHandle
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

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(org.gnu.glib.Handle handle)
Method Detail

getButton

public int getButton()

getX

public double getX()

getY

public double getY()

getType

public int getType()

getState

public int getState()

getModifierKey

public ModifierType getModifierKey()

getWindow

public Window getWindow()

getDevice

public Device getDevice()