iink-ts - v4.0.0
Preparing search index...
IIHistoryManager
Class IIHistoryManager
Hierarchy (
View Summary
)
AbstractHistoryStack
<
TIIHistoryStackItem
>
IIHistoryManager
Index
Constructors
constructor
Properties
configuration
context
event
logger
stack
Methods
clear
init
init
Stack
is
Changes
Empty
is
Stack
Item
Empty
move
Stack
Index
pop
push
push
To
Stack
redo
reverse
Changes
undo
update
update
Context
Constructors
constructor
new
IIHistoryManager
(
configuration
:
THistoryConfiguration
,
event
:
CanvasEvent
,
)
:
IIHistoryManager
Parameters
configuration
:
THistoryConfiguration
event
:
CanvasEvent
Returns
IIHistoryManager
Properties
configuration
configuration
:
THistoryConfiguration
context
context
:
THistoryContext
event
event
:
CanvasEvent
Protected
logger
logger
:
Logger
= ...
stack
stack
:
TIIHistoryStackItem
[]
Methods
clear
clear
()
:
void
Returns
void
init
init
(
model
:
IIModel
)
:
void
Parameters
model
:
IIModel
Returns
void
Protected
init
Stack
initStack
(
item
:
TIIHistoryStackItem
)
:
void
Parameters
item
:
TIIHistoryStackItem
Returns
void
is
Changes
Empty
isChangesEmpty
(
changes
:
TIIHistoryChanges
)
:
boolean
Parameters
changes
:
TIIHistoryChanges
Returns
boolean
Protected
is
Stack
Item
Empty
isStackItemEmpty
(
item
:
TIIHistoryStackItem
)
:
boolean
Parameters
item
:
TIIHistoryStackItem
Returns
boolean
Protected
move
Stack
Index
moveStackIndex
(
delta
:
-1
|
1
,
allowed
:
boolean
)
:
void
Parameters
delta
:
-1
|
1
allowed
:
boolean
Returns
void
pop
pop
()
:
void
Returns
void
push
push
(
model
:
IIModel
,
changes
:
TIIHistoryChanges
)
:
void
Parameters
model
:
IIModel
changes
:
TIIHistoryChanges
Returns
void
Protected
push
To
Stack
pushToStack
(
item
:
TIIHistoryStackItem
)
:
void
Parameters
item
:
TIIHistoryStackItem
Returns
void
redo
redo
()
:
TIIHistoryStackItem
Returns
TIIHistoryStackItem
Protected
reverse
Changes
reverseChanges
(
changes
:
TIIHistoryChanges
)
:
TIIHistoryChanges
Parameters
changes
:
TIIHistoryChanges
Returns
TIIHistoryChanges
undo
undo
()
:
TIIHistoryStackItem
Returns
TIIHistoryStackItem
update
update
(
model
:
IIModel
)
:
void
Parameters
model
:
IIModel
Returns
void
Protected
update
Context
updateContext
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
configuration
context
event
logger
stack
Methods
clear
init
init
Stack
is
Changes
Empty
is
Stack
Item
Empty
move
Stack
Index
pop
push
push
To
Stack
redo
reverse
Changes
undo
update
update
Context
iink-ts - v4.0.0
Loading...