org.openmali.types.twodee
Interface ExtSized2i

All Superinterfaces:
Sized2i, Sized2iRO
All Known Implementing Classes:
ExtDim2i, ExtRect2i

public interface ExtSized2i
extends Sized2i

This ExtSized2i extension also keeps a list of listeners to be notified of changes.


Method Summary
 void addResizeListener(ResizeListener2i listener)
          Adds a new ResizeListener2i.
 void removeResizeListener(ResizeListener2i listener)
          Removes the given ResizeListener2i from the List, if it was present.
 
Methods inherited from interface org.openmali.types.twodee.Sized2i
setHeight, setSize, setSize, setSize, setWidth
 
Methods inherited from interface org.openmali.types.twodee.Sized2iRO
getAspect, getHeight, getWidth
 

Method Detail

addResizeListener

void addResizeListener(ResizeListener2i listener)
Adds a new ResizeListener2i. The event is fired from the rendering thread, if necessary.

Parameters:
listener -

removeResizeListener

void removeResizeListener(ResizeListener2i listener)
Removes the given ResizeListener2i from the List, if it was present.

Parameters:
listener -