This component displays a TimeRange as a ruler with equidistant time markers and time labels.
There are two TimeRulers in the ZoomContext component: one for the whole TimeRange of the timeline (context), and the other for the selected TimeRange (zoom).
mxmlContent
public var backgroundColor:Number = 0xF5F5F5This property can be used as the source for data binding.
public var labelsIntervals:Arraypublic var labelsOnTop:Boolean = falseThis property can be used as the source for data binding.
public var limitMarkHeight:Number = 10public var majorIntervals:Arraypublic var majorMarkHeight:Number = 7public var maxLabelsGap:Number = 30public var maxMarksGap:Number = 20public var minLabelsGap:Number = 80public var minMarksGap:Number = 4public var minorMarkHeight:Number = 4public var ruler:SpriteVisualElementThis property can be used as the source for data binding.
public var rulerWidth:Number = 100This property can be used as the source for data binding.
public var startPosition:Number = 0This property can be used as the source for data binding.
public var timeLabels:GroupThis property can be used as the source for data binding.
public var timeline:TimelineThis property can be used as the source for data binding.
public var timeRange:TimeRangepublic var TimeRulerContainer:BorderContainerThis property can be used as the source for data binding.
public var tt:TimeToolTipThis property can be used as the source for data binding.
public var validIntervals:Arraypublic function TimeRuler()Constructor.
public function changeRange(tr:TimeRange):void Parameters
protected function creationCompleteHandler():void public function onClick(event:MouseEvent):void
Handles a click on the ruler to dispatch an TimelineEvent.TIMERULER_CLICK event with the clicked time
Parameters
public function onTimeRangeChange(e:TimelineEvent):void Parameters
protected function onToolTipShow(event:MouseEvent):void Parameters
public function redraw(event:ResizeEvent = null):void Parameters
| event:ResizeEvent (default = null) |
Thu May 3 2012, 10:25 AM +02:00