/*
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 { NativeUIElementBridge } from "./NativeUIElementBridge";
import { markType } from "./type";
/**
 * @hidden
 */
export let SpanBridge = /*@__PURE__*/ (() => {
    class SpanBridge extends NativeUIElementBridge {
        addHandler(a, b, c, d) {
        }
        getValue(a, b) {
            switch (b) {
                case 8: return a.getText();
            }
            return null;
        }
        removeHandler(a, b, c, d) {
        }
        setValue(a, b, c) {
            switch (b) {
                case 8:
                    a.setText(c);
                    break;
                case 9:
                    a.setStyleProperty("font", c.fontString);
                    break;
            }
        }
    }
    SpanBridge.$t = markType(SpanBridge, 'SpanBridge', NativeUIElementBridge.$);
    return SpanBridge;
})();
