|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseEvent
public class BaseEvent
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.
Constructor Summary | |
---|---|
BaseEvent(EventType type)
|
|
BaseEvent(java.lang.Object source)
Creates a new base event instance. |
Method Summary | |
---|---|
java.lang.Object |
getSource()
Returns the object that fired the event. |
EventType |
getType()
Returns the event's event type. |
boolean |
isCancelled()
Returns true if the operation is being cancelled. |
void |
setCancelled(boolean cancelled)
True to cancel the current operation (defaults to false). |
void |
setSource(java.lang.Object source)
Sets the object that fired the event. |
void |
setType(EventType type)
Sets the event's event type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseEvent(EventType type)
public BaseEvent(java.lang.Object source)
source
- the source objectMethod Detail |
---|
public boolean isCancelled()
public void setCancelled(boolean cancelled)
cancelled
- true to cancelpublic java.lang.Object getSource()
public EventType getType()
public void setSource(java.lang.Object source)
source
- the source objectpublic void setType(EventType type)
type
- the event type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |