Winter Cardinal UI - v0.442.0 / EShapeActionRuntimeGestureShape
A base class of action runtimes.
EShapeActionRuntimeConditional
↳ EShapeActionRuntimeGestureShape
• new EShapeActionRuntimeGestureShape(value
): EShapeActionRuntimeGestureShape
Name | Type |
---|---|
value |
EShapeActionValueGesture |
EShapeActionRuntimeGestureShape
EShapeActionRuntimeConditional.constructor
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:23
• Protected
_operationType: number
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:19
• Protected
_scaleMax: number
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:21
• Protected
_scaleMin: number
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:20
• Protected
Readonly
condition: EShapeActionExpression
<boolean
>
EShapeActionRuntimeConditional.condition
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-conditional.ts:13
• Readonly
reset: number
EShapeActionRuntimeConditional.reset
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:16
▪ Static
Protected
Optional
GESTURE_UTIL: UtilGesture
<EShape
>
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:18
▸ 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
EShapeActionRuntimeConditional.execute
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:26
▸ getGestureUtil(): UtilGesture
<EShape
>
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:40
▸ 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
EShapeActionRuntimeConditional.initialize
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:22
▸ newGestureUtil(): UtilGesture
<EShape
>
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:44
▸ onBlur(shape
, runtime
): void
Called when a shape losees a focuse.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
void
EShapeActionRuntimeConditional.onBlur
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:38
▸ 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
EShapeActionRuntimeConditional.onClick
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:42
▸ 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
EShapeActionRuntimeConditional.onDblClick
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:46
▸ 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
EShapeActionRuntimeConditional.onDown
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:30
▸ 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
EShapeActionRuntimeConditional.onDowning
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:55
▸ onFocus(shape
, runtime
): void
Called when a shape get focused.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
void
EShapeActionRuntimeConditional.onFocus
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:34
▸ onGestureMove(target
, dx
, dy
, x
, y
, ds
, work
): void
Name | Type |
---|---|
target |
EShape |
dx |
number |
dy |
number |
x |
number |
y |
number |
ds |
number |
work |
Point |
void
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-gesture-shape.ts:62
▸ 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
EShapeActionRuntimeConditional.onKeyDown
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:91
▸ 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
EShapeActionRuntimeConditional.onKeyUp
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:95
▸ 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
EShapeActionRuntimeConditional.onMove
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:63
▸ 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
EShapeActionRuntimeConditional.onOut
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:71
▸ 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
EShapeActionRuntimeConditional.onOver
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:67
▸ 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
EShapeActionRuntimeConditional.onPressed
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:83
▸ 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
EShapeActionRuntimeConditional.onRender
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:127
▸ onResize(shape
, runtime
): void
Called when the shape size is changed.
Name | Type | Description |
---|---|---|
shape |
EShape |
a shape |
runtime |
EShapeRuntime |
a runtime |
void
EShapeActionRuntimeConditional.onResize
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:30
▸ 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
EShapeActionRuntimeConditional.onRightClick
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:99
▸ 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
EShapeActionRuntimeConditional.onRightDown
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:107
▸ 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
EShapeActionRuntimeConditional.onRightDowning
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:103
▸ 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
EShapeActionRuntimeConditional.onRightPressed
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:119
▸ 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
EShapeActionRuntimeConditional.onRightUnpressed
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:123
▸ 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
EShapeActionRuntimeConditional.onRightUp
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:111
▸ 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
EShapeActionRuntimeConditional.onRightUpOutside
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:115
▸ 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
EShapeActionRuntimeConditional.onUnpressed
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:87
▸ 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
EShapeActionRuntimeConditional.onUp
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:75
▸ 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
EShapeActionRuntimeConditional.onUpOutside
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:79