| Package | ardisia.components.timebarContainer.themes.baseClasses |
| Class | public class TimebarContainerItemRendererBase |
| Inheritance | TimebarContainerItemRendererBase mx.core.UIComponent |
| Implements | ITimebarContainerItemRenderer |
| Subclasses | TimebarContainerHeaderItemRenderer, TimebarContainerItemRenderer |
| Property | Defined By | ||
|---|---|---|---|
| baselineShift : Number
Apply some shift to text. | TimebarContainerItemRendererBase | ||
| dateBegin : Date
The start date represented by the renderer. | TimebarContainerItemRendererBase | ||
| dateEnd : Date
The end date represented by the renderer. | TimebarContainerItemRendererBase | ||
| hovered : Boolean
True when the renderer is hovered. | TimebarContainerItemRendererBase | ||
| intervalMode : IntervalMode
The IntervalMode represented by the renderer. | TimebarContainerItemRendererBase | ||
| itemIndex : int
The item index of the renderer, which is the index of the interval. | TimebarContainerItemRendererBase | ||
| labelDisplay : FTETextField
Label used to display the time period represented by the renderer. | TimebarContainerItemRendererBase | ||
| Method | Defined By | ||
|---|---|---|---|
getMinWidthAtMode(mode:IntervalMode):Number
Returns the minimum number of pixels required for the passed
IntervalMode. | TimebarContainerItemRendererBase | ||
update():void
Call to update the label based on the renderer's set properties. | TimebarContainerItemRendererBase | ||
| baselineShift | property |
baselineShift:NumberApply some shift to text.
The default value is 0.
public function get baselineShift():Number public function set baselineShift(value:Number):void| dateBegin | property |
dateBegin:DateThe start date represented by the renderer.
The default value is null.
public function get dateBegin():Date public function set dateBegin(value:Date):void| dateEnd | property |
dateEnd:DateThe end date represented by the renderer.
The default value is null.
public function get dateEnd():Date public function set dateEnd(value:Date):void| hovered | property |
hovered:BooleanTrue when the renderer is hovered.
The default value is false.
public function get hovered():Boolean public function set hovered(value:Boolean):void| intervalMode | property |
intervalMode:IntervalModeThe IntervalMode represented by the renderer.
The default value is null.
public function get intervalMode():IntervalMode public function set intervalMode(value:IntervalMode):void| itemIndex | property |
itemIndex:intThe item index of the renderer, which is the index of the interval.
The default value is 0.
public function get itemIndex():int public function set itemIndex(value:int):void| labelDisplay | property |
public var labelDisplay:FTETextFieldLabel used to display the time period represented by the renderer.
Use a FTETextField for maximum speed while retaining the ability to embed fonts. Use the textWidth property to get the width of FTETextField objects.
| getMinWidthAtMode | () | method |
public function getMinWidthAtMode(mode:IntervalMode):NumberReturns the minimum number of pixels required for the passed IntervalMode. Customize to add additional modes.
Parameters
mode:IntervalMode — the IntervalMode to return the width for
|
Number — number of pixels required for the passed IntervalMode
|
| update | () | method |
public function update():voidCall to update the label based on the renderer's set properties.
Customize to add additional modes.
Will be called automatically by the TimebarContainer after all relevant properties have been set.