org.vectomatic.client.rep.controller
Class LineWidthController

java.lang.Object
  extended by org.vectomatic.client.rep.controller.ControllerBase
      extended by 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


Field Summary
 
Fields inherited from class org.vectomatic.client.rep.controller.ControllerBase
_app
 
Constructor Summary
LineWidthController(RepApplication app)
           
 
Method Summary
 FloatAttributeValue getLineWidth()
           
 com.google.gwt.user.client.ui.Widget getWidget()
           
 void selectionChanged(ShapeSelection selection)
           
 void setLineWidth(FloatAttributeValue lineWidth)
          Invoked when the user changes the line width in the line width menu or in the line width editor
 
Methods inherited from class org.vectomatic.client.rep.controller.ControllerBase
activate, 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

LineWidthController

public LineWidthController(RepApplication app)
Method Detail

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.