/ fm / liveswitch / ShortHolder
Class: ShortHolder
fm.liveswitch.ShortHolder
Class to hold a short value passed by reference.
Table of contents
Constructors
Methods
Constructors
constructor
+ new ShortHolder(): ShortHolder
Initializes a new instance of the [[fm.liveswitch.shortHolder]] class.
Returns: ShortHolder
Defined in: Generated/TypeScript/fm.liveswitch/ShortHolder.ts:18
+ new ShortHolder(value
: number): ShortHolder
Initializes a new instance of the [[fm.liveswitch.shortHolder]] class.
Parameters:
Name | Type | Description |
---|---|---|
value |
number | The value. |
Returns: ShortHolder
Defined in: Generated/TypeScript/fm.liveswitch/ShortHolder.ts:24
Methods
fmliveswitchShortHolderInit
▸ Private
fmliveswitchShortHolderInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ShortHolder.ts:15
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/ShortHolder.ts:9
getValue
▸ getValue(): number
Gets the value.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/ShortHolder.ts:54
setValue
▸ setValue(value
: number): void
Sets the value.
Parameters:
Name | Type |
---|---|
value |
number |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/ShortHolder.ts:66