API / geotoolkit / report / edit / history / IState / IState
Define an object which can be laid out.
Interface
Constructors
Methods
▸ Abstract dispose(): void
Dispose
void
▸ Abstract equalsTo(state): boolean
Compare two states
| Name | Type | Description |
|---|---|---|
state | IState | other state |
boolean
▸ Abstract getSelection(selection?): string[]
Returns selection
| Name | Type | Description |
|---|---|---|
Optional selection | string[] | selection array |
string[]
▸ Abstract isEmpty(): boolean
Return is empty flag
boolean
▸ Abstract redo(rootDocument?): Promise<void>
Redo
| Name | Type |
|---|---|
Optional rootDocument | Document |
Promise<void>
▸ Abstract save(): IState
Save state
this
▸ Abstract saveBefore(): IState
Save state 'before'
this
▸ Abstract setSelection(selection): IState
Set selection
| Name | Type | Description |
|---|---|---|
selection | string[] | selection array |
this
▸ Abstract undo(rootDocument?): Promise<void>
Undo
| Name | Type |
|---|---|
Optional rootDocument | Document |
Promise<void>