Packagecom.asterisq.constellation.renderers
Classpublic class DefaultNodeRenderer
InheritanceDefaultNodeRenderer Inheritance BasicNodeRenderer Inheritance NodeRenderer Inheritance mx.core.UIComponent
ImplementsIDraggableNodeRenderer, ISelectableNodeRenderer

The default node renderer. Draws a black circle and a text label whose value is read from the node data object's 'label' property.



Public Properties
 PropertyDefined by
 Inheritedacceleration : Point
The acceleration of this node renderer.
NodeRenderer
 InheritedanimationDuration : Number
The total length of the animation, in milliseconds.
BasicNodeRenderer
 InheritedanimationInitialPosition : Point
The position of the node renderer when the animation begins.
BasicNodeRenderer
 InheritedanimationStartTime : Number
The timestamp marking the beginning of the animation, in milliseconds.
BasicNodeRenderer
 InheritedanimationTargetPosition : Point
The position of the node renderer when the animation is finished.
BasicNodeRenderer
 Inheritedconstellation : IConstellation
The constellation instance displaying this node renderer.
NodeRenderer
 InheriteddragCenter : Point
Indicates the position of the "grip point" of the mouse during dragging.
BasicNodeRenderer
 InheritededgeRenderers : Array
A list of edge renderers connecting this node renderer.
NodeRenderer
 InheritedisDragging : Boolean
Indicates whether this node renderer is currently being dragged.
BasicNodeRenderer
 InheritedneighborNodeRenderers : Array
A list of neighbor renderers.
NodeRenderer
 Inheritednode : LinkedNode
The node being rendered.
NodeRenderer
 InheritednumEdgeRenderers : uint
The number of edge renderers connecting this node renderer.
NodeRenderer
 Inheritedposition : Point
The position of this node renderer.
NodeRenderer
 Inheritedselected : Boolean
Indicates whether this node renderer is selected.
BasicNodeRenderer
 Inheritedvelocity : Point
The velocity of this node renderer.
NodeRenderer
Protected Properties
 PropertyDefined by
 InheritedhitArea_sp : Sprite
The mouse hit area.
BasicNodeRenderer
Public Methods
 MethodDefined by
  
Creates a new node renderer.
DefaultNodeRenderer
 Inherited
Validates this node renderer's position.
NodeRenderer
Protected Methods
 MethodDefined by
 Inherited
clickHandler(evt:MouseEvent):void
Called when a click event is received from the hit area.
BasicNodeRenderer
 Inherited
Called when the node's data changes.
NodeRenderer
 Inherited
doubleClickHandler(evt:MouseEvent):void
Called when a double click event is received from the hit area.
BasicNodeRenderer
 Inherited
mouseDownHandler(evt:MouseEvent):void
Called when a mouse down event is received from the hit area.
BasicNodeRenderer
 Inherited
mouseOutHandler(evt:MouseEvent):void
Called when a mouse out event is received from the hit area.
BasicNodeRenderer
 Inherited
mouseOverHandler(evt:MouseEvent):void
Called when a mouse over event is received from the hit area.
BasicNodeRenderer
 Inherited
mouseUpHandler(evt:MouseEvent):void
Called when a mouse up event is received from the hit area.
BasicNodeRenderer
 Inherited
stageMouseUpHandler(evt:MouseEvent):void
Called when a mouse up event is received from the stage object.
BasicNodeRenderer
Constructor detail
DefaultNodeRenderer()constructor
public function DefaultNodeRenderer()

Creates a new node renderer.