org.gnu.gtk.event
public class GtkEvent extends Object implements Serializable
See Also: FocusEvent KeyEvent LifeCycleEvent MouseEvent
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. |
Parameters: source the object where the event originated. type the event type.
Throws: IllegalArgumentException if the source object is null
Returns: Object on which the event originally occured
Returns: The type of the event.
Returns: string representation of event.