Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.glib.GEvent
public class GEvent
extends java.lang.Object
implements Serializable
GObject
s..
Field Summary | |
protected Object |
|
protected EventType |
|
Constructor Summary | |
Method Summary | |
Object |
|
EventType |
|
String |
|
public GEvent(Object source, EventType type)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a GEvent 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; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
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; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
- Returns:
- The type of the event.
public String toString()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Generates a string representation of the event. Useful for debugging applications.
- Returns:
- string representation of event.