nankin.zheng.gatem.controller
Interface MouseController


public interface MouseController

MouseController gets mouse input and sends it to its listener.

The implementation of this interface depends on different java application platforms. For example, on the swing platform, it should be implemented as a MouseListener.


Method Summary
 void registerController(Controller controller)
          Register a Controller object as its listener.
 

Method Detail

registerController

public void registerController(Controller controller)
Register a Controller object as its listener.

Parameters:
controller - Controller object that wants to get mouse events.