org.gnu.glib

Class GEvent

Implemented Interfaces:
Serializable

public class GEvent
extends java.lang.Object
implements Serializable

A base event class for capturing signals emitted by GObjects..

Field Summary

protected Object
source
The object on which the event initially occurred.
protected EventType
type
The type of event

Constructor Summary

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.

Method Summary

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.
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.
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.

Field Details

source

protected Object source
The object on which the event initially occurred.

type

protected EventType type
The type of event

Constructor Details

GEvent

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.

Method Details

getSource

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

getType

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.

toString

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.