| Package | dataTree |
| Class | public class _Trial |
| Inheritance | _Trial Node Object |
Level: Root -->> Trial -->> Word -->> ...
Trial --> _fixationList -->> Fixation -> ...
| Property | Defined By | ||
|---|---|---|---|
![]() | _adpotId : Number = NaN
_adpotId = current number of child of the parent when a child is added to parent. | Node | |
| _audioST : int = 0 | _Trial | ||
![]() | Children : Array
A list of its childern. | Node | |
| _drift : Object | _Trial | ||
| _fixationList : Node | _Trial | ||
![]() | _nativeId : int
_nativeId = current number of child(starts from 1) of the parent when the child is created. | Node | |
| _numLine : int = 0
Total number of lines in current trial
| _Trial | ||
| _numSentence : int = 1 | _Trial | ||
| Page : int [read-only]
Number of page. | _Trial | ||
![]() | parent : Node
Get parent node. | Node | |
| pred : _Trial [read-only]
Get pred trial node. | _Trial | ||
![]() | _pred : Node
Younger brother. | Node | |
| Property : String [read-only]
Get extra properties for the trial
| _Trial | ||
| succ : _Trial [read-only]
Get succ trial node. | _Trial | ||
![]() | _succ : Node
Elder brother. | Node | |
| Tlines : int [read-only]
Total number of lines on the page. | _Trial | ||
| Tsentences : int [read-only]
Total number of sentences on the page. | _Trial | ||
| TWonP : int [read-only]
Total number of words on the page. | _Trial | ||
| _unspaced : Boolean = false
Text in the trial is spaced or not. | _Trial | ||
![]() | valid : Boolean = true | Node | |
| Method | Defined By | ||
|---|---|---|---|
Constructor of Trail Class
| _Trial | ||
![]() |
Add a node to Children list. | Node | |
![]() | getChildAt(nativeId:int):Node
Get child node by nativeId. | Node | |
getPropertyByName(property:String):String
Return the requested property by property name. | _Trial | ||
![]() | isError(value:Number):Boolean [static]
check if the vaule is a calucation error. | Node | |
![]() | isErrProp(value:String):Boolean [static]
check if the vaule is a get property error. | Node | |
![]() |
Repair children relationships after clone from another node. | Node | |
![]() | truncateToInt(num:Number):String [static] | Node | |
| _audioST | property |
public var _audioST:int = 0| _drift | property |
public var _drift:Object| _fixationList | property |
public var _fixationList:Node| _numLine | property |
public var _numLine:int = 0Total number of lines in current trial
| _numSentence | property |
public var _numSentence:int = 1| _unspaced | property |
public var _unspaced:Boolean = falseText in the trial is spaced or not.
| Page | property |
Page:int [read-only] Number of page.
public function get Page():int| pred | property |
| Property | property |
Property:String [read-only] Get extra properties for the trial
public function get Property():String| succ | property |
| Tlines | property |
Tlines:int [read-only] Total number of lines on the page.
public function get Tlines():int| Tsentences | property |
Tsentences:int [read-only] Total number of sentences on the page.
public function get Tsentences():int| TWonP | property |
TWonP:int [read-only] Total number of words on the page.
public function get TWonP():int| _Trial | () | Constructor |
public function _Trial(parent:Node = null, trial:Object = null)Constructor of Trail Class
Parametersparent:Node (default = null) — parent node
| |
trial:Object (default = null) — XML data object which contains the information of this trial
|
| getPropertyByName | () | method |
public function getPropertyByName(property:String):StringReturn the requested property by property name.
Parameters
property:String — Name of the trial property
|
String — Property value in string
|