"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module ContentView
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentViewManager = void 0;
const InternalContentViewManager_1 = require("./InternalContentViewManager");
/** Content View Manager class.
 * @public
 * @deprecated in 3.7. Use `UiFramework.content` property
 */
class ContentViewManager {
    static get onMouseDownChangedEvent() { return InternalContentViewManager_1.InternalContentViewManager.onMouseDownChangedEvent; }
    /** Determines if the mouse is down in a content view */
    static get isMouseDown() {
        return InternalContentViewManager_1.InternalContentViewManager.isMouseDown;
    }
    /** Sets the mouse down status for a content view */
    static setMouseDown(mouseDown) {
        return InternalContentViewManager_1.InternalContentViewManager.setMouseDown(mouseDown);
    }
    /** Gets the [[ActiveContentChangedEvent]] */
    static get onActiveContentChangedEvent() { return InternalContentViewManager_1.InternalContentViewManager.onActiveContentChangedEvent; }
    /** Fires when floating contents are added or removed */
    static get onAvailableContentChangedEvent() { return InternalContentViewManager_1.InternalContentViewManager.onAvailableContentChangedEvent; }
    /** Gets the active content as a React.ReactNode. */
    static getActiveContent() {
        return InternalContentViewManager_1.InternalContentViewManager.getActive();
    }
    /** Return the active ContentControl. */
    static getActiveContentControl() {
        return InternalContentViewManager_1.InternalContentViewManager.getActiveContentControl();
    }
    static addFloatingContentControl(contentControl) {
        return InternalContentViewManager_1.InternalContentViewManager.addFloatingContentControl(contentControl);
    }
    static dropFloatingContentControl(contentControl) {
        return InternalContentViewManager_1.InternalContentViewManager.dropFloatingContentControl(contentControl);
    }
    /** Sets the active [[ContentControl]] */
    static setActiveContent(activeContent, forceEventProcessing = false) {
        return InternalContentViewManager_1.InternalContentViewManager.setActive(activeContent, forceEventProcessing);
    }
    /** Refreshes the active [[ContentControl]] */
    static refreshActiveContent(activeContent) {
        return InternalContentViewManager_1.InternalContentViewManager.refreshActive(activeContent);
    }
    /**
     * Determines if content displays a Sheet view.
     * @param content ContentControl to check
     */
    static isContentSheetView(content) {
        return InternalContentViewManager_1.InternalContentViewManager.isContentSheetView(content);
    }
    /**
     * Determines if content displays a Drawing view.
     * @param content ContentControl to check
     */
    static isContentDrawingView(content) {
        return InternalContentViewManager_1.InternalContentViewManager.isContentDrawingView(content);
    }
    /**
     * Determines if content displays a Spatial view.
     * @param content ContentControl to check
     */
    static isContentSpatialView(content) {
        return InternalContentViewManager_1.InternalContentViewManager.isContentSpatialView(content);
    }
    /**
     * Determines if content displays a Orthographic view.
     * @param content ContentControl to check
     */
    static isContentOrthographicView(content) {
        return InternalContentViewManager_1.InternalContentViewManager.isContentOrthographicView(content);
    }
    /**
     * Determines if content displays a 3d view.
     * @param content ContentControl to check
     */
    static isContent3dView(content) {
        return InternalContentViewManager_1.InternalContentViewManager.isContent3dView(content);
    }
    /**
     * Determines if viewport supports use of a camera.
     * @param content ContentControl to check
     */
    static contentSupportsCamera(content) {
        return InternalContentViewManager_1.InternalContentViewManager.contentSupportsCamera(content);
    }
}
exports.ContentViewManager = ContentViewManager;
//# sourceMappingURL=ContentViewManager.js.map