Packagecom.ithaca.timeline
Classpublic class SimpleObselsRenderer
InheritanceSimpleObselsRenderer Inheritance BaseObselsRenderer Inheritance spark.components.Group

The SimpleObselRenderer class extends BaseOselsRenderer to render obsels with lines and rect (durative obsel) in a Shape component.

It is used to render the preview tracelines in the zoomContext zone.

Using different colors for obsels is not supported yet.

Default MXML PropertymxmlContent



Public Properties
 PropertyDefined By
  _backgroundColor : uint = 0xF5F5F5
SimpleObselsRenderer
 InheritedborderVisible : Boolean = true
Specifies if the borders of the obselsRenderer should be visible or not.
BaseObselsRenderer
  _durativeColor : uint = 0x2222C9
SimpleObselsRenderer
  _filter : ISelector
SimpleObselsRenderer
  _markerColor : uint = 0x000000
SimpleObselsRenderer
 InheritedobselsCollection : ArrayCollection
[write-only] Change the obsels collection that is displayed by the obsels renderer.
BaseObselsRenderer
Protected Properties
 PropertyDefined By
 Inherited_obsels : ArrayCollection = null
the obsels collection displayed by this component
BaseObselsRenderer
 Inherited_timeline : Timeline
Reference to the Timeline
BaseObselsRenderer
 Inherited_timeRange : TimeRange = null
Reference to the TimeRange.
BaseObselsRenderer
 Inherited_traceline : TraceLine
Reference to the TraceLine that contains the BaseObselsRenderer
BaseObselsRenderer
Public Methods
 MethodDefined By
  
SimpleObselsRenderer
  
filterDisplay(selector:ISelector = null):void
[override]
SimpleObselsRenderer
 Inherited
onObselsCollectionChange(event:CollectionEvent):void
The callback used when the TimeRange dispatches a CollectionEvent.COLLECTION_CHANGE event.
BaseObselsRenderer
 Inherited
onResize(event:ResizeEvent):void
The callback used when the component dispatches a ResizeEvent.RESIZE event.
BaseObselsRenderer
 Inherited
The callback used when the TimeRange dispatch a TimelineEvent.TIMERANGES_CHANGE or TimelineEvent.TIMERANGES_SHIFT event.
BaseObselsRenderer
  
redraw(event:Event = null):void
[override] The only way to refresh the render in this class.
SimpleObselsRenderer
Property Detail
_backgroundColorproperty
public var _backgroundColor:uint = 0xF5F5F5

_durativeColorproperty 
public var _durativeColor:uint = 0x2222C9

_filterproperty 
public var _filter:ISelector

_markerColorproperty 
public var _markerColor:uint = 0x000000

Constructor Detail
SimpleObselsRenderer()Constructor
public function SimpleObselsRenderer(tr:TimeRange, tl:Timeline)



Parameters
tr:TimeRange
 
tl:Timeline
Method Detail
filterDisplay()method
override public function filterDisplay(selector:ISelector = null):void

Parameters

selector:ISelector (default = null)

redraw()method 
override public function redraw(event:Event = null):void

The only way to refresh the render in this class.

Parameters

event:Event (default = null)