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
GeneratorEdgeEditor
Class GeneratorEdgeEditor
Hierarchy
Editor
GeneratorEdgeEditor
Index
Constructors
constructor
Properties
content
edge
element
holder
mask
Background
state
Machine
Methods
add
Button
add
Buttons
add
Label
add
Text
Field
center
close
init
init
Mask
init
Position
initUI
set
Max
Height
Content
set
OnClose
set
Title
Constructors
constructor
new
Generator
Edge
Editor
(
edge
:
GeneratorEdge
, stateMachine
:
StateMachine
)
:
GeneratorEdgeEditor
Parameters
edge:
GeneratorEdge
stateMachine:
StateMachine
Returns
GeneratorEdgeEditor
Properties
content
content
:
Selection
<
HTMLDivElement
>
edge
edge
:
GeneratorEdge
element
element
:
GraphElement
holder
holder
:
Selection
<
HTMLDivElement
,
Element
,
Object
,
Object
>
mask
Background
mask
Background
:
Selection
<
HTMLDivElement
,
Element
,
Object
,
Object
>
state
Machine
state
Machine
:
StateMachine
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
Buttons
add
Buttons
(
)
:
void
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
init
(
)
:
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
Generator
Edge
Editor
constructor
content
edge
element
holder
mask
Background
state
Machine
add
Button
add
Buttons
add
Label
add
Text
Field
center
close
init
init
Mask
init
Position
initUI
set
Max
Height
Content
set
OnClose
set
Title
Generated using
TypeDoc