| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.gnu.gtk.event.GtkEventpublic class GtkEventextends java.lang.Objectimplements SerializableFocusEvent, KeyEvent, LifeCycleEvent, MouseEventConstructor Summary | |
| |
Method Summary | |
Object |
|
EventType |
|
String |
|
public GtkEvent(Object source,
EventType type)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.
public Object getSource()
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 occured
- Returns:
- Object on which the event originally occured
public EventType getType()
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.
public String toString()
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.