@serenity-is/sleekgrid / FloatEditor

Class: FloatEditor

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new FloatEditor(args): FloatEditor

Parameters

Name Type
args EditorOptions

Returns

FloatEditor

Inherited from

TextEditor.constructor

Defined in

editors/editors.ts:8

Properties

_args

Protected _args: EditorOptions

Inherited from

TextEditor._args

Defined in

editors/editors.ts:6


_defaultValue

Protected _defaultValue: any

Inherited from

TextEditor._defaultValue

Defined in

editors/editors.ts:5


_input

_input: HTMLInputElement

Inherited from

TextEditor._input

Defined in

editors/editors.ts:69


AllowEmptyValue

Static AllowEmptyValue: boolean = false

Defined in

editors/editors.ts:101


DefaultDecimalPlaces

Static DefaultDecimalPlaces: number = null

Defined in

editors/editors.ts:102

Methods

applyValue

applyValue(item, state): void

Parameters

Name Type
item any
state any

Returns

void

Inherited from

TextEditor.applyValue

Defined in

editors/editors.ts:44


destroy

destroy(): void

Returns

void

Inherited from

TextEditor.destroy

Defined in

editors/editors.ts:15


focus

focus(): void

Returns

void

Inherited from

TextEditor.focus

Defined in

editors/editors.ts:19


getDecimalPlaces

getDecimalPlaces(): number

Returns

number

Defined in

editors/editors.ts:104


getValue

getValue(): string

Returns

string

Inherited from

TextEditor.getValue

Defined in

editors/editors.ts:23


init

init(): void

Returns

void

Inherited from

TextEditor.init

Defined in

editors/editors.ts:71


isValueChanged

isValueChanged(): boolean

Returns

boolean

Inherited from

TextEditor.isValueChanged

Defined in

editors/editors.ts:48


loadValue

loadValue(item): void

Parameters

Name Type
item any

Returns

void

Overrides

TextEditor.loadValue

Defined in

editors/editors.ts:113


serializeValue

serializeValue(): any

Returns

any

Overrides

TextEditor.serializeValue

Defined in

editors/editors.ts:128


setValue

setValue(val): void

Parameters

Name Type
val string

Returns

void

Inherited from

TextEditor.setValue

Defined in

editors/editors.ts:27


validate

validate(): ValidationResult

Returns

ValidationResult

Overrides

TextEditor.validate

Defined in

editors/editors.ts:147