org.gnu.glib
public class GEvent extends Object implements Serializable
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may have an equivalent in java-gnome 4.0,
see 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.
Field Summary | |
---|---|
protected Object | source The object on which the event initially occurred. |
protected EventType | type The type of event |
Constructor Summary | |
---|---|
GEvent(Object source, EventType type)
Construct a GEvent object with the specified source object and type.
|
Method Summary | |
---|---|
Object | getSource()
Returns the object on which the event originally occured
|
EventType | getType() |
String | toString()
Generates a string representation of the event. |
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.
Construct a GEvent object with the specified source object and type.Parameters: source the object where the event originated. type the event type.
Throws: IllegalArgumentException if the source object is null
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.
Returns the object on which the event originally occuredReturns: Object on which the event originally occured
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.
Returns: The type of the event.
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.
Generates a string representation of the event. Useful for debugging applications.Returns: string representation of event.