/** @packageDocumentation * @module ContentView */ /// import { Id64String } from "@bentley/bentleyjs-core"; import { IModelConnection, ScreenViewport, ViewState } from "@bentley/imodeljs-frontend"; import { ConfigurableCreateInfo, ConfigurableUiControlType } from "../configurableui/ConfigurableUiControl"; import { ContentControl, SupportsViewSelectorChange } from "./ContentControl"; /** The base class for Frontstage Viewport content controls. * @public */ export declare class ViewportContentControl extends ContentControl implements SupportsViewSelectorChange { private _viewport; private _isReady; private _viewportReadyCallback?; /** Creates an instance of ViewportContentControl. * @param info An object that the subclass must pass to this base class. * @param options Options provided via the applicationData in a [[ContentProps]]. */ constructor(info: ConfigurableCreateInfo, options: any); /** Gets the type of ConfigurableUiControl, which is 'Viewport' in this case */ getType(): ConfigurableUiControlType; /** Returns true if this control is a Viewport control. */ get isViewport(): boolean; /** The underlying ScreenViewport */ get viewport(): ScreenViewport | undefined; set viewport(v: ScreenViewport | undefined); /** Returns a promise that resolves when the control is ready for usage. */ setIsReady(): void; /** Returns a promise that resolves when the control is ready for usage. */ get isReady(): Promise; /** Called when this ContentControl is activated */ onActivated(): void; /** Get the NavigationAidControl associated with this ContentControl */ get navigationAidControl(): string; /** * Fetches appropriate NavigationAid based on the class of the current viewport. * @param classFullName The full name of the current viewport class. * @returns The ID of the navigation aid to be displayed. */ private _getNavigationAid; /** Returns true if this control supports processing ViewSelector changes. */ get supportsViewSelectorChange(): boolean; /** Process a ViewSelector change. */ processViewSelectorChange(iModel: IModelConnection, viewDefinitionId: Id64String, viewState: ViewState, name: string): Promise; /** Get the React.Element for a ViewSelector change. */ getReactElementForViewSelectorChange(_iModel: IModelConnection, _viewDefinitionId: Id64String, _viewState: ViewState, _name: string): React.ReactNode; } //# sourceMappingURL=ViewportContentControl.d.ts.map