org.gnu.glib
org.gnome.glib.GEvent
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.public class GEvent extends java.lang.Object implements java.io.Serializable
GObject
s..Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
source
Deprecated.
The object on which the event initially occurred.
|
protected EventType |
type
Deprecated.
The type of event
|
Constructor and Description |
---|
GEvent(java.lang.Object 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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getSource()
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 |
getType()
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.
|
java.lang.String |
toString()
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.
|
protected EventType type
protected java.lang.Object source
public GEvent(java.lang.Object source, EventType type)
source
- the object where the event originated.type
- the event type.java.lang.IllegalArgumentException
- if the source object is nullpublic java.lang.Object getSource()
public EventType getType()
public java.lang.String toString()
toString
in class java.lang.Object