private void initializeModule() { this.graphicsOperations = new GraphicsOperations(); this.canvasObjectHandler = new CanvasObjectHandler(); this.graphicsOperations.setCanvasObjectHandler(this.canvasObjectHandler); this.colorHandler = new ColorHandler(graphicsOperations); this.mouseHandler = new MouseHandler(graphicsOperations); }
public void setCanvasObjectHandler(CanvasObjectHandler _canvasObjectHandler) { canvasObjectHandler = _canvasObjectHandler; }