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

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.WidgetListener
All Implemented Interfaces:
Listener<ComponentEvent>, java.util.EventListener

public class WidgetListener
extends java.lang.Object
implements Listener<ComponentEvent>

Event interface for widget events.


Constructor Summary
WidgetListener()
           
 
Method Summary
 void handleEvent(ComponentEvent e)
          Sent when an event that the listener has registered for occurs.
 void widgetAttached(ComponentEvent ce)
          Fires after a widget is attached.
 void widgetDetached(ComponentEvent ce)
          Fires after a widget is detached.
 void widgetResized(ComponentEvent ce)
          Fires after a widget is moved or resized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetListener

public WidgetListener()
Method Detail

handleEvent

public void handleEvent(ComponentEvent e)
Description copied from interface: Listener
Sent when an event that the listener has registered for occurs.

Specified by:
handleEvent in interface Listener<ComponentEvent>
Parameters:
e - the event which occurred

widgetResized

public void widgetResized(ComponentEvent ce)
Fires after a widget is moved or resized.

Parameters:
ce - an event containing information about the event

widgetAttached

public void widgetAttached(ComponentEvent ce)
Fires after a widget is attached.

Parameters:
ce - an event containing information about the event

widgetDetached

public void widgetDetached(ComponentEvent ce)
Fires after a widget is detached.

Parameters:
ce - an event containing information about the event