| Package | widgetfactory.helpers.runtime |
| Class | public class RuntimeData |
| Inheritance | RuntimeData Object |
| Implements | IRuntimeData |
WidgetManager needs to detect runtime changes.
See also
| Property | Defined By | ||
|---|---|---|---|
| endFrame : int
The number frame of the slide that the widget's runtime duration ends on. | RuntimeData | ||
| getIsInRuntime : Function
A function on the widget that returns if it is in runtime or not. | RuntimeData | ||
| isDisplayedForRestOfProject : Boolean
Indicates whether the widget was set by the Captivate Author to display for the rest of the project. | RuntimeData | ||
| name : String
The item name of the widget. | RuntimeData | ||
| runtimeMethod : Function
The method that the WidgetManager will call to notify the widget of a runtime change. | RuntimeData | ||
| slideNumber : int
The number of the slide that the Captivate Author placed the widget on. | RuntimeData | ||
| startFrame : int
The number frame of the slide that the widget's runtime duration begins on. | RuntimeData | ||
| widgetSlide : MovieClip
A reference to the widget's home slide. | RuntimeData | ||
| Method | Defined By | ||
|---|---|---|---|
initializeFromObject(obj:Object):void
Takes an untyped RuntimeData object, extracts its data, and applies it to the properties of this object. | RuntimeData | ||
| endFrame | property |
endFrame:intThe number frame of the slide that the widget's runtime duration ends on.
public function get endFrame():int public function set endFrame(value:int):void| getIsInRuntime | property |
getIsInRuntime:Function
A function on the widget that returns if it is in runtime or not.
If the function returns true, the WidgetManager will take it that the widget is in runtime.
If the function returns false, the WidgetManager will take it that the widget is not in runtime.
public function get getIsInRuntime():Function public function set getIsInRuntime(value:Function):void| isDisplayedForRestOfProject | property |
isDisplayedForRestOfProject:BooleanIndicates whether the widget was set by the Captivate Author to display for the rest of the project.
public function get isDisplayedForRestOfProject():Boolean public function set isDisplayedForRestOfProject(value:Boolean):void| name | property |
name:StringThe item name of the widget.
public function get name():String public function set name(value:String):void| runtimeMethod | property |
runtimeMethod:Function
The method that the WidgetManager will call to notify the widget of a runtime change.
That method must receive a Boolean value. True will indicate that the widget is in runtime.
False will indicate that it has exited runtime
public function get runtimeMethod():Function public function set runtimeMethod(value:Function):void| slideNumber | property |
slideNumber:intThe number of the slide that the Captivate Author placed the widget on. (zero based)
public function get slideNumber():int public function set slideNumber(value:int):void| startFrame | property |
startFrame:intThe number frame of the slide that the widget's runtime duration begins on.
public function get startFrame():int public function set startFrame(value:int):void| widgetSlide | property |
widgetSlide:MovieClipA reference to the widget's home slide.
public function get widgetSlide():MovieClip public function set widgetSlide(value:MovieClip):void| initializeFromObject | () | method |
public function initializeFromObject(obj:Object):void
Takes an untyped RuntimeData object, extracts its data, and applies it to the properties of this object.
Used when dealing with situations where classes can not be shared across widget instances.
Parameters
obj:Object — The untyped RuntimeData object through which the information will be extracted.
|