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. |
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 repositionedoldLeft - the left position of the object before it was repositionedoldTop - the top position of the object before it was repositionednewLeft - the left position of the object nownewTop - the top position of the object now