Packageorg.juicekit.visual.renderers
Classpublic class HBarRenderer
InheritanceHBarRenderer Inheritance NumberRendererBase Inheritance RendererBase Inheritance mx.core.UIComponent

The HBarRenderer class draws a text label and a horizontal bar using the numeric value assigned to this renderer's data property.



Public Properties
 PropertyDefined by
 Inheriteddata : Object
Implement the IDataRenderer interface.
RendererBase
 InheritedlistData : BaseListData
Implement the IDropInListItemRenderer interface.
RendererBase
Protected Properties
 PropertyDefined by
 InheriteddataPropertyChanged : Boolean = false
Indicated whether the data property was changed.
RendererBase
  numberValue : Number
[read-only] Support rendering both absolute and percentage values.
HBarRenderer
Public Methods
 MethodDefined by
  
Constructor.
HBarRenderer
Protected Methods
 MethodDefined by
 Inherited
Reset the dataPropertyChanged and invalidate the display list.
RendererBase
Events
 EventSummaryDefined by
 Inherited Dispatched when the data property changes.RendererBase
Styles
 StyleDescriptionDefined by
  
backgroundColor
Type: uint   Format: Color   CSS Inheritance: no
Determines the inverse fill color. The default value is NaN.
HBarRenderer
  
color
Type: uint   Format: Color   CSS Inheritance: yes
Determines the positive fill color. The default value is 0x000000.
HBarRenderer
  
fontColor
Type: uint   Format: Color   CSS Inheritance: no
Sets the color of text. The default value is 0x000000.
HBarRenderer
  
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".
HBarRenderer
  
fontSize
Type: Number   Format: Length   CSS Inheritance: yes
Sets the height of the text, in pixels. The default value is 10.
HBarRenderer
  
fontStyle
Type: String   CSS Inheritance: yes
Determines whether the text is italic font. Recognized values are "normal" and "italic". The default value is "normal".
HBarRenderer
  
fontWeight
Type: String   CSS Inheritance: yes
Determines whether the text is boldface. Recognized values are "normal" and "bold". The default value is "normal".
HBarRenderer
  
gapWidth
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the text labels and the horizontal bar. The default value is 2.
HBarRenderer
  
paddingBottom
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's bottom border and the bottom edge of its content area. The default value is 0.
HBarRenderer
  
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.
HBarRenderer
  
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.
HBarRenderer
  
paddingTop
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the component's top border and the top edge of its content area. The default value is 0.
HBarRenderer
  
textAlign
Type: String   CSS Inheritance: yes
Determines the horizontal alignment of text within the cell. Possible values are "left", "center", or "right". The default value is "left".
HBarRenderer
  
textWidth
Type: Number   Format: Length   CSS Inheritance: no
Maximum width in pixels of the text label before clipping occurs. The default value is 30.
HBarRenderer
Property detail
numberValueproperty
numberValue:Number  [read-only]

Support rendering both absolute and percentage values. Absolute values are compared against maximalValue to synthesize a percentage value.

Implementation
    protected function get numberValue():Number

See also

Constructor detail
HBarRenderer()constructor
public function HBarRenderer()

Constructor.