Skip to main content

Class NumericBase

Represents a base Numeric input type

Assembly: TextDisplayMenu.dll
View Source
Declaration
public abstract class NumericBase : InputBase, IMenuInputItem, IPage

Inheritance: System.Object -> Meadow.Foundation.Displays.UI.InputTypes.InputBase

Derived:
Meadow.Foundation.Displays.UI.InputTypes.Age

Implements:
Meadow.Foundation.Displays.UI.IMenuInputItem

Methods

GetInput(string, object)

Get the input

View Source
Declaration
public override void GetInput(string itemID, object currentValue)
Parameters
TypeNameDescription
System.StringitemIDThe item id
System.ObjectcurrentValueThe current value
Exceptions

System.InvalidOperationException
Throws if not initialized

Previous()

Send a Previous input to the item

View Source
Declaration
public override bool Previous()
Returns

System.Boolean: true### Next() Send a Next input to the item

View Source
Declaration
public override bool Next()
Returns

System.Boolean: true### Select() Send a Select input to the item

View Source
Declaration
public override bool Select()
Returns

System.Boolean: true### Back() Send a Back input to the item

View Source
Declaration
public override bool Back()
Returns

System.Boolean: true### ParseValue(object) Parse a value for the item

View Source
Declaration
protected override void ParseValue(object value)
Parameters
TypeNameDescription
System.ObjectvalueThe string value as an object

Events

ValueChanged

Raised when the numeric value changes

View Source
Declaration
public override event ValueChangedHandler ValueChanged
Event Type

Meadow.Foundation.Displays.UI.ValueChangedHandler

Implements