UNPKG

molstar

Version:

A comprehensive macromolecular library.

33 lines (32 loc) 1.13 kB
/** * Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ /// <reference types="react" /> import { StructureRef } from '../../mol-plugin-state/manager/structure/hierarchy-state'; import { PluginUIComponent } from '../base'; import { ActionMenu } from '../controls/action-menu'; interface StructureFocusControlsState { isBusy: boolean; showAction: boolean; } export declare class StructureFocusControls extends PluginUIComponent<{}, StructureFocusControlsState> { state: { isBusy: boolean; showAction: boolean; }; componentDidMount(): void; get isDisabled(): boolean; getSelectionItems: (structures: readonly StructureRef[]) => ActionMenu.Items[]; get actionItems(): ActionMenu.Items[]; selectAction: ActionMenu.OnSelect; toggleAction: () => void; focusCamera: () => void; clear: () => void; highlightCurrent: () => void; clearHighlights: () => void; getToggleBindingLabel(): string; render(): JSX.Element; } export {};