com.gwtext.client.widgets.event
Class ResizableListenerAdapter

java.lang.Object
  extended by com.gwtext.client.widgets.event.ResizableListenerAdapter
All Implemented Interfaces:
ResizableListener

public class ResizableListenerAdapter
extends java.lang.Object
implements ResizableListener

ResizableListener adapter class.


Constructor Summary
ResizableListenerAdapter()
           
 
Method Summary
 boolean doBeforeResize(Resizable self, EventObject e)
          Fires event before the resize.
 void onResize(Resizable self, int width, int height)
          Fires when the element is resized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizableListenerAdapter

public ResizableListenerAdapter()
Method Detail

doBeforeResize

public boolean doBeforeResize(Resizable self,
                              EventObject e)
Description copied from interface: ResizableListener
Fires event before the resize.

Specified by:
doBeforeResize in interface ResizableListener
Parameters:
self - this
e - the event object
Returns:
false to prevent the resize

onResize

public void onResize(Resizable self,
                     int width,
                     int height)
Description copied from interface: ResizableListener
Fires when the element is resized.

Specified by:
onResize in interface ResizableListener
Parameters:
self - this
width - the new width
height - the new height