Constructor
new IntervalTier(name, entryList, minTopt, maxTopt)
Parameters:
Name |
Type |
Attributes |
Default |
Description |
name |
string
|
|
|
|
entryList |
Array
|
|
|
each entry is of the form [start time, end time, label] |
minT |
number
|
<optional>
|
null
|
the smallest time; if null use 0 |
maxT |
number
|
<optional>
|
null
|
the maximum length of the tier; if null use the last timestamp found in the entryList |
- Source:
Extends
Methods
insertEntry(entry, warnFlagopt, collisionCodeopt)
Insert an entry into the tier
Parameters:
Name |
Type |
Attributes |
Default |
Description |
entry |
Array
|
|
|
of the form [start time, end time, label] |
warnFlag |
boolean
|
<optional>
|
true
|
if the entry collides with an existing entry, warn the user? |
collisionCode |
string
|
<optional>
|
null
|
the action to take if there is a collision |
- Source: