Winter Cardinal UI - v0.442.0 / DDialogGestureImpl

Class: DDialogGestureImpl<PARENT>

Type parameters

Name Type
PARENT extends DDialogGestureParent

Implements

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new DDialogGestureImpl<PARENT>(parent, options): DDialogGestureImpl<PARENT>

Type parameters

Name Type
PARENT extends DDialogGestureParent

Parameters

Name Type
parent PARENT
options DDialogGestureOptions

Returns

DDialogGestureImpl<PARENT>

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:34

Properties

_constraint

Protected Optional _constraint: DDialogGestureConstraint

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:31


_isDirty

Protected _isDirty: boolean

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:30


_isEnabled

Protected _isEnabled: boolean

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:28


_mode

Protected _mode: DDialogGestureMode

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:25


_options

Protected Optional _options: DDialogGestureOptions

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:26


_parent

Protected _parent: PARENT

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:24


_util

Protected Optional _util: UtilGesture<PARENT>

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:32


WORK_BOUNDS

Static Protected Optional WORK_BOUNDS: Rectangle

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:22

Accessors

constraint

get constraint(): DDialogGestureConstraint

Returns

DDialogGestureConstraint

Implementation of

DDialogGesture.constraint

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:57

set constraint(constraint): void

Parameters

Name Type
constraint DDialogGestureConstraint

Returns

void

Implementation of

DDialogGesture.constraint

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:66


mode

get mode(): DDialogGestureMode

Returns

DDialogGestureMode

Implementation of

DDialogGesture.mode

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:49

set mode(mode): void

Parameters

Name Type
mode DDialogGestureMode

Returns

void

Implementation of

DDialogGesture.mode

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:53


parent

get parent(): PARENT

Returns

PARENT

Implementation of

DDialogGesture.parent

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:45

Methods

isClean

isClean(): boolean

Returns true if the dialog position is not changed by gestures.

Returns

boolean

Implementation of

DDialogGesture.isClean

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:80


isDirty

isDirty(): boolean

Returns true if thhe dialog position is changed by gestures.

Returns

boolean

Implementation of

DDialogGesture.isDirty

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:76


newConstraint

newConstraint(): DDialogGestureConstraint

Returns

DDialogGestureConstraint

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:70


newUtil

newUtil(): UtilGesture<PARENT>

Returns

UtilGesture<PARENT>

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:90


toClean

toClean(): void

Marks the dialog position is not changed by gestures.

Returns

void

Implementation of

DDialogGesture.toClean

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:84


toConstrained

toConstrained(target, layer, x, y): void

Parameters

Name Type
target DBase<DThemeBase, DBaseOptions<DThemeBase, any>>
layer DApplicationLayerLike
x number
y number

Returns

void

Defined in

src/main/typescript/wcardinal/ui/d-dialog-gesture-impl.ts:136