{"size": 1150, "ext": "js", "max_stars_repo_path": "src/tools/sidebar/model/control/AbstractTabControlDefaults.js", "max_stars_repo_name": "xkaspa40/geovisto-map", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/tools/sidebar/model/control/AbstractTabControlDefaults.js", "max_issues_repo_name": "xkaspa40/geovisto-map", "max_issues_repo_issues_event_min_datetime": "2021-02-02T18:00:54.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-30T18:41:29.000Z", "max_forks_repo_path": "src/tools/sidebar/model/control/AbstractTabControlDefaults.js", "max_forks_repo_name": "xkaspa40/geovisto-map", "max_forks_repo_forks_event_min_datetime": "2021-04-26T12:56:05.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-19T17:04:14.000Z"}
{"max_stars_count": null, "max_issues_count": 26, "max_forks_count": 4, "avg_line_length": 19.4915254237, "max_line_length": 100, "alphanum_fraction": 0.5634782609}
import AbstractMapObjectDefaults from "../../../../model/object/abstract/AbstractMapObjectDefaults";

/**
 * This class provide functions which return the default state values.
 * 
 * @author Jiri Hynek
 */
class AbstractTabControlDefaults extends AbstractMapObjectDefaults {

    /**
     * It creates map defaults.
     */
    constructor() {
        super();
    }

    /**
     * It returns a unique type string of the tool.
     */
    getType() {
        return "geovisto-sidebar-tab";
    }

    /**
     * It returns whether the tab control is enabled.
     */
    isEnabled() {
        return true;
    }

    /**
     * It returns name of tab pane.
     */
    getName() {
        return "Custom tab";
    }

    /**
     * It returns the icon of tab pane.
     */
    getIcon() {
        return '<i class="fa fa-file"></i>';
    }

    /**
     * It returns whether the tab control contains a check button used to enable/disable the tool.
     */
    getCheckButton() {
        return true;
    }

    /**
     * It returns the default config.
     */
    getConfig() {
        return {};
    }
}
export default AbstractTabControlDefaults;