|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.EventMap
An EventMap is a Java-GNOME implementation class which encapsulates all static information that maps GTK signals to Java-GNOME events. There should be one private static EventMap for each Java-GNOME class which fires events. Besides reducing the code needed to add event handling to a widget instance, this mapping is needed by libglade to look up which event is associated with which signal for a given class. It should not be used by client code, however.
Constructor Summary | |
EventMap()
|
Method Summary | |
void |
addEvent(java.lang.String signal,
java.lang.String method,
EventType eventType,
java.lang.Class listenerClass)
|
java.lang.Class |
getEventListenerClass(java.lang.String signal)
Return the event listener class for a given signal. |
EventType |
getEventType(java.lang.String signal)
Get the event type for a given signal. |
void |
initialize(GObject source)
Connect all event handlers to this event source. |
void |
initialize(GObject source,
EventType type)
Connect an event handler of the type provided. |
void |
uninitialize(GObject source,
EventType type)
Disconnect an event handler of the type provided. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EventMap()
Method Detail |
public void addEvent(java.lang.String signal, java.lang.String method, EventType eventType, java.lang.Class listenerClass)
public void initialize(GObject source)
public void initialize(GObject source, EventType type)
public void uninitialize(GObject source, EventType type)
public java.lang.Class getEventListenerClass(java.lang.String signal)
public EventType getEventType(java.lang.String signal)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |