import { ESSceneObject } from 'vtxf-xe2/dist-node/xe2-base-objects'; import { Event, PartialWithUndefinedReactivePropsToNativeProps, ReactivePropsToNativePropsAndChanged } from 'vtxf-xe2/dist-node/xe2-base-utils'; import { SceneObjectKey } from 'vtxf-xe2/dist-node/xe2-utils'; import { LayoutDiv } from '../LayoutDiv'; import { LayoutDivStyleType, MyCustomDivLayoutType } from '../MyCustomDiv'; import { MyLabel } from '../MyLabel'; import { MyCursorTooltip } from '../MyCursorTooltip'; import { MyContextMenu } from '../MyContextMenu'; declare type ButtonStatusType = 'normal' | 'hovered' | 'pressed'; export declare type RectangleButtonStatusFuncType = (status: ButtonStatusType, sceneObject: RectangleButton, context: { rectangleButton: RectangleButton; }) => void; export declare type RectangleButtonClickFuncType = (mouseEvent: MouseEvent, context: { rectangleButton: RectangleButton; }) => void; export declare type RectangleButtonTooltipClickFuncType = (index: number, text: string, mouseEvent: MouseEvent, context: { myContextMenu: MyContextMenu; rectangleButton: RectangleButton; }) => void; export declare class RectangleButton extends ESSceneObject { static readonly type: string; get typeName(): string; get defaultProps(): { show: boolean; containerId: string | null; visibility: boolean; interaction: boolean; shadowDom: boolean; cssAllInitial: boolean; zIndex: number | undefined; layoutType: MyCustomDivLayoutType; width: number; height: number; backgroundColor: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable<[number, number, number, number] | null>; borderRadius: number; borderColor: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable<[number, number, number, number]>; borderWidth: number; cssText: string; clickFuncStr: string; statusFuncStr: string; highlighted: boolean; highlightOnClick: boolean; text: string; textLayoutCssText: string; textColor: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable<[number, number, number, number]>; fontSize: number; fontWeight: string; letterSpacing: number; textLayoutType: MyCustomDivLayoutType; textCssText: string; normalImageUri: string; hoveredImageUri: string; pressedImageUri: string; highlightedImageUri: string; imageLayoutType: MyCustomDivLayoutType; imageCssText: string; tooltip: string; tooltipMenuStrings: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable; tooltipClickFuncStr: string; execOnceFuncStr: string; updateFuncStr: string; toDestroyFuncStr: string; createAppendedObjFuncStr: string; name: string; ref: string | undefined; devTags: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable; extras: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable; }; get json(): JsonType; set json(value: JsonType); private _status; get status(): ButtonStatusType; set status(value: ButtonStatusType); get statusChanged(): import("vtxf-xe2/dist-node/xe2-base-utils").Listener<[ButtonStatusType, ButtonStatusType]>; static defaultStatusFuncStr: string; static defaultClickFuncStr: string; private _statusFunc; get statusFunc(): RectangleButtonStatusFuncType | undefined; set statusFunc(value: RectangleButtonStatusFuncType | undefined); get statusFuncChanged(): import("vtxf-xe2/dist-node/xe2-base-utils").Listener<[RectangleButtonStatusFuncType | undefined, RectangleButtonStatusFuncType | undefined]>; private _statusFuncStrInit; private _label; get label(): MyLabel; private _layoutDiv; get layoutDiv(): LayoutDiv; static defaults: { defaultLayoutStyle: LayoutDivStyleType; defaultTextLayoutStyle: LayoutDivStyleType; viewerTagsEnums: [string, string][]; }; get container(): HTMLElement | undefined; set container(value: HTMLElement | undefined); private _clickEvent; get clickEvent(): Event<[mouseEvent: MouseEvent, context: { rectangleButton: RectangleButton; }]>; private _clickFunc; get clickFunc(): RectangleButtonClickFuncType | undefined; set clickFunc(value: RectangleButtonClickFuncType | undefined); get clickFuncChanged(): import("vtxf-xe2/dist-node/xe2-base-utils").Listener<[RectangleButtonClickFuncType | undefined, RectangleButtonClickFuncType | undefined]>; private _clickFuncInit; static defaultClickFuncStrMd: string; private _myCursorTooltip; get myCursorTooltip(): MyCursorTooltip; private _tooltipClickFunc; get tooltipClickFunc(): RectangleButtonTooltipClickFuncType | undefined; set tooltipClickFunc(value: RectangleButtonTooltipClickFuncType | undefined); get tooltipClickFuncChanged(): import("vtxf-xe2/dist-node/xe2-base-utils").Listener<[RectangleButtonTooltipClickFuncType | undefined, RectangleButtonTooltipClickFuncType | undefined]>; private _tooltipClickFuncInit; constructor(id?: SceneObjectKey); get finalCssText(): string; get finalCssTextChanged(): import("vtxf-xe2/dist-node/xe2-base-utils").Listener<[string, string]>; get textFinalCssText(): string; get textFinalCssTextChanged(): import("vtxf-xe2/dist-node/xe2-base-utils").Listener<[string, string]>; setImageButtonPreset(): void; setCommandButtonPreset(): void; setCircleButtonPreset(): void; setDefaultButtonPreset(): void; getProperties(language?: string): import("vtxf-xe2/dist-node/xe2-base-objects").Property[]; } export declare namespace RectangleButton { const createDefaultProps: () => { show: boolean; containerId: string | null; visibility: boolean; interaction: boolean; shadowDom: boolean; cssAllInitial: boolean; zIndex: number | undefined; layoutType: MyCustomDivLayoutType; width: number; height: number; backgroundColor: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable<[number, number, number, number] | null>; borderRadius: number; borderColor: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable<[number, number, number, number]>; borderWidth: number; cssText: string; clickFuncStr: string; statusFuncStr: string; highlighted: boolean; highlightOnClick: boolean; text: string; textLayoutCssText: string; textColor: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable<[number, number, number, number]>; fontSize: number; fontWeight: string; letterSpacing: number; textLayoutType: MyCustomDivLayoutType; textCssText: string; normalImageUri: string; hoveredImageUri: string; pressedImageUri: string; highlightedImageUri: string; imageLayoutType: MyCustomDivLayoutType; imageCssText: string; tooltip: string; tooltipMenuStrings: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable; tooltipClickFuncStr: string; execOnceFuncStr: string; updateFuncStr: string; toDestroyFuncStr: string; createAppendedObjFuncStr: string; name: string; ref: string | undefined; devTags: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable; extras: import("vtxf-xe2/dist-node/xe2-base-utils").ReactiveVariable; }; } export interface RectangleButton extends ReactivePropsToNativePropsAndChanged> { } declare type JsonType = PartialWithUndefinedReactivePropsToNativeProps & { type: string; }>; export {};