Class TimeBase
A base time input type
Assembly: TextDisplayMenu.dll
View Source
public abstract class TimeBase : InputBase, IMenuInputItem, IPage
Inheritance: System.Object
-> Meadow.Foundation.Displays.UI.InputTypes.InputBase
Derived:
Meadow.Foundation.Displays.UI.InputTypes.Time, Meadow.Foundation.Displays.UI.InputTypes.TimeDetailed, Meadow.Foundation.Displays.UI.InputTypes.TimeShort
Implements:
Meadow.Foundation.Displays.UI.IMenuInputItem, Meadow.Foundation.Displays.UI.IPage
Fields
timeParts
Value for each time part
View Source
protected int[] timeParts
position
The current position
View Source
protected byte position
timeMode
The time mode
View Source
protected TimeBase.TimeMode timeMode
Methods
GetInput(string, object)
Get input from user
View Source
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
public override bool Previous()
Returns
System.Boolean
: true### Next()
Send a Next input to the item
View Source
public override bool Next()
Returns
System.Boolean
: true### Select()
Send a Select input to the item
View Source
public override bool Select()
Returns
System.Boolean
: true### Back()
Send a Back input to the item
View Source
public override bool Back()
Returns
System.Boolean
: true### ParseValue(object)
Parse a value for the item
View Source
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
public override event ValueChangedHandler ValueChanged
Event Type
Meadow.Foundation.Displays.UI.ValueChangedHandler