Packagecom.flextoolbox.controls.treeMapClasses
Classpublic class TreeMapNodeRenderer
InheritanceTreeMapNodeRenderer Inheritance mx.controls.Button
ImplementsIDropInTreeMapNodeRenderer, ITreeMapNodeRenderer, mx.core.IDataRenderer

The standard renderer used for TreeMap nodes. It's actually a button with specialized functionality for the label and coloring.



Public Properties
 PropertyDefined by
  data : Object
The data to render.
TreeMapNodeRenderer
  label : String
Always returns an empty string ("") because anything else ruins the component's performance.
TreeMapNodeRenderer
  treeMapData : TreeMapNodeData
TreeMapNodeRenderer
Public Methods
 MethodDefined by
  
Constructor.
TreeMapNodeRenderer
  
getTextStyles():TextFormat
Returns the TextFormat object that represents character formatting information for the label.
TreeMapNodeRenderer
Styles
 StyleDescriptionDefined by
  
autoFitText
Type: String
If "full" or "partial", the node's text may increase or decrease in size to fill the node. Choose "partial" for best readability. The default value is "none".
TreeMapNodeRenderer
Property detail
dataproperty
data:Object  [read-write]

The data to render.

Implementation
    public function get data():Object
    public function set data(value:Object):void
labelproperty 
label:String  [read-write]

Always returns an empty string ("") because anything else ruins the component's performance. It's okay, though, because the component sets its own label text anyway!

Implementation
    public function get label():String
    public function set label(value:String):void
treeMapDataproperty 
treeMapData:TreeMapNodeData  [read-write]

Implementation
    public function get treeMapData():TreeMapNodeData
    public function set treeMapData(value:TreeMapNodeData):void
Constructor detail
TreeMapNodeRenderer()constructor
public function TreeMapNodeRenderer()

Constructor.

Method detail
getTextStyles()method
public function getTextStyles():TextFormat

Returns the TextFormat object that represents character formatting information for the label.

Returns
TextFormat — A TextFormat object.

See also