Winter Cardinal UI - v0.442.0 / EShapeActionRuntime
An action runtime. Please note that all the action runtimes are shared across shapes.
• Readonly
reset: number
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:16
▸ execute(shape
, runtime
, time
): void
Called to execute this action for the given shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
time |
number |
a current time |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:33
▸ initialize(shape
, runtime
): void
Called to initialize this action runtime for the given shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:24
▸ onBlur(shape
, runtime
): void
Called when a shape losees a focuse.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:179
▸ onClick(shape
, runtime
, e
): void
Called when a shape is clicked.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent | InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:50
▸ onDblClick(shape
, runtime
, e
, manager
): void
Called when a shape is double clicked.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
MouseEvent | TouchEvent |
an event object |
manager |
InteractionManager |
the interaction manager |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:59
▸ onDown(shape
, runtime
, e
): void
Called when a pointer or a key get pressed on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent | InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:82
▸ onDowning(shape
, runtime
, e
): void
Called when a pointer or a key are about to be pressed on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent | InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:73
▸ onFocus(shape
, runtime
): void
Called when a shape get focused.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:171
▸ onKeyDown(shape
, runtime
, e
): void
Called when a key is pressed on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:154
▸ onKeyUp(shape
, runtime
, e
): void
Called when a key is released on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:163
▸ onMove(shape
, runtime
, e
): void
Called when a pointer is moved on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:91
▸ onOut(shape
, runtime
, e
): void
Called when a pointer gets out of a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:109
▸ onOver(shape
, runtime
, e
): void
Called when a pointer gets on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:100
▸ onPressed(shape
, runtime
, e
): void
Called when a shape is pressed.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent | InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:136
▸ onRender(shape
, runtime
, time
, renderer
): void
Called when a shape get rendered.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
time |
number |
- |
renderer |
Renderer |
- |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:250
▸ onResize(shape
, runtime
): void
Called when the shape size is changed.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:41
▸ onRightClick(shape
, runtime
, e
): void
Called when a shape is right-clicked.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:188
▸ onRightDown(shape
, runtime
, e
): void
Called when a secondary button gets pressed on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:206
▸ onRightDowning(shape
, runtime
, e
): void
Called when a secondary button is about to be pressed on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:197
▸ onRightPressed(shape
, runtime
, e
): void
Called when a secondary button is pressed on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:233
▸ onRightUnpressed(shape
, runtime
, e
): void
Called when a secondary button is released on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:242
▸ onRightUp(shape
, runtime
, e
): void
Called when a secondary button gets released on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:215
▸ onRightUpOutside(shape
, runtime
, e
): void
Called when a secondary button get released outside of a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:224
▸ onUnpressed(shape
, runtime
, e
): void
Called when a shape is released.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent | InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:145
▸ onUp(shape
, runtime
, e
): void
Called when a pointer or a key get released on a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent | InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:118
▸ onUpOutside(shape
, runtime
, e
): void
Called when a pointer or a key get released outside of a shape.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
e |
KeyboardEvent | InteractionEvent |
an event object |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime.ts:127