Preparing search index...
The search index is not available
Octra libraries - v2.0.0
Octra libraries
@octra/annotation
OctraAnnotationSegmentLevel
ClassOctraAnnotationSegmentLevel<T>
Type Parameters
T
extends
OctraAnnotationSegment
<
ASRContext
>
Hierarchy (
view full
)
OctraAnnotationLevel
<
OLevel
<
T
>
,
T
>
OctraAnnotationSegmentLevel
Index
Constructors
constructor
Properties
_id
level
Accessors
id
items
name
sortorder
type
Methods
change
Item
clear
clone
duplicate
get
Left
Sibling
get
Right
Sibling
overwrite
Items
serialize
Constructors
constructor
new
Octra
Annotation
Segment
Level
<
T
>
(
id
,
name
,
items
?
)
:
OctraAnnotationSegmentLevel
<
T
>
Type Parameters
T
extends
OctraAnnotationSegment
<
ASRContext
>
Parameters
id
:
number
name
:
string
Optional
items
:
T
[]
Returns
OctraAnnotationSegmentLevel
<
T
>
Properties
Protected
_id
_id
:
number
level
level
:
OLevel
<
T
>
Accessors
id
get
id
(
)
:
number
Returns
number
items
get
items
(
)
:
S
[]
Returns
S
[]
name
get
name
(
)
:
string
Returns
string
set
name
(
value
)
:
void
Parameters
value
:
string
Returns
void
sortorder
get
sortorder
(
)
:
number
Returns
number
type
get
type
(
)
:
AnnotationLevelType
Returns
AnnotationLevelType
Methods
change
Item
change
Item
(
item
)
:
OctraAnnotationSegmentLevel
<
T
>
Parameters
item
:
T
Returns
OctraAnnotationSegmentLevel
<
T
>
clear
clear
(
)
:
void
Returns
void
clone
clone
(
)
:
OctraAnnotationSegmentLevel
<
T
>
Returns
OctraAnnotationSegmentLevel
<
T
>
duplicate
duplicate
(
id
,
itemIDCounter
)
:
OctraAnnotationSegmentLevel
<
T
>
Parameters
id
:
number
itemIDCounter
:
number
Returns
OctraAnnotationSegmentLevel
<
T
>
get
Left
Sibling
get
Left
Sibling
(
index
)
:
undefined
|
T
Parameters
index
:
number
Returns
undefined
|
T
get
Right
Sibling
get
Right
Sibling
(
index
)
:
undefined
|
T
Parameters
index
:
number
Returns
undefined
|
T
overwrite
Items
overwrite
Items
(
items
)
:
void
Parameters
items
:
T
[]
Returns
void
serialize
serialize
(
)
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_id
level
Accessors
id
items
name
sortorder
type
Methods
change
Item
clear
clone
duplicate
get
Left
Sibling
get
Right
Sibling
overwrite
Items
serialize
Octra libraries - v2.0.0
Loading...