Packageorg.axiis
Classpublic class DataCanvas
InheritanceDataCanvas Inheritance mx.containers.Canvas

DataCanvas manages the placement and the rendering of layouts.



Public Properties
 PropertyDefined By
  backgroundGeometries : Array
An array of geometries that should be rendered behind the layouts.
DataCanvas
  dataProvider : Object
A placeholder for data used by layouts managed by this DataCanvas.
DataCanvas
  fills : Array
A placeholder for fills.
DataCanvas
  foregroundGeometries : Array
An array of geometries that should be rendered in front of the layouts.
DataCanvas
  layouts : Array
An Array of ILayouts that this DataCanvas should render.
DataCanvas
  palettes : Array
A placeholder for palettes.
DataCanvas
  showDataTips : Boolean = true
Whether or not data tips should be shown when rolling the mouse over items in the DataCanvas's layouts
DataCanvas
  strokes : Array
A placeholder for strokes.
DataCanvas
Public Methods
 MethodDefined By
  
Constructor.
DataCanvas
Protected Methods
 MethodDefined By
  
handleLayoutInvalidate(event:Event):void
Handler for when a layout's layoutInvalidated event has been caught.
DataCanvas
  
Invalidates all layouts that this DataCanvas managers.
DataCanvas
Property Detail
backgroundGeometriesproperty
public var backgroundGeometries:Array

An array of geometries that should be rendered behind the layouts.

dataProviderproperty 
dataProvider:Object  [read-write]

A placeholder for data used by layouts managed by this DataCanvas. Setting this value re-renders the layouts.

This property can be used as the source for data binding.


Implementation
    public function get dataProvider():Object
    public function set dataProvider(value:Object):void
fillsproperty 
public var fills:Array

A placeholder for fills. Modifying this property has no effect on the rendering of the DataCanvas.

This property can be used as the source for data binding.

foregroundGeometriesproperty 
public var foregroundGeometries:Array

An array of geometries that should be rendered in front of the layouts.

layoutsproperty 
public var layouts:Array

An Array of ILayouts that this DataCanvas should render. Layouts appearing later in the array will render on top of earlier layouts.

palettesproperty 
public var palettes:Array

A placeholder for palettes. Modifying this property has no effect on the rendering of the DataCanvas.

This property can be used as the source for data binding.

showDataTipsproperty 
public var showDataTips:Boolean = true

Whether or not data tips should be shown when rolling the mouse over items in the DataCanvas's layouts

strokesproperty 
public var strokes:Array

A placeholder for strokes. Modifying this property has no effect on the rendering of the DataCanvas.

This property can be used as the source for data binding.

Constructor Detail
DataCanvas()Constructor
public function DataCanvas()

Constructor.

Method Detail
handleLayoutInvalidate()method
protected function handleLayoutInvalidate(event:Event):void

Handler for when a layout's layoutInvalidated event has been caught. Invalidates the display list so the layout can be re-rendered.

Parameters

event:Event

invalidateAllLayouts()method 
protected function invalidateAllLayouts():void

Invalidates all layouts that this DataCanvas managers.