org.vectomatic.client.rep.controller
Class SelectShapeController
java.lang.Object
org.vectomatic.client.rep.controller.ControllerBase
org.vectomatic.client.rep.controller.SelectShapeController
- All Implemented Interfaces:
- IController
public class SelectShapeController
- extends ControllerBase
Controller to respond to translate/rotate/resize shape requests and
turn them into TransformShapeCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectShapeController
public SelectShapeController(RepApplication app,
DeleteController deleteController,
ContextualMenuVisitor contextVisitor)
getButton
public MouseControllerButton getButton()
render
public void render(DrawingView view)
- Specified by:
render
in interface IController
- Overrides:
render
in class ControllerBase
activate
public void activate(DrawingView view)
- Specified by:
activate
in interface IController
- Overrides:
activate
in class ControllerBase
mouseDown
public void mouseDown(DrawingView view,
Point p,
int modifiers)
- Specified by:
mouseDown
in interface IController
- Overrides:
mouseDown
in class ControllerBase
mouseMove
public void mouseMove(DrawingView view,
Point p,
int modifiers)
- Specified by:
mouseMove
in interface IController
- Overrides:
mouseMove
in class ControllerBase
mouseUp
public void mouseUp(DrawingView view,
Point p,
int modifiers)
- Specified by:
mouseUp
in interface IController
- Overrides:
mouseUp
in class ControllerBase
keyDown
public void keyDown(DrawingView view,
char keyCode,
int modifiers)
- Specified by:
keyDown
in interface IController
- Overrides:
keyDown
in class ControllerBase
deactivate
public void deactivate(DrawingView view)
- Specified by:
deactivate
in interface IController
- Overrides:
deactivate
in class ControllerBase
Copyright © 2010. All Rights Reserved.