Winter Cardinal UI - v0.457.0 / EShapeButtonRuntimeAction
A base class of action runtimes.
↳ EShapeButtonRuntimeAction
• new EShapeButtonRuntimeAction(runtime): EShapeButtonRuntimeAction
| Name | Type | 
|---|---|
runtime | 
      EShapeRuntime | 
    
EShapeActionRuntimeBase.constructor
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:42
• Protected Readonly _fillAlpha: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:19
• Protected Readonly _fillAlphaDisabled: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:20
• Protected Readonly _fillColor: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:14
• Protected Readonly _fillColorDisabled: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:15
• Protected Readonly _fillColorHovered: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:17
• Protected Readonly _fillColorPressed: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:16
• Protected Readonly _strokeAlpha: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:27
• Protected Readonly _strokeAlphaDisabled: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:28
• Protected Readonly _strokeColor: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:22
• Protected Readonly _strokeColorDisabled: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:23
• Protected Readonly _strokeColorHovered: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:25
• Protected Readonly _strokeColorPressed: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:24
• Protected Readonly _textAlpha: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:33
• Protected Readonly _textAlphaDisabled: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:34
• Protected Readonly _textColor: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:30
• Protected Readonly _textColorDisabled: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:31
• Protected Readonly _textOutlineAlpha: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:39
• Protected Readonly _textOutlineAlphaDisabled: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:40
• Protected Readonly _textOutlineColor: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:36
• Protected Readonly _textOutlineColorDisabled: number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:37
• Readonly reset: number
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.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
EShapeActionRuntimeBase.execute
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:106
▸ getCursor(state): string
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
string
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:192
▸ getFillAlpha(state): number
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:132
▸ getFillColor(state): number
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:120
▸ getStrokeAlpha(state): number
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:152
▸ getStrokeColor(state): number
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:140
▸ getTextAlpha(state): number
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:168
▸ getTextColor(state): number
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:160
▸ getTextOutlineAlpha(state): number
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:184
▸ getTextOutlineColor(state): number
| Name | Type | 
|---|---|
state | 
      EShapeStateSet | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:176
▸ 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
EShapeActionRuntimeBase.initialize
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:22
▸ onBlur(shape, runtime): void
Called when a shape losees a focuse.
| Name | Type | Description | 
|---|---|---|
shape | 
      EShape | 
      a shape | 
runtime | 
      EShapeRuntime | 
      a runtime | 
void
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.onDown
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:59
▸ 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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.onFocus
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:34
▸ 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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
EShapeActionRuntimeBase.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
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
EShapeActionRuntimeBase.onUpOutside
src/main/typescript/wcardinal/ui/shape/action/e-shape-action-runtime-base.ts:79
▸ toOnHovered(color): number
| Name | Type | 
|---|---|
color | 
      number | 
    
number
src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime-action.ts:95