Packagecom.flextoolbox.controls.treeMapClasses
Classpublic class TreeMapLeafRenderer
InheritanceTreeMapLeafRenderer Inheritance mx.core.UIComponent
ImplementsIDropInTreeMapItemRenderer, ITreeMapLeafRenderer

The default leaf renderer for the TreeMap control.

See also

com.flextoolbox.controls.TreeMap


Public Properties
 PropertyDefined by
  data : Object
TreeMapLeafRenderer
  selected : Boolean
TreeMapLeafRenderer
  treeMapData : BaseTreeMapData
TreeMapLeafRenderer
Protected Properties
 PropertyDefined by
  background : Button
TreeMapLeafRenderer
  textField : TextField
TreeMapLeafRenderer
Public Methods
 MethodDefined by
  
TreeMapLeafRenderer
  
styleChanged(styleProp:String):void
TreeMapLeafRenderer
Protected Methods
 MethodDefined by
  
TreeMapLeafRenderer
  
TreeMapLeafRenderer
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
TreeMapLeafRenderer
Styles
 StyleDescriptionDefined by
  
borderColor
Type: uint   Format: Color   CSS Inheritance: no
Color of the border. The following controls support this style: Button, CheckBox, ComboBox, MenuBar, NumericStepper, ProgressBar, RadioButton, ScrollBar, Slider, and any components that support the borderStyle style. The default value depends on the component class; if not overriden for the class, the default value is 0xB7BABC.
TreeMapLeafRenderer
  
color
Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component, including the component label. The default value is 0x0B333C.
TreeMapLeafRenderer
  
cornerRadius
Type: Number   Format: Length   CSS Inheritance: no
Radius of component corners. The following components support this style: Alert, Button, ComboBox, LinkButton, MenuBar, NumericStepper, Panel, ScrollBar, Tab, TitleWindow, and any component that supports a borderStyle property set to "solid". The default value depends on the component class; if not overriden for the class, the default value is 0.
TreeMapLeafRenderer
  
disabledColor
Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component if it is disabled. The default value is 0xAAB3B3.
TreeMapLeafRenderer
  
fillAlphas
Type: Array   CSS Inheritance: no
Alphas used for the background fill of controls. Use [1, 1] to make the control background opaque. The default value is [ 0.6, 0.4 ].
TreeMapLeafRenderer
  
fillColors
Type: Array   Format: Color   CSS Inheritance: no
Colors used to tint the background of the control. Pass the same color for both values for a flat-looking control. The default value is [ 0xFFFFFF, 0xCCCCCC ].
TreeMapLeafRenderer
  
focusAlpha
Type: Number   CSS Inheritance: no
Specifies the alpha transparency value of the focus skin. The default value is 0.4.
TreeMapLeafRenderer
  
focusRoundedCorners
Type: String   CSS Inheritance: no
Specifies which corners of the focus rectangle should be rounded. This value is a space-separated String that can contain any combination of "tl", "tr", "bl" and "br". For example, to specify that the right side corners should be rounded, but the left side corners should be square, use "tr br". The cornerRadius style property specifies the radius of the rounded corners. The default value depends on the component class; if not overridden for the class, default value is "tl tr bl br".
TreeMapLeafRenderer
  
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".
TreeMapLeafRenderer
  
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".
TreeMapLeafRenderer
  
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".
TreeMapLeafRenderer
  
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.
TreeMapLeafRenderer
  
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.
TreeMapLeafRenderer
  
fontStyle
Type: String   CSS Inheritance: yes
Determines whether the text is italic font. Recognized values are "normal" and "italic". The default value is "normal".
TreeMapLeafRenderer
  
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.
TreeMapLeafRenderer
  
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.
TreeMapLeafRenderer
  
highlightAlphas
Type: Array   CSS Inheritance: no
Alpha transparencies used for the highlight fill of controls. The first value specifies the transparency of the top of the highlight and the second value specifies the transparency of the bottom of the highlight. The highlight covers the top half of the skin. The default value is [ 0.3, 0.0 ].
TreeMapLeafRenderer
  
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.
TreeMapLeafRenderer
  
leading
Type: Number   Format: Length   CSS Inheritance: yes
Additional vertical space between lines of text.

The default value is 2.

The default value for the ComboBox control is 0.

TreeMapLeafRenderer
  
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.
TreeMapLeafRenderer
  
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.

TreeMapLeafRenderer
  
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.

TreeMapLeafRenderer
  
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.

TreeMapLeafRenderer
  
textDecoration
Type: String   CSS Inheritance: yes
Determines whether the text is underlined. Possible values are "none" and "underline". The default value is "none".
TreeMapLeafRenderer
  
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.
TreeMapLeafRenderer
Property detail
backgroundproperty
protected var background:Button
dataproperty 
data:Object  [read-write]Implementation
    public function get data():Object
    public function set data(value:Object):void
selectedproperty 
selected:Boolean  [read-write]Implementation
    public function get selected():Boolean
    public function set selected(value:Boolean):void
textFieldproperty 
protected var textField:TextField
treeMapDataproperty 
treeMapData:BaseTreeMapData  [read-write]Implementation
    public function get treeMapData():BaseTreeMapData
    public function set treeMapData(value:BaseTreeMapData):void
Constructor detail
TreeMapLeafRenderer()constructor
public function TreeMapLeafRenderer()
Method detail
commitProperties()method
protected override function commitProperties():void
createChildren()method 
protected override function createChildren():void
styleChanged()method 
public override function styleChanged(styleProp:String):voidParameters
styleProp:String
updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number
 
unscaledHeight:Number