com.sencha.gxt.widget.core.client.event
Class AddEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<AddEvent.AddHandler>
com.sencha.gxt.widget.core.client.event.AddEvent
public class AddEvent
- extends GwtEvent<AddEvent.AddHandler>
Fires after a widget is added to a container.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AddEvent
public AddEvent(Widget widget,
int index)
getType
public static GwtEvent.Type<AddEvent.AddHandler> getType()
- Gets the type associated with this event.
- Returns:
- returns the handler type
getAssociatedType
public GwtEvent.Type<AddEvent.AddHandler> getAssociatedType()
- Overrides:
getAssociatedType in class GwtEvent<AddEvent.AddHandler>
getIndex
public int getIndex()
- Returns the insert index of the widget that was added.
- Returns:
- the insert index
getSource
public Container getSource()
- Overrides:
getSource in class GwtEvent<AddEvent.AddHandler>
getWidget
public Widget getWidget()
- Returns the widget that was added.
- Returns:
- the widget
Copyright © 2012. All Rights Reserved.