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

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.event.DomEvent
          extended by com.extjs.gxt.ui.client.event.ComponentEvent
Direct Known Subclasses:
BoxComponentEvent, ButtonEvent, DatePickerEvent, FormEvent, KeyEvent, SplitBarEvent

public class ComponentEvent
extends DomEvent

Component event type.

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.

See Also:
Component

Field Summary
 Component component
          The component that issued the event.
 java.util.Map<java.lang.String,java.lang.Object> state
          The component state.
 
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent
event
 
Fields inherited from class com.extjs.gxt.ui.client.event.BaseEvent
doit, source, type
 
Constructor Summary
ComponentEvent(Component component)
          Creates a new base event.
ComponentEvent(Component component, com.google.gwt.user.client.Event event)
          Creates a new base event.
 
Method Summary
 
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent
cancelBubble, getClientX, getClientY, getEventType, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, stopEvent, within, within
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

public Component component
The component that issued the event.


state

public java.util.Map<java.lang.String,java.lang.Object> state
The component state.

Constructor Detail

ComponentEvent

public ComponentEvent(Component component)
Creates a new base event.

Parameters:
component - the source component

ComponentEvent

public ComponentEvent(Component component,
                      com.google.gwt.user.client.Event event)
Creates a new base event.

Parameters:
component - the source component