| Package | com.lightstreamer.as_client.item_renderers |
| Class | public class HighlightCellItemRenderer |
| Inheritance | HighlightCellItemRenderer mx.controls.Label |
| Implements | mx.core.IFactory |
| Property | Defined by | ||
|---|---|---|---|
| alphas : Array = null
An array of alpha values for the corresponding colors in the colors array; valid values are 0 to 1.
| HighlightCellItemRenderer | ||
| coldStyles : *
Styles to be applied whenever a cell passes from a "hot" state to an "cold" state.
| HighlightCellItemRenderer | ||
| colors : Array = null
An array of RGB hexadecimal color values to be applied in the hot state.
| HighlightCellItemRenderer | ||
| fadeTime : uint
The duration of the fade effect (in milliseconds) that is applied to pass from "hot" to "cold" state.
| HighlightCellItemRenderer | ||
| gradientType : String
A value from the GradientType class that specifies which gradient type to use: GradientType.LINEAR or GradientType.RADIAL.
| HighlightCellItemRenderer | ||
| hotStyles : *
Styles to be applied whenever a cell passes from a "cold" state to a "hot" state.
| HighlightCellItemRenderer | ||
| hotTime : uint = 0
The duration of the "hot" state (in milliseconds) after an update has been received.
| HighlightCellItemRenderer | ||
| ratios : Array = null
An array of color distribution ratios; valid values are from 0 to 255.
| HighlightCellItemRenderer | ||
| text : String [write-only]
| HighlightCellItemRenderer | ||
| Property | Defined by | ||
|---|---|---|---|
| fadeEffect : Fade = null
The fade effect that is applied to pass from "hot" to "cold" state.
| HighlightCellItemRenderer | ||
| Method | Defined by | ||
|---|---|---|---|
|
clear():void
Move the cell to its cold state.
| HighlightCellItemRenderer | ||
|
newInstance():*
| HighlightCellItemRenderer | ||
| Method | Defined by | ||
|---|---|---|---|
|
fillCell():void
The method that is responsible of the colouring of the cell.
| HighlightCellItemRenderer | ||
|
formatValue(newVal:String, oldVal:String):String
A formatting method that could be overridden to change the value contained in the cell.
| HighlightCellItemRenderer | ||
| alphas | property |
public var alphas:Array = nullAn array of alpha values for the corresponding colors in the colors array; valid values are 0 to 1. If the value is lower than 0, the default is 0. If the value is greater than 1, the default is 1.
| coldStyles | property |
public var coldStyles:*Styles to be applied whenever a cell passes from a "hot" state to an "cold" state. Each name in this object should correspond to the name of an HTML stylesheet attribute; the DOM attribute name should be used, not the CSS name (e.g. "fontWeight" is accepted, while "font-weight" is not). The value should be a valid value for the attribute name.
| colors | property |
public var colors:Array = nullAn array of RGB hexadecimal color values to be applied in the hot state. You can specify up to 15 colors. For each color, be sure you specify a corresponding value in the alphas and ratios properties.
See also
| fadeEffect | property |
protected var fadeEffect:Fade = nullThe fade effect that is applied to pass from "hot" to "cold" state.
| fadeTime | property |
fadeTime:uint [read-write]The duration of the fade effect (in milliseconds) that is applied to pass from "hot" to "cold" state. (Default: 0).
Implementation public function get fadeTime():uint
public function set fadeTime(value:uint):void
| gradientType | property |
public var gradientType:StringA value from the GradientType class that specifies which gradient type to use: GradientType.LINEAR or GradientType.RADIAL.
| hotStyles | property |
public var hotStyles:*Styles to be applied whenever a cell passes from a "cold" state to a "hot" state. Each name in this object should correspond to the name of an HTML stylesheet attribute; the DOM attribute name should be used, not the CSS name (e.g. "fontWeight" is accepted, while "font-weight" is not). The value should be a valid value for the attribute name.
| hotTime | property |
public var hotTime:uint = 0The duration of the "hot" state (in milliseconds) after an update has been received. (Default: 0).
| ratios | property |
public var ratios:Array = nullAn array of color distribution ratios; valid values are from 0 to 255. This value defines the percentage of the width where the color is sampled at 100%. The value 0 represents the left-hand position in the gradient box, and 255 represents the right-hand position in the gradient box.
| text | property |
text:String [write-only]Implementation
public function set text(value:String):void
| clear | () | method |
public function clear():voidMove the cell to its cold state.
| fillCell | () | method |
protected function fillCell():voidThe method that is responsible of the colouring of the cell. If you override this method don't forget to place "this.alpha = 1;" in your code.
| formatValue | () | method |
protected function formatValue(newVal:String, oldVal:String):StringA formatting method that could be overridden to change the value contained in the cell. Default implementation does nothing.
ParametersnewVal:String |
|
oldVal:String |
String |
| newInstance | () | method |
public function newInstance():*
Returns
* |