Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.gtk.event.GtkEvent
public class GtkEvent
extends java.lang.Object
implements Serializable
FocusEvent
, KeyEvent
, LifeCycleEvent
, MouseEvent
Constructor 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.