org.gnu.glib

Class EventType

Known Direct Subclasses:
AdjustmentEvent.Type, ButtonEvent.Type, CalendarEvent.Type, CellEditableEvent.Type, CellRendererTextEvent.Type, CellRendererToggleEvent.Type, CheckMenuItemEvent.Type, ColorButtonEvent.Type, ColorSelectionEvent.Type, ComboBoxEvent.Type, ContainerEvent.Type, DialogEvent.Type, EntryCompletionEvent.Type, EntryEvent.Type, ExpanderEvent.Type, ExposeEvent.Type, FocusEvent.Type, FontButtonEvent.Type, HandleBoxEvent.Type, IconViewEvent.Type, ItemEvent.Type, KeyEvent.Type, LifeCycleEvent.Type, MenuItemEvent.Type, MouseEvent.Type, MouseMotionEvent.Type, NotebookEvent.Type, OptionMenuEvent.Type, RangeEvent.Type, ScaleEvent.Type, SpinEvent.Type, StatusBarEvent.Type, TextBufferEvent.Type, TextViewEvent.Type, ToggleEvent.Type, ToggleToolButtonEvent.Type, ToolBarEvent.Type, ToolButtonEvent.Type, TreeModelEvent.Type, TreeSelectionEvent.Type, TreeViewColumnEvent.Type, TreeViewEvent.Type, UIManagerEvent.Type

public class EventType
extends java.lang.Object

Represents a particular type of an event. Each GtkEvent 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()