org.gnu.gtk.event
Class GtkEventType

java.lang.Object
  |
  +--org.gnu.gtk.event.GtkEventType
Direct Known Subclasses:
AdjustmentEvent.Type, ButtonEvent.Type, CalendarEvent.Type, CellRendererTextEvent.Type, CellRendererToggleEvent.Type, ContainerEvent.Type, DialogEvent.Type, EditableEvent.Type, EntryEvent.Type, FocusEvent.Type, KeyEvent.Type, LifeCycleEvent.Type, MenuItemEvent.Type, MouseEvent.Type, NotebookEvent.Type, OptionMenuEvent.Type, RangeEvent.Type, ScaleEvent.Type, SpinEvent.Type, TextBufferEvent.Type, TextViewEvent.Type, ToggleEvent.Type, TreeSelectionEvent.Type, TreeViewColumnEvent.Type

public class GtkEventType
extends java.lang.Object

Represents a particular type of an event. Each GtkEvent has an associated type.


Constructor Summary
GtkEventType(int typeID, java.lang.String typeName)
          Constructs a new event type
 
Method Summary
 int getID()
           
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GtkEventType

public GtkEventType(int typeID,
                    java.lang.String typeName)
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()
Returns:
#id

getName

public java.lang.String getName()
Returns:
#name

Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net