fr.umlv.lawrence
Interface GridListener

All Superinterfaces:
EventListener

public interface GridListener
extends EventListener

Defines an object which listen for changes in the GridModel

Author:
Julien Cervelle

Method Summary
 void areaChanged(int x, int y, int dx, int dy)
          Notify that the cells within the rectangle whose upper-left corner has coordinate (x,y), width dx and height dy has changed
 

Method Detail

areaChanged

void areaChanged(int x,
                 int y,
                 int dx,
                 int dy)
Notify that the cells within the rectangle whose upper-left corner has coordinate (x,y), width dx and height dy has changed

Parameters:
x - x coordinate of the rectangle whose cells has changed
y - y coordinate of the rectangle whose cells has changed
dx - width of the rectangle whose cells has changed
dy - height of the rectangle whose cells has changed