org.gnu.glib

Class EventType


public class EventType
extends java.lang.Object

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

int
getID()
String
getName()

Constructor Details

EventType

public EventType(int typeID,
                 String typeName)
Constructs a new event type
Parameters:
typeID - Type Identifier
typeName - String to be displayed as part of the event.toString method.

Method Details

getID

public int getID()

getName

public String getName()