Search
Preparing search index...
The search index is not available
The Interactive Turing Machine — Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
NodeEditor
Class NodeEditor
Hierarchy
Editor
NodeEditor
Index
Constructors
constructor
Properties
content
element
holder
mask
Background
node
turing
Machine
Methods
add
Button
add
Label
add
Text
Field
center
close
delete
Node
init
init
Content
init
Mask
init
Position
initUI
set
Max
Height
Content
set
OnClose
set
Title
update
Final
Button
Constructors
constructor
new
Node
Editor
(
node
:
StateNode
, turingMachine
:
TuringMachine
)
:
NodeEditor
Parameters
node:
StateNode
turingMachine:
TuringMachine
Returns
NodeEditor
Properties
content
content
:
Selection
<
HTMLDivElement
>
element
element
:
GraphElement
holder
holder
:
Selection
<
HTMLDivElement
,
Element
,
Object
,
Object
>
mask
Background
mask
Background
:
Selection
<
HTMLDivElement
,
Element
,
Object
,
Object
>
node
node
:
StateNode
turing
Machine
turing
Machine
:
TuringMachine
Methods
add
Button
add
Button
(
text
:
string
, callback
:
function
, id
?:
string
, classElement
?:
string
, parent
?:
Selection
<
HTMLElement
>
)
:
void
Parameters
text:
string
callback:
function
(
)
:
void
Returns
void
Default value
id:
string
= null
Default value
classElement:
string
= null
Default value
parent:
Selection
<
HTMLElement
>
= this.content
Returns
void
add
Label
add
Label
(
text
:
string
, forAttribute
:
string
, parent
?:
Selection
<
HTMLElement
>
)
:
void
Parameters
text:
string
forAttribute:
string
Default value
parent:
Selection
<
HTMLElement
>
= this.content
Returns
void
add
Text
Field
add
Text
Field
(
value
:
string
, attributes
:
Record
<
string
,
string
>
, parent
?:
Selection
<
HTMLElement
>
)
:
void
Parameters
value:
string
attributes:
Record
<
string
,
string
>
Default value
parent:
Selection
<
HTMLElement
>
= this.content
Returns
void
center
center
(
)
:
void
Returns
void
close
close
(
)
:
void
Returns
void
delete
Node
delete
Node
(
)
:
void
Returns
void
init
init
(
)
:
void
Returns
void
init
Content
init
Content
(
)
:
void
Returns
void
init
Mask
init
Mask
(
)
:
void
Returns
void
init
Position
init
Position
(
)
:
void
Returns
void
initUI
initUI
(
)
:
void
Returns
void
set
Max
Height
Content
set
Max
Height
Content
(
maxHeight
:
number
)
:
void
Parameters
maxHeight:
number
Returns
void
set
OnClose
set
OnClose
(
onClose
:
function
)
:
void
Parameters
onClose:
function
(
)
:
void
Returns
void
Returns
void
set
Title
set
Title
(
title
:
string
)
:
void
Parameters
title:
string
Returns
void
Private
update
Final
Button
update
Final
Button
(
stateIsFinal
:
boolean
)
:
void
Parameters
Optional
stateIsFinal:
boolean
Returns
void
Globals
Node
Editor
constructor
content
element
holder
mask
Background
node
turing
Machine
add
Button
add
Label
add
Text
Field
center
close
delete
Node
init
init
Content
init
Mask
init
Position
initUI
set
Max
Height
Content
set
OnClose
set
Title
update
Final
Button
Generated using
TypeDoc