Packagecom.yworks.graph.anim
Classpublic class GraphMorphEvent
InheritanceGraphMorphEvent Inheritance flash.events.Event

An Event that can be used to be informed about the start and end of graph morphing.

The MORPH_START event type can be used to configure a GraphMorpher instance just before the animation is started.



Public Properties
 PropertyDefined By
  morpher : GraphMorpher
[read-only] The morpher which is involved.
GraphMorphEvent
Public Methods
 MethodDefined By
  
GraphMorphEvent(type:String, morpher:GraphMorpher, bubbles:Boolean = false, cancelable:Boolean = false)
Creates an new GraphMorphEvent.
GraphMorphEvent
  
clone():Event
[override]
GraphMorphEvent
Public Constants
 ConstantDefined By
  MORPH_END : String = morphEnd
[static]
GraphMorphEvent
  MORPH_START : String = morphStart
[static]
GraphMorphEvent
Property Detail
morpherproperty
morpher:GraphMorpher  [read-only]

The morpher which is involved.


Implementation
    public function get morpher():GraphMorpher
Constructor Detail
GraphMorphEvent()Constructor
public function GraphMorphEvent(type:String, morpher:GraphMorpher, bubbles:Boolean = false, cancelable:Boolean = false)

Creates an new GraphMorphEvent.

Parameters
type:String — The event type.
 
morpher:GraphMorpher — The morpher which is involved.
 
bubbles:Boolean (default = false) — Whether the event bubbles
 
cancelable:Boolean (default = false) — Whether the event is cancelable

See also

flash.events.Event
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
MORPH_ENDConstant
public static const MORPH_END:String = morphEnd

MORPH_STARTConstant 
public static const MORPH_START:String = morphStart