API / geotoolkit / controls / tools / editors / AbstractEditorBase / AbstractEditorBase
editors.AbstractEditorBase.AbstractEditorBase
Type Aliases
Type Aliases
Ƭ EventMap: EventMap & { BeforeCommandApplied: PaintEventArgs ; CommandApplied: PaintEventArgs ; CommandApplying: PaintEventArgs ; Continue: PaintEventArgs ; Deleted: PaintEventArgs ; Drag: PaintEventArgs ; EditorChanged: PaintEventArgs ; End: PaintEventArgs ; Flipped: PaintEventArgs ; Grouped: PaintEventArgs ; Inserted: PaintEventArgs ; NodeDeleted: PaintEventArgs ; NodeInserted: PaintEventArgs ; NodeReplaced: PaintEventArgs ; PropertyChanged: PaintEventArgs ; Redo: PaintEventArgs ; Resized: PaintEventArgs ; Rotated: PaintEventArgs ; SceneChanged: PaintEventArgs ; Start: PaintEventArgs ; Translated: PaintEventArgs ; Undo: PaintEventArgs ; Ungrouped: PaintEventArgs }
Ƭ GetCursorCallback: (eventArgs: EventArgs, editor: AbstractEditorBase, defCursor?: string) => string | null
▸ (eventArgs, editor, defCursor?): string | null
The CSS cursor customization callback
| Name | Type | Description |
|---|---|---|
eventArgs | EventArgs | the event arguments |
editor | AbstractEditorBase | the active editor |
Optional defCursor | string | the cursor that is supposed to be applied |
string | null
a CSS cursor string (see https://developer.mozilla.org/en-US/docs/Web/CSS/cursor)
Ƭ GhostOptions: Options & { fillstyle?: Type ; linestyle?: Type ; opacity?: number }
Ƭ HandlesOptions: Object
handles properties
| Name | Type | Description |
|---|---|---|
active? | ShapeStyles[] | properties array for active handles. Overrides external css styles if any |
bbox? | Options | bbox resize handles properties (see SymbolShape#setProperties) |
hover? | ShapeStyles[] | properties array for hover handles. Overrides external css styles if any |
rotation? | Options | rotation handle properties (see SymbolShape#setProperties) |
Ƭ HandlesOptionsOut: Object
handles out properties
| Name | Type | Description |
|---|---|---|
active? | ShapeStyles[] | properties array for active handles |
bbox | OptionsOut | bbox resize handles properties (see SymbolShape#getProperties) |
hover? | ShapeStyles[] | properties array for hover handles |
rotation | OptionsOut | rotation handle properties (see SymbolShape#getProperties) |
Ƭ Options<T>: Options & { bbox?: Path | Options ; editmode?: EditMode ; getcursorcallback?: GetCursorCallback | null ; ghost?: GhostOptions ; handles?: HandlesOptions ; history?: History ; node?: T | Options }
editor options
Ƭ OptionsOut: OptionsOut & { bbox: OptionsOut ; editmode: EditMode ; getcursorcallback: GetCursorCallback | null ; ghost: Required<GhostOptions> ; handles: HandlesOptionsOut ; node?: OptionsOut }
editor properties
Ƭ ShapeStyles<T>: Object
shape's extra properties description object
| Name | Type | Description |
|---|---|---|
cssclass | string | the associated shape css class |
nodetype | Constructable<T> | the associated shape type |
styles | Parameters<T["setProperties"]>[0] | the shape extra properties |