Packagecom.ithaca.timeline
Classpublic class ObselSkin
InheritanceObselSkin Inheritance spark.components.supportClasses.SkinnableComponent

The ObselSkin class is a skinnable component that represents a com.ithaca.traces.Obsel.

There are two steps to assign a skin to an obsel:

  1. Create an obselSelector in the obselsSelector section of the xml descriptor. Example: <obselSelector id='Document' selector="SelectorRegexp" selectorParams="type,Document" />
  2. Use the id in the CSS file to assign the skin: timeline|ObselSkin.Document { .... }



Public Properties
 PropertyDefined By
  dragArea : UIComponent
set drag area of the obsels
ObselSkin
  editable : Boolean
Specifies if the obsel is editable or not.
ObselSkin
  obsel : Obsel
[read-only]
ObselSkin
  traceline : TraceLine
The traceline that contains the obsel
ObselSkin
Public Methods
 MethodDefined By
  
ObselSkin(o:Obsel, tl:TraceLine)
ObselSkin
  
editObsel(event:Event):void
Popup a generic edit dialog.
ObselSkin
  
obselTooltip(o:Obsel = null):String
ObselSkin
Protected Methods
 MethodDefined By
  
[override]
ObselSkin
Styles
 Style Description Defined By
  
backgroundColor
Type: Number Format: Color CSS Inheritance: no
ObselSkin
  
icon
Type: Class CSS Inheritance: no
ObselSkin
  
tooltip
Type: String CSS Inheritance: no
ObselSkin
  
visible
Type: Boolean CSS Inheritance: no
ObselSkin
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
  
leftGrip:mx.core.UIComponent
Required: false Part Type: Static

ObselSkin
  
rightGrip:mx.core.UIComponent
Required: false Part Type: Static

ObselSkin
Property Detail
dragAreaproperty
dragArea:UIComponent

set drag area of the obsels


Implementation
    public function get dragArea():UIComponent
    public function set dragArea(value:UIComponent):void
editableproperty 
public var editable:Boolean

Specifies if the obsel is editable or not.

obselproperty 
obsel:Obsel  [read-only]


Implementation
    public function get obsel():Obsel
tracelineproperty 
public var traceline:TraceLine

The traceline that contains the obsel

Constructor Detail
ObselSkin()Constructor
public function ObselSkin(o:Obsel, tl:TraceLine)

Parameters
o:Obsel — The obsel represented by the ObselSkin
 
tl:TraceLine — The traceline that contains the obsel
Method Detail
commitProperties()method
override protected function commitProperties():void

editObsel()method 
public function editObsel(event:Event):void

Popup a generic edit dialog.

Parameters

event:Event

obselTooltip()method 
public function obselTooltip(o:Obsel = null):String

Parameters

o:Obsel (default = null)

Returns
String