Class TimeBase
A base time input type
Assembly: TextDisplayMenu.dll
View Source
Declaration
public abstract class TimeBase : InputBase, IMenuInputItem, IPage
Inheritance: System.Object
-> Meadow.Foundation.Displays.UI.InputTypes.InputBase
Derived:
Meadow.Foundation.Displays.UI.InputTypes.Time
Implements:
Meadow.Foundation.Displays.UI.IMenuInputItem
Fields
timeParts
Value for each time part
View Source
Declaration
protected int[] timeParts
position
The current position
View Source
Declaration
protected byte position
timeMode
The time mode
View Source
Declaration
protected TimeBase.TimeMode timeMode
Methods
GetInput(string, object)
Get input from user
View Source
Declaration
public override void GetInput(string itemID, object currentValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | itemID | id of the menu item |
System.Object | currentValue | current value of the menu item |
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
Type | Name | Description |
---|---|---|
System.Object | value | The TimeSpan value as an object |
Events
ValueChanged
Raised if the input value changes
View Source
Declaration
public override event ValueChangedHandler ValueChanged
Event Type
Meadow.Foundation.Displays.UI.ValueChangedHandler