org.gnu.gtk.event
Class GtkEvent
java.lang.Object
org.gnu.gtk.event.GtkEvent
- Serializable
public class GtkEvent
extends java.lang.Object
implements Serializable
GtkEvent(Object source, EventType type) - Construct a GtkEvent object with the specified source object and type.
|
Object | getSource() - Returns the object on which the event originally occured
|
EventType | getType()
|
String | toString() - Generates a string representation of the event.
|
GtkEvent
public GtkEvent(Object source,
EventType type)
Construct a GtkEvent object with the specified source object and type.
source
- the object where the event originated.type
- the event type.
getSource
public Object getSource()
Returns the object on which the event originally occured
- Object on which the event originally occured
getType
public EventType getType()
toString
public String toString()
Generates a string representation of the event. Useful for debugging
applications.
- string representation of event.