org.gnu.gdk
Class EventButton
java.lang.Object
org.gnu.glib.Struct
org.gnu.glib.Boxed
org.gnu.gdk.Event
org.gnu.gdk.EventButton
public class EventButton
- extends Event
Methods inherited from class org.gnu.glib.Struct |
getHandle, getNullHandle |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
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)
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()