org.openmali.types.twodee.util
Interface ResizeListener2i


public interface ResizeListener2i

An object that is interested in learning that a Sized2i object has been resized.


Method Summary
 void onObjectResized(Sized2i object, int oldWidth, int oldHeight, int newWidth, int newHeight)
          This event is fired when a Sized2i object was recently resized.
 

Method Detail

onObjectResized

void onObjectResized(Sized2i object,
                     int oldWidth,
                     int oldHeight,
                     int newWidth,
                     int newHeight)
This event is fired when a Sized2i object was recently resized.

Parameters:
object - the object that was just resized
oldWidth - the width of the object before it was resized
oldHeight - the height of the object before it was resized
newWidth - the width of the object now
newHeight - the height of the object now