mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 01:57:29 +00:00
40 lines
696 B
TypeScript
40 lines
696 B
TypeScript
import GuiObject from "./GuiObject";
|
|
import { unimplementedWarning } from "../utils";
|
|
|
|
class CheckBox extends GuiObject {
|
|
/**
|
|
* getClassName()
|
|
*
|
|
* Returns the class name for the object.
|
|
* @ret The class name.
|
|
*/
|
|
getclassname() {
|
|
return "CheckBox";
|
|
}
|
|
|
|
ontoggle(newstate: number): void {
|
|
this.js_trigger("onToggle", newstate);
|
|
}
|
|
|
|
setchecked(checked: number) {
|
|
unimplementedWarning("setchecked");
|
|
return;
|
|
}
|
|
|
|
ischecked() {
|
|
unimplementedWarning("ischecked");
|
|
return;
|
|
}
|
|
|
|
settext(txt: string) {
|
|
unimplementedWarning("settext");
|
|
return;
|
|
}
|
|
|
|
gettext() {
|
|
unimplementedWarning("gettext");
|
|
return;
|
|
}
|
|
}
|
|
|
|
export default CheckBox;
|