org.gnu.glib
public class EventMap extends java.lang.Object
Constructor and Description |
---|
EventMap()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addEvent(EventType eventType,
java.lang.Class listenerClass)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
void |
addEvent(java.lang.String signal,
java.lang.String method,
EventType eventType,
java.lang.Class listenerClass)
Deprecated.
|
java.lang.Class |
getEventListenerClass(java.lang.String signal)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
EventType |
getEventType(java.lang.String signal)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
void |
initialize(GObject source)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
void |
initialize(GObject source,
EventType type)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
void |
initialize(GObject source,
EventType type,
boolean shouldCopyIfBoxed)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
void |
uninitialize(GObject source,
EventType type)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
public void addEvent(java.lang.String signal, java.lang.String method, EventType eventType, java.lang.Class listenerClass)
public void addEvent(EventType eventType, java.lang.Class listenerClass)
addEvent(String, String, EventType, Class)
internally. It gets
the signal name by calling EventType.getName()
and it expects the
callback method to be named in a very specific format. It should start
with 'handle' and then be followed by the signal name in camel case
format. eventType
- listenerClass
- public void initialize(GObject source)
public void initialize(GObject source, EventType type)
public void initialize(GObject source, EventType type, boolean shouldCopyIfBoxed)
public void uninitialize(GObject source, EventType type)
public java.lang.Class getEventListenerClass(java.lang.String signal)
public EventType getEventType(java.lang.String signal)