"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const AbstractChoiceBox_1 = require("./AbstractChoiceBox");
class SelectBox extends AbstractChoiceBox_1.AbstractChoiceBox {
    constructor(exp, role, placeHolder, getOptions, getSelectedOption, setSelectedOption, initializer) {
        super(exp, role, placeHolder, initializer);
        this.kind = "SelectBox";
        this.deleteWhenEmpty = false;
        this.getOptions = getOptions;
        this.getSelectedOption = getSelectedOption;
        this.setSelectedOption = setSelectedOption;
    }
    deleteWhenEmpty1() {
        return this.deleteWhenEmpty;
    }
}
exports.SelectBox = SelectBox;
function isSelectBox(b) {
    return b instanceof SelectBox;
}
exports.isSelectBox = isSelectBox;
//# sourceMappingURL=SelectBox.js.map