BI.BehaviorFactory = {
    createBehavior: function (key, options) {
        var behavior;
        switch (key) {
            case "highlight":
                behavior = BI.HighlightBehavior;
                break;
            case "redmark":
                behavior = BI.RedMarkBehavior;
                break;
        }
        return new behavior(options);
    }
};

/**
 * guy
 * 行为控件
 * @class BI.Behavior
 * @extends BI.OB
 */

import OB from "../3.ob";
export default class Behavior extends OB {
    _defaultConfig() {
        return BI.extend(super._defaultConfig(arguments), {
            rule: () => true
        });
    }

    doBehavior() {

    }
}