org.vectomatic.client.rep.controller
Class LineWidthController
java.lang.Object
org.vectomatic.client.rep.controller.ControllerBase
org.vectomatic.client.rep.controller.LineWidthController
- All Implemented Interfaces:
- EventListener, IController, IShapeSelectionListener
public class LineWidthController
- extends ControllerBase
- implements IShapeSelectionListener
Controller to respond to line width modifications and turn
them into SetAttributeCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineWidthController
public LineWidthController(RepApplication app)
getWidget
public com.google.gwt.user.client.ui.Widget getWidget()
selectionChanged
public void selectionChanged(ShapeSelection selection)
- Specified by:
selectionChanged
in interface IShapeSelectionListener
setLineWidth
public void setLineWidth(FloatAttributeValue lineWidth)
- Invoked when the user changes the line width in the line width menu
or in the line width editor
getLineWidth
public FloatAttributeValue getLineWidth()
Copyright © 2010. All Rights Reserved.