org.vectomatic.client.rep.controller
Class CutController

java.lang.Object
  extended by org.vectomatic.client.rep.controller.ControllerBase
      extended by org.vectomatic.client.rep.controller.CutController
All Implemented Interfaces:
EventListener, IController, IShapeSelectionListener

public class CutController
extends ControllerBase
implements IShapeSelectionListener

Controller to respond to cut request and turn them into CutCommand


Field Summary
 
Fields inherited from class org.vectomatic.client.rep.controller.ControllerBase
_app
 
Constructor Summary
CutController(RepApplication app)
           
 
Method Summary
 void activate(DrawingView view)
           
 ControllerMenuItem getCutMenuItem()
           
 void selectionChanged(ShapeSelection selection)
           
 
Methods inherited from class org.vectomatic.client.rep.controller.ControllerBase
deactivate, keyDown, keyPress, keyUp, mouseDown, mouseMove, mouseUp, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CutController

public CutController(RepApplication app)
Method Detail

activate

public void activate(DrawingView view)
Specified by:
activate in interface IController
Overrides:
activate in class ControllerBase

getCutMenuItem

public ControllerMenuItem getCutMenuItem()

selectionChanged

public void selectionChanged(ShapeSelection selection)
Specified by:
selectionChanged in interface IShapeSelectionListener


Copyright © 2010. All Rights Reserved.