Packagecom.yworks.graph.model
Interfacepublic interface IBendLocationChangedListener
Implementors GraphCanvasComponent

Classes that want to be informed about bend location changes can implement this interface and register themselves with an IBendLocationChangedReporter.

"Event handling in the Java manner"

An implementation of IBendLocationChangedReporter can be retrieved from a DefaultGraph's lookup().

See also

com.yworks.graph.model.IBendLocationChangedReporter


Public Methods
 MethodDefined By
  
bendLocationChanged(bend:IBend, oldLocation:IPoint):void
Called when the location of a bend has changed.
IBendLocationChangedListener
Method Detail
bendLocationChanged()method
public function bendLocationChanged(bend:IBend, oldLocation:IPoint):void

Called when the location of a bend has changed.

Parameters

bend:IBend — The bend whose location has changed.
 
oldLocation:IPoint — The bend's location before the change