/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { Base, typeCast, markType, getInstanceType } from "igniteui-angular-core";
import { ISupportSetProperty_$type } from "./ISupportSetProperty";
import { CT_NumberColorPosition } from "./CT_NumberColorPosition";
import { CT_PercentageColorPosition } from "./CT_PercentageColorPosition";
/**
 * @hidden
 */
var CT_ValueColorMiddlePosition = /** @class */ (function (_super) {
    tslib_1.__extends(CT_ValueColorMiddlePosition, _super);
    function CT_ValueColorMiddlePosition() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.a = null;
        _this.b = null;
        return _this;
    }
    CT_ValueColorMiddlePosition.prototype.setProperty = function (a, b) {
        switch (a) {
            case 1912:
                this.a = typeCast(CT_NumberColorPosition.$, b);
                break;
            case 1913:
                this.b = typeCast(CT_PercentageColorPosition.$, b);
                break;
            default: break;
        }
    };
    CT_ValueColorMiddlePosition.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_ValueColorMiddlePosition.$t = markType(CT_ValueColorMiddlePosition, 'CT_ValueColorMiddlePosition', Base.$, [ISupportSetProperty_$type]);
    return CT_ValueColorMiddlePosition;
}(Base));
export { CT_ValueColorMiddlePosition };
//# sourceMappingURL=CT_ValueColorMiddlePosition.js.map