Winter Cardinal UI - v0.457.0 / EShapeButtonRuntime

Class: EShapeButtonRuntime

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

• new EShapeButtonRuntime(shape): EShapeButtonRuntime

Parameters

Name Type
shape EShape

Returns

EShapeButtonRuntime

Overrides

EShapeRuntimeImpl.constructor

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime.ts:19

Properties

_isGrouped

• Protected Optional _isGrouped: boolean

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime.ts:17


_isToggle

• Protected Optional _isToggle: boolean

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime.ts:16


actions

• Readonly actions: EShapeActionRuntime[]

Inherited from

EShapeRuntimeImpl.actions

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:43


cursor

• Optional Readonly cursor: string

Inherited from

EShapeRuntimeImpl.cursor

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:47


effect

• effect: number

Inherited from

EShapeRuntimeImpl.effect

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:52


fill

• Readonly fill: EShapeFillLike

Inherited from

EShapeRuntimeImpl.fill

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:44


interactive

• Readonly interactive: boolean

Inherited from

EShapeRuntimeImpl.interactive

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:48


isStateChanged

• isStateChanged: boolean

Inherited from

EShapeRuntimeImpl.isStateChanged

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:53


reset

• reset: number

Inherited from

EShapeRuntimeImpl.reset

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:50


rotation

• Readonly rotation: number

Inherited from

EShapeRuntimeImpl.rotation

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:42


sizeX

• Readonly sizeX: number

Inherited from

EShapeRuntimeImpl.sizeX

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:40


sizeY

• Readonly sizeY: number

Inherited from

EShapeRuntimeImpl.sizeY

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:41


stroke

• Readonly stroke: EShapeStrokeLike

Inherited from

EShapeRuntimeImpl.stroke

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:45


text

• Readonly text: EShapeTextLike

Inherited from

EShapeRuntimeImpl.text

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:46


written

• written: number

Inherited from

EShapeRuntimeImpl.written

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:51


x

• Readonly x: number

Inherited from

EShapeRuntimeImpl.x

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:38


y

• Readonly y: number

Inherited from

EShapeRuntimeImpl.y

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:39


TRANSIENT_STATES

▪ Static Readonly TRANSIENT_STATES: string[]

Inherited from

EShapeRuntimeImpl.TRANSIENT_STATES

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:22

Methods

doReset

▸ doReset(shape): void

Parameters

Name Type
shape EShape

Returns

void

Inherited from

EShapeRuntimeImpl.doReset

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:484


initialize

▸ initialize(shape): void

Parameters

Name Type
shape EShape

Returns

void

Overrides

EShapeRuntimeImpl.initialize

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime.ts:31


isActionable

▸ isActionable(): boolean

Returns

boolean

Overrides

EShapeRuntimeImpl.isActionable

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime.ts:27


onActivated

▸ onActivated(shape): void

Parameters

Name Type
shape EShape

Returns

void

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime.ts:64


onBlur

▸ onBlur(shape): void

Parameters

Name Type
shape EShape

Returns

void

Inherited from

EShapeRuntimeImpl.onBlur

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:326


onClick

▸ onClick(shape, e): void

Parameters

Name Type
shape EShape
e KeyboardEvent | InteractionEvent

Returns

void

Overrides

EShapeRuntimeImpl.onClick

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime.ts:40


onDblClick

▸ onDblClick(shape, e, interactionManager): boolean

Parameters

Name Type
shape EShape
e MouseEvent | TouchEvent
interactionManager InteractionManager

Returns

boolean

Inherited from

EShapeRuntimeImpl.onDblClick

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:111


onDown

▸ onDown(shape, e): void

Parameters

Name Type
shape EShape
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onDown

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:160


onFocus

▸ onFocus(shape): void

Parameters

Name Type
shape EShape

Returns

void

Inherited from

EShapeRuntimeImpl.onFocus

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:318


onKeyDown

▸ onKeyDown(shape, e): boolean

Parameters

Name Type
shape EShape
e KeyboardEvent

Returns

boolean

Inherited from

EShapeRuntimeImpl.onKeyDown

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:266


onKeyUp

▸ onKeyUp(shape, e): boolean

Parameters

Name Type
shape EShape
e KeyboardEvent

Returns

boolean

Inherited from

EShapeRuntimeImpl.onKeyUp

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:282


onMove

▸ onMove(shape, e): void

Parameters

Name Type
shape EShape
e InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onMove

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:258


onOut

▸ onOut(shape, e): void

Parameters

Name Type
shape EShape
e InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onOut

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:146


onOver

▸ onOver(shape, e): void

Parameters

Name Type
shape EShape
e InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onOver

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:132


onRender

▸ onRender(shape, time, renderer): void

Parameters

Name Type
shape EShape
time number
renderer Renderer

Returns

void

Inherited from

EShapeRuntimeImpl.onRender

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:465


onResize

▸ onResize(shape): void

Parameters

Name Type
shape EShape

Returns

void

Inherited from

EShapeRuntimeImpl.onResize

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:89


onRightClick

▸ onRightClick(shape, e): void

Parameters

Name Type
shape EShape
e InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onRightClick

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:334


onRightDown

▸ onRightDown(shape, e): void

Parameters

Name Type
shape EShape
e InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onRightDown

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:348


onRightUp

▸ onRightUp(shape, e): void

Parameters

Name Type
shape EShape
e InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onRightUp

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:394


onRightUpOutside

▸ onRightUpOutside(shape, e): void

Parameters

Name Type
shape EShape
e InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onRightUpOutside

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:421


onStateChange

▸ onStateChange(shape, newState, oldState): void

Parameters

Name Type
shape EShape
newState DBaseStateSet
oldState DBaseStateSet

Returns

void

Overrides

EShapeRuntimeImpl.onStateChange

Defined in

src/main/typescript/wcardinal/ui/shape/variant/e-shape-button-runtime.ts:57


onUp

▸ onUp(shape, e): void

Parameters

Name Type
shape EShape
e KeyboardEvent | InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onUp

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:206


onUpOutside

▸ onUpOutside(shape, e): void

Parameters

Name Type
shape EShape
e InteractionEvent

Returns

void

Inherited from

EShapeRuntimeImpl.onUpOutside

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:233


onUpdate

▸ onUpdate(shape, time): void

Parameters

Name Type
shape EShape
time number

Returns

void

Inherited from

EShapeRuntimeImpl.onUpdate

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:473


update

▸ update(shape, time): void

Parameters

Name Type
shape EShape
time number

Returns

void

Inherited from

EShapeRuntimeImpl.update

Defined in

src/main/typescript/wcardinal/ui/shape/e-shape-runtime-impl.ts:446