2020-08-17 17:23:15 +02:00
|
|
|
import {UIEventSource} from "../../Logic/UIEventSource";
|
2021-06-10 01:36:20 +02:00
|
|
|
import BaseUIElement from "../BaseUIElement";
|
2020-08-31 02:59:47 +02:00
|
|
|
|
2021-06-10 01:36:20 +02:00
|
|
|
export abstract class InputElement<T> extends BaseUIElement{
|
2020-07-20 15:54:50 +02:00
|
|
|
|
|
|
|
abstract GetValue() : UIEventSource<T>;
|
2020-08-31 02:59:47 +02:00
|
|
|
abstract IsSelected: UIEventSource<boolean>;
|
2020-07-20 15:54:50 +02:00
|
|
|
abstract IsValid(t: T) : boolean;
|
2020-07-20 21:03:55 +02:00
|
|
|
|
2020-07-23 17:32:18 +02:00
|
|
|
}
|
|
|
|
|