Packagecom.flextoolbox.controls.treeMapClasses
Classpublic class TreeMapNodeData

The TreeMapNodeData class defines the data type of the treeMapData property implemented by drop-in item renderers for the TreeMap control.

While the properties of this class are writable, you should consider them to be read only. They are initialized by the TreeMap class, and read by an item renderer. Changing these values can lead to unexpected results.



Public Properties
 PropertyDefined by
  color : uint
The color representation of the item data, based on the treemap class' itemToColor() method.
TreeMapNodeData
  label : String
The textual representation of the item data, based on the treemap class' itemToLabel() method.
TreeMapNodeData
  owner : IUIComponent
A reference to the treemap object that owns this item.
TreeMapNodeData
  toolTip : String
The alternative textual representation of the item data, based on the treemap class' itemToToolTip() method.
TreeMapNodeData
  uid : String
The unique identifier for this item.
TreeMapNodeData
  weight : Number
The weight representation of the item data, based on the treemap class' itemToWeight() method.
TreeMapNodeData
Public Methods
 MethodDefined by
  
TreeMapNodeData(label:String, weight:Number, color:uint, toolTip:String, uid:String, owner:IUIComponent)
Constructor.
TreeMapNodeData
Property detail
colorproperty
public var color:uint

The color representation of the item data, based on the treemap class' itemToColor() method.

labelproperty 
public var label:String

The textual representation of the item data, based on the treemap class' itemToLabel() method.

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

ownerproperty 
public var owner:IUIComponent

A reference to the treemap object that owns this item. This should be an implementation of ITreeMapBranchRenderer. This property is typed as IUIComponent so that drop-ins like Label and TextInput don't have to have dependencies on TreeMap and all of its dependencies.

toolTipproperty 
public var toolTip:String

The alternative textual representation of the item data, based on the treemap class' itemToToolTip() method.

uidproperty 
public var uid:String

The unique identifier for this item.

weightproperty 
public var weight:Number

The weight representation of the item data, based on the treemap class' itemToWeight() method.

Constructor detail
TreeMapNodeData()constructor
public function TreeMapNodeData(label:String, weight:Number, color:uint, toolTip:String, uid:String, owner:IUIComponent)

Constructor.

Parameters
label:String — The textual representation of the item data.
 
weight:Number — The weight value of the item data
 
color:uint — The color value of the item data
 
toolTip:String — The alternative textual representation of the item data
 
uid:String — A unique identifier.
 
owner:IUIComponent — A reference to the treemap control.