Packageardisia.components.wheelList
Classpublic class WheelList
InheritanceWheelList Inheritance spark.components.List

A list with the renderers arranged as slices in a ellipse.

Renderers must implement IWheelListRenderer.

View the technical documentation on the Ardisia Labs website for more information.

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
  allowDeselection : Boolean
If true, user can deselect a renderer using the CTRL key.
WheelList
  angleOffset : Number
The angle offset to use to begin layout of the renderers.
WheelList
  innerRadius : Number
The radius of the donut hole to put in the wheel.
WheelList
  useCircle : Boolean
If true, the wheel will be a circle by setting the radius to the smaller of the width or height.
WheelList
  useVirtualLayout : Boolean
[override] [write-only] Not virtual layout, not useful since all pie slices are visible.
WheelList
Public Methods
 MethodDefined By
  
dispose():void
Removes the component from the display list.
WheelList
Protected Methods
 MethodDefined By
  
rendererHandler(event:Event):void
Adds relevant listeners to each renderer.
WheelList
  
smHandler(event:Event):void
Handles events on the systemManager.
WheelList
Property Detail
allowDeselectionproperty
allowDeselection:Boolean

If true, user can deselect a renderer using the CTRL key. Only relevant if the "multipleSelection" property is false.

The default value is true.


Implementation
    public function get allowDeselection():Boolean
    public function set allowDeselection(value:Boolean):void
angleOffsetproperty 
angleOffset:Number

The angle offset to use to begin layout of the renderers. Defaults to 90 which lays out the first renderer due north of the center of the list.

The default value is 90.


Implementation
    public function get angleOffset():Number
    public function set angleOffset(value:Number):void
innerRadiusproperty 
innerRadius:Number

The radius of the donut hole to put in the wheel.

The default value is 10.


Implementation
    public function get innerRadius():Number
    public function set innerRadius(value:Number):void
useCircleproperty 
useCircle:Boolean

If true, the wheel will be a circle by setting the radius to the smaller of the width or height.

The default value is false.


Implementation
    public function get useCircle():Boolean
    public function set useCircle(value:Boolean):void
useVirtualLayoutproperty 
useVirtualLayout:Boolean  [write-only] [override]

Not virtual layout, not useful since all pie slices are visible.

The default value is false.


Implementation
    public function set useVirtualLayout(value:Boolean):void
Method Detail
dispose()method
public function dispose():void

Removes the component from the display list.

rendererHandler()method 
protected function rendererHandler(event:Event):void

Adds relevant listeners to each renderer.

Parameters

event:Event — The Event that triggered the handler

smHandler()method 
protected function smHandler(event:Event):void

Handles events on the systemManager.

Parameters

event:Event — The Event that triggered the handler