com.extjs.gxt.ui.client.event
Class EventType

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.EventType
All Implemented Interfaces:
java.io.Serializable

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

Base class for all events types.

See Also:
Serialized Form

Constructor Summary
EventType()
          Creates a new event type.
EventType(int eventCode)
          Creates a new browser based event type.
 
Method Summary
 int getEventCode()
          Returns the event code.
 boolean isBrowserEvent()
          Returns true if the event type represents a browser event type (GWT event).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventType

public EventType()
Creates a new event type.


EventType

public EventType(int eventCode)
Creates a new browser based event type.

Parameters:
eventCode - additional information about the event
Method Detail

getEventCode

public int getEventCode()
Returns the event code.

Returns:
the event code
See Also:
Event

isBrowserEvent

public boolean isBrowserEvent()
Returns true if the event type represents a browser event type (GWT event).

Returns:
true for browser event types