org.gnu.glib
Class GEvent

java.lang.Object
  extended by org.gnu.glib.GEvent
All Implemented Interfaces:
java.io.Serializable

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may have an equivalent in java-gnome 4.0, see org.gnome.glib.GEvent. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

public class GEvent
extends java.lang.Object
implements java.io.Serializable

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

See Also:
Serialized Form

Field Summary
protected  java.lang.Object source
          Deprecated. The object on which the event initially occurred.
protected  EventType type
          Deprecated. The type of event
 
Constructor Summary
GEvent(java.lang.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
 java.lang.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.
 java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected EventType type
Deprecated. 
The type of event


source

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

Constructor Detail

GEvent

public GEvent(java.lang.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.
Throws:
java.lang.IllegalArgumentException - if the source object is null
Method Detail

getSource

public java.lang.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 java.lang.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.

Overrides:
toString in class java.lang.Object
Returns:
string representation of event.