InputFieldRangeGeneric

Description

abstract class Tinman.Engine.GUI.Components.InputFieldRangeGeneric
<TValue>
<TRange>

Derived from

InputFieldGeneric<TValue> abstract
IInputFieldRange<TValue, TRange>

Extended by

InputFieldInteger sealed
InputFieldNumber sealed

Abstract base class for IInputFieldRange implementations.

Protected / Constructors

Input​Field​Range​Generic


protected constructor InputFieldRangeGeneric → (3)

editable opt : int32 = 1

Initial value for InputField.Editable.

textMeasureWidth opt : string = null

Initial value for TextComponent.TextMeasure.

unit opt : string = null

Initial value for IInputField.Unit.

Creates a new instance of InputFieldRangeGeneric.

Protected / Attributes

value​Range


protected attribute valueRange → (TRange)

The current value range.

Subclasses are responsible for initializing this value to 'empty' in their constructor, for example RangeI.Inv for the range type RangeI.

value​Range​Wrap


protected attribute valueRangeWrap → (bool)

The current value of IInputFieldRange.ValueRangeWrap.