Packagecom.flextoolbox.controls.treeMapClasses
Classpublic class LiteTreeMapLeafRenderer
InheritanceLiteTreeMapLeafRenderer Inheritance mx.core.UIComponent
ImplementsIDropInTreeMapItemRenderer, ITreeMapLeafRenderer

A very simple leaf renderer for the TreeMap component.

See also

com.flextoolbox.controls.TreeMap


Public Properties
 PropertyDefined by
  data : Object
LiteTreeMapLeafRenderer
  selected : Boolean
Indicates if the item is selected or not.
LiteTreeMapLeafRenderer
  treeMapData : BaseTreeMapData
When a component is used as a drop-in item renderer Flex initializes the treeMapData property of the component with the additional data from the TreeMap control.
LiteTreeMapLeafRenderer
Protected Properties
 PropertyDefined by
  mouseIsOver : Boolean
Flag that indicates that the renderer is highlighted
LiteTreeMapLeafRenderer
Public Methods
 MethodDefined by
  
Constructor.
LiteTreeMapLeafRenderer
Protected Methods
 MethodDefined by
  
rollOutHandler(event:MouseEvent):void
Clears the mouse over flag.
LiteTreeMapLeafRenderer
Styles
 StyleDescriptionDefined by
  
color
Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component, including the component label. The default value is 0x0B333C.
LiteTreeMapLeafRenderer
  
disabledColor
Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component if it is disabled. The default value is 0xAAB3B3.
LiteTreeMapLeafRenderer
  
fontAntiAliasType
Type: String   CSS Inheritance: yes
Sets the antiAliasType property of internal TextFields. The possible values are "normal" (flash.text.AntiAliasType.NORMAL) and "advanced" (flash.text.AntiAliasType.ADVANCED).

The default value is "advanced", which enables the FlashType renderer if you are using an embedded FlashType font. Set to "normal" to disable the FlashType renderer.

This style has no effect for system fonts.

This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others.

The default value is "advanced".
LiteTreeMapLeafRenderer
  
fontFamily
Type: String   CSS Inheritance: yes
Name of the font to use. Unlike in a full CSS implementation, comma-separated lists are not supported. You can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. The default value is "Verdana".
LiteTreeMapLeafRenderer
  
fontGridFitType
Type: String   CSS Inheritance: yes
Sets the gridFitType property of internal TextFields that represent text in Flex controls. The possible values are "none" (flash.text.GridFitType.NONE), "pixel" (flash.text.GridFitType.PIXEL), and "subpixel" (flash.text.GridFitType.SUBPIXEL).

This property only applies when you are using an embedded FlashType font and the fontAntiAliasType property is set to "advanced".

This style has no effect for system fonts.

This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others.

The default value is "pixel".
LiteTreeMapLeafRenderer
  
fontSharpness
Type: Number   CSS Inheritance: yes
Sets the sharpness property of internal TextFields that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400.

This property only applies when you are using an embedded FlashType font and the fontAntiAliasType property is set to "advanced".

This style has no effect for system fonts.

This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others.

The default value is 0.
LiteTreeMapLeafRenderer
  
fontSize
Type: Number   Format: Length   CSS Inheritance: yes
Height of the text, in pixels. The default value is 10 for all controls except the ColorPicker control. For the ColorPicker control, the default value is 11.
LiteTreeMapLeafRenderer
  
fontSizeMode
Type: String   CSS Inheritance: no
Name of the class to use as the skin for the background and border when a toggle button is selected and disabled. The default value is "noChange".
LiteTreeMapLeafRenderer
  
fontStyle
Type: String   CSS Inheritance: yes
Determines whether the text is italic font. Recognized values are "normal" and "italic". The default value is "normal".
LiteTreeMapLeafRenderer
  
fontThickness
Type: Number   CSS Inheritance: yes
Sets the thickness property of internal TextFields that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200.

This property only applies when you are using an embedded FlashType font and the fontAntiAliasType property is set to "advanced".

This style has no effect on system fonts.

This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others.

The default value is 0.
LiteTreeMapLeafRenderer
  
fontWeight
Type: String   CSS Inheritance: yes
Determines whether the text is boldface. Recognized values are normal and bold. The default value for Button controls is bold. The default value for all other controls is normal.
LiteTreeMapLeafRenderer
  
kerning
Type: Boolean   CSS Inheritance: yes
A Boolean value that indicates whether kerning is enabled (true) or disabled (false). Kerning adjusts the gap between certain character pairs to improve readability, and should be used only when necessary, such as with headings in large fonts. Kerning is supported for embedded FlashType fonts only. Certain fonts, such as Verdana, and monospaced fonts, such as Courier New, do not support kerning. The default value is false.
LiteTreeMapLeafRenderer
  
letterSpacing
Type: Number   CSS Inheritance: yes
The number of additional pixels to appear between each character. A positive value increases the character spacing beyond the normal spacing, while a negative value decreases it. The default value is 0.
LiteTreeMapLeafRenderer
  
paddingLeft
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's left border and the left edge of its content area.

The default value is 0.

The default value for a Button control is 10.

The default value for the ComboBox control is 5.

The default value for the Form container is 16.

The default value for the Tree control is 2.

LiteTreeMapLeafRenderer
  
paddingRight
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's right border and the right edge of its content area.

The default value is 0.

The default value for a Button control is 10.

The default value for the ComboBox control is 5.

The default value for the Form container is 16.

LiteTreeMapLeafRenderer
  
textAlign
Type: String   CSS Inheritance: yes
Alignment of text within a container. Possible values are "left", "right", or "center".

The default value for most components is "left". For the FormItem component, the default value is "right". For the Button, LinkButton, and AccordionHeader components, the default value is "center", and this property is only recognized when the labelPlacement property is set to "left" or "right". If labelPlacement is set to "top" or "bottom", the text and any icon are centered.

LiteTreeMapLeafRenderer
  
textDecoration
Type: String   CSS Inheritance: yes
Determines whether the text is underlined. Possible values are "none" and "underline". The default value is "none".
LiteTreeMapLeafRenderer
  
textIndent
Type: Number   Format: Length   CSS Inheritance: yes
Offset of first line of text from the left side of the container, in pixels. The default value is 0.
LiteTreeMapLeafRenderer
Property detail
dataproperty
data:Object  [read-write]

Implementation
    public function get data():Object
    public function set data(value:Object):void
mouseIsOverproperty 
mouseIsOver:Boolean  [read-write]

Flag that indicates that the renderer is highlighted

Implementation
    protected function get mouseIsOver():Boolean
    protected function set mouseIsOver(value:Boolean):void
selectedproperty 
selected:Boolean  [read-write]

Indicates if the item is selected or not.

Implementation
    public function get selected():Boolean
    public function set selected(value:Boolean):void
treeMapDataproperty 
treeMapData:BaseTreeMapData  [read-write]

When a component is used as a drop-in item renderer Flex initializes the treeMapData property of the component with the additional data from the TreeMap control. The component can then use the treeMapData property and the data property to display the appropriate information as a drop-in item renderer.

You do not set this property in MXML or ActionScript; Flex sets it when the component is used as a drop-in item renderer.

Implementation
    public function get treeMapData():BaseTreeMapData
    public function set treeMapData(value:BaseTreeMapData):void
Constructor detail
LiteTreeMapLeafRenderer()constructor
public function LiteTreeMapLeafRenderer()

Constructor.

Method detail
rollOutHandler()method
protected function rollOutHandler(event:MouseEvent):void

Clears the mouse over flag.

Parameters
event:MouseEvent