com.extjs.gxt.ui.client.event
Class ContainerEvent<C extends Container,I extends Component>

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
              extended by com.extjs.gxt.ui.client.event.BoxComponentEvent
                  extended by com.extjs.gxt.ui.client.event.ContainerEvent<C,I>
Direct Known Subclasses:
ButtonBarEvent, DataListEvent, DataViewEvent, FieldSetEvent, HtmlContainerEvent, MenuEvent, PortalEvent, TableEvent, TabPanelEvent, ToolBarEvent, TreeEvent

public class ContainerEvent<C extends Container,I extends Component>
extends BoxComponentEvent

Container 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:
LayoutContainer

Field Summary
 C container
          The source container.
 int index
          The insert index.
 I item
          The child item.
 java.util.List<I> selected
          The selected items.
 
Fields inherited from class com.extjs.gxt.ui.client.event.BoxComponentEvent
boxComponent, height, size, width, x, y
 
Fields inherited from class com.extjs.gxt.ui.client.event.ComponentEvent
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
ContainerEvent(C container)
          Creates a new event.
ContainerEvent(C container, I component)
          Creates a new 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

container

public C extends Container container
The source container.


item

public I extends Component item
The child item.


selected

public java.util.List<I extends Component> selected
The selected items.


index

public int index
The insert index.

Constructor Detail

ContainerEvent

public ContainerEvent(C container)
Creates a new event.

Parameters:
container - the source container

ContainerEvent

public ContainerEvent(C container,
                      I component)
Creates a new event.

Parameters:
container - the source container
component - the related component