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 = 0xF5F5F5
This property can be used as the source for data binding.
public var labelsIntervals:Array
public var labelsOnTop:Boolean = false
This property can be used as the source for data binding.
public var limitMarkHeight:Number = 10
public var majorIntervals:Array
public var majorMarkHeight:Number = 7
public var maxLabelsGap:Number = 30
public var maxMarksGap:Number = 20
public var minLabelsGap:Number = 80
public var minMarksGap:Number = 4
public var minorMarkHeight:Number = 4
public var ruler:SpriteVisualElement
This property can be used as the source for data binding.
public var rulerWidth:Number = 100
This property can be used as the source for data binding.
public var startPosition:Number = 0
This property can be used as the source for data binding.
public var timeLabels:Group
This property can be used as the source for data binding.
public var timeline:Timeline
This property can be used as the source for data binding.
public var timeRange:TimeRange
public var TimeRulerContainer:BorderContainer
This property can be used as the source for data binding.
public var tt:TimeToolTip
This property can be used as the source for data binding.
public var validIntervals:Array
public 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