org.openmali.types.twodee.util
Interface RepositionListener2f


public interface RepositionListener2f

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


Method Summary
 void onObjectRepositioned(Positioned2f object, float oldLeft, float oldTop, float newLeft, float newTop)
          This event is fired when a Sized2f object was recently resized.
 

Method Detail

onObjectRepositioned

void onObjectRepositioned(Positioned2f object,
                          float oldLeft,
                          float oldTop,
                          float newLeft,
                          float newTop)
This event is fired when a Sized2f 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