import { IDraggable } from "./IDraggable"; import { IJsonTabNode } from "./IJsonModel"; import { Node } from "./Node"; export declare class TabNode extends Node implements IDraggable { static readonly TYPE = "tab"; getName(): string; getIcon(): string | undefined; getSubLayoutId(): string | undefined; getHelpText(): string | undefined; getComponent(): string | undefined; getAltName(): string | undefined; getWindowId(): string | undefined; /** * Returns the config attribute that can be used to store node specific data that * WILL be saved to the json. The config attribute should be changed via the action Actions.updateNodeAttributes rather * than directly, for example: * this.state.model.doAction( * FlexLayout.Actions.updateNodeAttributes(node.getId(), {config:myConfigObject})); */ getConfig(): any; /** * Returns an object that can be used to store transient node specific data that will * NOT be saved in the json. */ getExtraData(): Record; isPoppedOut(): boolean; /** whether this tab's direct parent is a {@link TabSetNode} or a {@link TabGroupNode} inside one */ isInsideTabSet(): boolean; /** whether this tab's direct parent is a {@link BorderNode} or a {@link TabGroupNode} inside one */ isInsideBorder(): boolean; isSelected(): boolean; isPinned(): boolean; isCloseable(): boolean; isAllowedInWindow(): boolean; isEnableClose(): boolean; isEnableScrollbars(): boolean; getCloseType(): number; isEnablePopout(): boolean; isEnableFloat(): boolean; isEnablePopoutIcon(): boolean; isEnableFloatIcon(): boolean; isEnablePopoutOverlay(): boolean; isEnableDrag(): boolean; isEnableRename(): boolean; isEnablePin(): boolean; isEnableWindowReMount(): boolean; getClassName(): string | undefined; getContentClassName(): string | undefined; getTabSetClassName(): string | undefined; isEnableRenderOnDemand(): boolean; getMinWidth(): number; getMinHeight(): number; getMaxWidth(): number; getMaxHeight(): number; getBorderWidth(): number; getBorderHeight(): number; isVisible(): boolean; toJson(): IJsonTabNode; }