|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Boxed
org.gnu.gdk.Event
Field Summary |
Fields inherited from class org.gnu.glib.Boxed |
handle |
Constructor Summary | |
Event(Event event)
Creates a copy of an event. |
|
Event(EventType type)
Create a new event of a given type. |
|
Event(Handle handle)
|
Method Summary | |
static boolean |
eventsPending()
Checks if any events are ready to be processed for any display. |
protected void |
finalize()
|
protected static Handle |
gdk_event_copy(Handle event)
|
protected static void |
gdk_event_free(Handle event)
|
protected static boolean |
gdk_event_get_axis(Handle event,
int axisUse,
double[] value)
|
protected static boolean |
gdk_event_get_coords(Handle event,
double[] xWin,
double[] yWin)
|
protected static Handle |
gdk_event_get_graphics_expose(Handle window)
|
protected static boolean |
gdk_event_get_root_coords(Handle event,
double[] xRoot,
double[] yRoot)
|
protected static int |
gdk_event_get_time(Handle event)
|
protected static Handle |
gdk_event_get()
|
protected static Handle |
gdk_event_new(int type)
|
protected static Handle |
gdk_event_peek()
|
protected static void |
gdk_event_put(Handle event)
|
protected static boolean |
gdk_events_pending()
|
static Event |
get()
Checks all open displays for an Event to process, to be processed on, fetching events from the windowing system if necessary. |
static EventExpose |
getGraphicsExpose(Window window)
Waits for a GraphicsExpose or NoExpose event from the X server. |
int |
getTime()
Returns the timestamp of the event. |
protected static int |
getType(Handle obj)
|
static Event |
peek()
If there is an event waiting in the event queue of some open display, returns a copy of it. |
static void |
put(Event anEvent)
Appends a copy of a given event onto the front of the event queue the event window's display or the default event queue if the event's window is null. |
Methods inherited from class org.gnu.glib.Boxed |
equals, getHandle, hashCode, setHandle |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Event(EventType type)
type
- public Event(Event event)
event
- public Event(Handle handle)
Method Detail |
public static boolean eventsPending()
public static Event peek()
public static Event get()
public static EventExpose getGraphicsExpose(Window window)
window
- Window to wait for the events for.
public static void put(Event anEvent)
anEvent
- public int getTime()
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
protected static final int getType(Handle obj)
protected static final Handle gdk_event_get()
protected static final Handle gdk_event_peek()
protected static final Handle gdk_event_get_graphics_expose(Handle window)
protected static final void gdk_event_put(Handle event)
protected static final Handle gdk_event_new(int type)
protected static final Handle gdk_event_copy(Handle event)
protected static final void gdk_event_free(Handle event)
protected static final int gdk_event_get_time(Handle event)
protected static final boolean gdk_event_get_coords(Handle event, double[] xWin, double[] yWin)
protected static final boolean gdk_event_get_root_coords(Handle event, double[] xRoot, double[] yRoot)
protected static final boolean gdk_event_get_axis(Handle event, int axisUse, double[] value)
protected static final boolean gdk_events_pending()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |