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

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
Direct Known Subclasses:
AppEvent, CheckChangedEvent, ColumnModelEvent, ComponentManagerEvent, DomEvent, FxEvent, LayoutEvent, LoadEvent, MvcEvent, ResizeEvent, SelectionChangedEvent, SelectionEvent, StateEvent, StoreEvent, WindowManagerEvent

public class BaseEvent
extends java.lang.Object

Base class for all GXT events.

Note: For a given event, only the fields which are appropriate will be filled in. The appropriate fields for each event are documented by the event source.


Field Summary
 boolean doit
          Depending on the event, a flag indicating whether the operation should be allowed.
 java.lang.Object source
          The object that fired the event.
 int type
          The event type.
 
Constructor Summary
BaseEvent()
           
BaseEvent(java.lang.Object source)
          Creates a new base event instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public int type
The event type.


source

public java.lang.Object source
The object that fired the event.


doit

public boolean doit
Depending on the event, a flag indicating whether the operation should be allowed. The source object will document if a particular event may be canceled.

Constructor Detail

BaseEvent

public BaseEvent()

BaseEvent

public BaseEvent(java.lang.Object source)
Creates a new base event instance.

Parameters:
source - the source object