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. |
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 resizedoldWidth - the width of the object before it was resizedoldHeight - the height of the object before it was resizednewWidth - the width of the object nownewHeight - the height of the object now