com.extjs.gxt.ui.client.event
Interface Listener<E extends BaseEvent>
- Type Parameters:
E - the base event type
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- AbstractSelectionModel, CellSelectionModel, CellTreeGridSelectionModel, ChartListener, CheckBoxSelectionModel, CheckChangedListener, DispatcherListener, DNDListener, DragListener, EffectListener, GridSelectionModel, KeyListener, KeyNav, KeyNavListener, ListViewSelectionModel, LoadListener, ResizeListener, ScrollListener, SelectionChangedListener, SelectionListener, SourceSelectionChangedListener, StoreListener, TreeGridSelectionModel, TreePanelSelectionModel, WidgetListener, WindowListener
public interface Listener<E extends BaseEvent>
- extends java.util.EventListener
Interface for objects that are notified of GXT events.
Button btn = new Button();
btn.addListener(Events.Select, new Listener<ButtonEvent>() {
public void handleEvent(ButtonEvent be) {
Button button = be.button;
}
});
|
Method Summary |
void |
handleEvent(E be)
Sent when an event that the listener has registered for occurs. |
handleEvent
void handleEvent(E be)
- Sent when an event that the listener has registered for occurs.
- Parameters:
be - the event which occurred