org.gnu.gtk.event
public class GtkEvent 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. Signal handling an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use this class.
See Also: FocusEvent KeyEvent LifeCycleEvent
Constructor Summary | |
---|---|
GtkEvent(Object source, EventType type)
Construct a GtkEvent 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; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Construct a GtkEvent 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; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Returns the object on which the event originally occuredReturns: Object on which the event originally occured
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Returns: The type of the event.
Deprecated: Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.
Generates a string representation of the event. Useful for debugging applications.Returns: string representation of event.