org.openmali.types.twodee.util
Interface RepositionListener2i


public interface RepositionListener2i

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


Method Summary
 void onObjectRepositioned(Positioned2i object, int oldLeft, int oldTop, int newLeft, int newTop)
          This event is fired when a Sized2i object was recently resized.
 

Method Detail

onObjectRepositioned

void onObjectRepositioned(Positioned2i object,
                          int oldLeft,
                          int oldTop,
                          int newLeft,
                          int newTop)
This event is fired when a Sized2i object was recently resized.

Parameters:
object - the object that was just repositioned
oldLeft - the left position of the object before it was repositioned
oldTop - the top position of the object before it was repositioned
newLeft - the left position of the object now
newTop - the top position of the object now