PackagedataTree
Classpublic class _Root
Inheritance_Root Inheritance Object
Implements flash.events.IEventDispatcher

Internal Root Node Class Contains all information of a Experiment Tree.

Level:Root -->> _Trial -->> _WordGaze -->> ...



Public Properties
 PropertyDefined By
  align : String
[static]
_Root
  alphabet : String
[static] First Stage of building a trial.
_Root
  EmptyTrialPorp : String
[static]
_Root
  EmptyWordPorp : String
[static]
_Root
  _err_text : Boolean = false
[static]
_Root
  exportTitle : Boolean = false
[static]
_Root
  factor : Number = 0.25
[static]
_Root
  filename : String
[static] name of eye data xml file
_Root
  filepath : String
[static] path to the eye data xml file
_Root
  numbers : String
[static]
_Root
  prop_trial : Array
[static]
_Root
  prop_word : Array
[static]
_Root
  screenRes : Point
[static]
_Root
  staticEventDispatcher : IEventDispatcher
[static] [read-only]
_Root
  style : Object
[static]
_Root
  terminators : String
[static]
_Root
  TextHTML : XML
[static]
_Root
  textpos : Point
[static]
_Root
  trialPropertyHeader : String = null
[static]
_Root
  TXT : XMLListCollection
[static]
_Root
  voiceXMLLoaded : Boolean
[static]
_Root
  wordPropertyHeader : String = null
[static]
_Root
  XML_voice : XML
[static]
_Root
Public Methods
 MethodDefined By
  
_Root(attachedEye:String = R)
_Root
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
_Root
  
buildClean():void
Remove all low level references.
_Root
  
buildTrial(trial:Object, another:_Root):void
_Root
  
dispatchEvent(event:Event):Boolean
_Root
  
export(another:_Root):void
_Root
  
exportFixation(fixation:_Fixation, property:String):String
_Root
  
exportWord(_word:_Word, property:String):String
_Root
  
exportWordMatrix(another:_Root):void
_Root
  
extractGiFn(GiFn:String):Array
[static]
_Root
  
filterTrial(trial_id:int):void
apply data filter on trial.
_Root
  
getChildAt(nativeId:int):Node
_Root
  
hasEventListener(type:String):Boolean
_Root
  
matrixHeader(exportXML:XMLListCollection):String
_Root
  
onALCompleteHandler(evt:Event):void
[static] On complete loading alias.xml file
_Root
  
onTXTCompleteHandler(evt:Event):void
[static]
_Root
  
preserveSpaces(str:String):String
[static]
_Root
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
_Root
  
trialClean(trial_id:int):_Trial
_Root
  
update():void
[static]
_Root
  
willTrigger(type:String):Boolean
_Root
Protected Methods
 MethodDefined By
  
saveCSVFile(event:CloseEvent):void
_Root
Public Constants
 ConstantDefined By
  nbsp : String =  
[static]
_Root
  separator : String = ,
[static] output csv separator
_Root
Property Detail
_err_textproperty
public static var _err_text:Boolean = false

alignproperty 
public static var align:String

alphabetproperty 
public static var alphabet:String

First Stage of building a trial. Build middle level tree of right eye (up to word level).

EmptyTrialPorpproperty 
EmptyTrialPorp:String

This property can be used as the source for data binding.


Implementation
    public static function get EmptyTrialPorp():String
    public static function set EmptyTrialPorp(value:String):void
EmptyWordPorpproperty 
EmptyWordPorp:String

This property can be used as the source for data binding.


Implementation
    public static function get EmptyWordPorp():String
    public static function set EmptyWordPorp(value:String):void
exportTitleproperty 
public static var exportTitle:Boolean = false

factorproperty 
public static var factor:Number = 0.25

filenameproperty 
public static var filename:String

name of eye data xml file

filepathproperty 
public static var filepath:String

path to the eye data xml file

numbersproperty 
public static var numbers:String

prop_trialproperty 
prop_trial:Array

This property can be used as the source for data binding.


Implementation
    public static function get prop_trial():Array
    public static function set prop_trial(value:Array):void
prop_wordproperty 
prop_word:Array

This property can be used as the source for data binding.


Implementation
    public static function get prop_word():Array
    public static function set prop_word(value:Array):void
screenResproperty 
public static var screenRes:Point

staticEventDispatcherproperty 
staticEventDispatcher:IEventDispatcher  [read-only]


Implementation
    public static function get staticEventDispatcher():IEventDispatcher
styleproperty 
public static var style:Object

terminatorsproperty 
public static var terminators:String

TextHTMLproperty 
TextHTML:XML

This property can be used as the source for data binding.


Implementation
    public static function get TextHTML():XML
    public static function set TextHTML(value:XML):void
textposproperty 
public static var textpos:Point

trialPropertyHeaderproperty 
public static var trialPropertyHeader:String = null

TXTproperty 
public static var TXT:XMLListCollection

voiceXMLLoadedproperty 
public static var voiceXMLLoaded:Boolean

wordPropertyHeaderproperty 
public static var wordPropertyHeader:String = null

XML_voiceproperty 
XML_voice:XML

This property can be used as the source for data binding.


Implementation
    public static function get XML_voice():XML
    public static function set XML_voice(value:XML):void
Constructor Detail
_Root()Constructor
public function _Root(attachedEye:String = R)



Parameters
attachedEye:String (default = R)
Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

buildClean()method 
public function buildClean():void

Remove all low level references.

buildTrial()method 
public function buildTrial(trial:Object, another:_Root):void

Parameters

trial:Object
 
another:_Root

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
export()method 
public function export(another:_Root):void

Parameters

another:_Root

exportFixation()method 
public function exportFixation(fixation:_Fixation, property:String):String

Parameters

fixation:_Fixation
 
property:String

Returns
String
exportWord()method 
public function exportWord(_word:_Word, property:String):String

Parameters

_word:_Word
 
property:String

Returns
String
exportWordMatrix()method 
public function exportWordMatrix(another:_Root):void

Parameters

another:_Root

extractGiFn()method 
public static function extractGiFn(GiFn:String):Array

Parameters

GiFn:String

Returns
Array
filterTrial()method 
public function filterTrial(trial_id:int):void

apply data filter on trial.

Parameters

trial_id:int — trial_id starts from 0;

getChildAt()method 
public function getChildAt(nativeId:int):Node

Parameters

nativeId:int

Returns
Node
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
matrixHeader()method 
public function matrixHeader(exportXML:XMLListCollection):String

Parameters

exportXML:XMLListCollection

Returns
String
onALCompleteHandler()method 
public static function onALCompleteHandler(evt:Event):void

On complete loading alias.xml file

Parameters

evt:Event

onTXTCompleteHandler()method 
public static function onTXTCompleteHandler(evt:Event):void

Parameters

evt:Event

preserveSpaces()method 
public static function preserveSpaces(str:String):String

Parameters

str:String

Returns
String
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

saveCSVFile()method 
protected function saveCSVFile(event:CloseEvent):void

Parameters

event:CloseEvent

trialClean()method 
public function trialClean(trial_id:int):_Trial

Parameters

trial_id:int

Returns
_Trial
update()method 
public static function update():void

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean
Constant Detail
nbspConstant
public static const nbsp:String =  

separatorConstant 
public static const separator:String = ,

output csv separator