Packagecom.yworks.graph.drawing
Classpublic class AbstractEdgeStyle
InheritanceAbstractEdgeStyle Inheritance AbstractStyle Inheritance Object
Implements IEdgeStyle
Subclasses PolylineEdgeStyle

Simple abstract base class for IEdgeStyles.



Public Properties
 PropertyDefined By
  sourceArrow : IArrow
Gets the visual arrow at the source end of edges that use this style.
AbstractEdgeStyle
 InheritedstyleRenderer : IStyleRenderer
[read-only] Gets the renderer implementation that has been supplied to this instance upon creation.
AbstractStyle
  targetArrow : IArrow
Gets the visual arrow at the target end of edges that use this style.
AbstractEdgeStyle
Public Methods
 MethodDefined By
  
Creates an instance using the provided renderer instance.
AbstractEdgeStyle
  
clone():Object
[override] Creates a clone of this instance.
AbstractEdgeStyle
 Inherited
install(canvas:CanvasComponent, group:ICanvasObjectGroup, modelItem:IModelItem):Array
Prepares the rendering of an IModelItem in a CanvasComponent by adding ICanvasObject's to the provided canvas.
AbstractStyle
Protected Methods
 MethodDefined By
  
Called by clone() to get a new instance of this.
AbstractEdgeStyle
Property Detail
sourceArrowproperty
sourceArrow:IArrow

Gets the visual arrow at the source end of edges that use this style.


Implementation
    public function get sourceArrow():IArrow
    public function set sourceArrow(value:IArrow):void
targetArrowproperty 
targetArrow:IArrow

Gets the visual arrow at the target end of edges that use this style.


Implementation
    public function get targetArrow():IArrow
    public function set targetArrow(value:IArrow):void
Constructor Detail
AbstractEdgeStyle()Constructor
public function AbstractEdgeStyle(styleRenderer:IStyleRenderer)

Creates an instance using the provided renderer instance.

Parameters
styleRenderer:IStyleRenderer
Method Detail
clone()method
override public function clone():Object

Creates a clone of this instance.

Returns
Object — A clone of this instance.
createClone()method 
protected function createClone():AbstractEdgeStyle

Called by clone() to get a new instance of this.

Subclasses have to override this method

Returns
AbstractEdgeStyle — A new configured instance of this.

Throws
flash.errors:IllegalOperationError — if this method has not been overridden.