(x1: number, x2: number, y: number, callbackCollection: CallbackCollection, otherClass: string, defaultValue: string = null, hasFocus: boolean = false)
| 199 | } |
| 200 | |
| 201 | public addSimpleInput(x1: number, x2: number, y: number, callbackCollection: CallbackCollection, otherClass: string, defaultValue: string = null, hasFocus: boolean = false): void{ |
| 202 | this.addTag(new RenderTag(x1, "<span class=\"aroundTextInput\"><input type=\"text\" class=\"asciiTextInput noHotkeys " + otherClass + "\" style=\"width:" + (x2 - x1).toString() + "ex\"></span>"), y); |
| 203 | |
| 204 | this.addLinkSimpleInput("." + otherClass, callbackCollection, defaultValue, hasFocus); |
| 205 | } |
| 206 | |
| 207 | public addTag(tag: RenderTag, y: number): boolean{ |
| 208 | // BUGS |
no test coverage detected