org.vectomatic.client.rep.controller
Class PasteController

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

public class PasteController
extends ControllerBase
implements IClipBoardListener

Controller to respond to paste requests and turn them into PasteCommand


Field Summary
 
Fields inherited from class org.vectomatic.client.rep.controller.ControllerBase
_app
 
Constructor Summary
PasteController(RepApplication app)
           
 
Method Summary
 void activate(DrawingView view)
           
 void clipBoardChanged(ClipBoard clipBoard)
           
 ControllerMenuItem getPasteMenuItem()
           
 
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

PasteController

public PasteController(RepApplication app)
Method Detail

activate

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

getPasteMenuItem

public ControllerMenuItem getPasteMenuItem()

clipBoardChanged

public void clipBoardChanged(ClipBoard clipBoard)
Specified by:
clipBoardChanged in interface IClipBoardListener


Copyright © 2010. All Rights Reserved.