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
Editor
Class Editor
Hierarchy
Popup
Editor
NodeEditor
TransitionEdgeEditor
GeneratorEdgeEditor
Index
Constructors
constructor
Properties
content
element
holder
mask
Background
Methods
add
Button
add
Label
add
Text
Field
center
close
init
Mask
init
Position
initUI
set
Max
Height
Content
set
OnClose
set
Title
Constructors
constructor
new
Editor
(
element
:
GraphElement
)
:
Editor
Parameters
element:
GraphElement
Returns
Editor
Properties
content
content
:
Selection
<
HTMLDivElement
>
element
element
:
GraphElement
holder
holder
:
Selection
<
HTMLDivElement
,
Element
,
Object
,
Object
>
mask
Background
mask
Background
:
Selection
<
HTMLDivElement
,
Element
,
Object
,
Object
>
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
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
Globals
Editor
constructor
content
element
holder
mask
Background
add
Button
add
Label
add
Text
Field
center
close
init
Mask
init
Position
initUI
set
Max
Height
Content
set
OnClose
set
Title
Generated using
TypeDoc