org.vectomatic.client.rep.controller
Class NewEllipseController
java.lang.Object
org.vectomatic.client.rep.controller.ControllerBase
org.vectomatic.client.rep.controller.NewEllipseController
- All Implemented Interfaces:
- IController
public class NewEllipseController
- extends ControllerBase
Controller to respond to new ellipse requests and turn
them into NewShapeCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewEllipseController
public NewEllipseController(RepApplication app)
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
deactivate
public void deactivate(DrawingView view)
- Specified by:
deactivate
in interface IController
- Overrides:
deactivate
in class ControllerBase
Copyright © 2010. All Rights Reserved.