org.gnu.glib

Class EventType

public class EventType extends Object

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

Represents a particular type of an event. Each event has an associated type.
Constructor Summary
EventType(int typeID, String typeName)
Constructs a new event type
Method Summary
intgetID()
StringgetName()

Constructor Detail

EventType

public EventType(int typeID, String typeName)

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.

Constructs a new event type

Parameters: typeID Type Identifier typeName String to be displayed as part of the event.toString method.

Method Detail

getID

public int getID()

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.

getName

public String getName()

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.