import { OjWebElement } from '@oracle/oraclejet-webdriver/elements'; /** * This is the base class for oj-c-legend WebElement, and is generated from the * component's metadata. Do not modify these contents since they'll be replaced * during the next generation. * Put overrides into the WebElements's subclass, LegendWebElement.ts. */ export declare class LegendWebElementBase extends OjWebElement { /** * Gets the value of data property. * Specifies the DataProvider for the sections and items of the legend. * @return The value of data property. * @deprecated Since 17.1.0. Data sets from a DataProvider cannot be sent to WebDriverJS; use ViewModels or page variables instead. */ getData(): Promise; /** * Gets the value of drilling property. * Specifies whether drilling is enabled. * @return The value of drilling property. * */ getDrilling(): Promise; /** * Gets the value of halign property. * Defines the horizontal alignment of the legend contents. * @return The value of halign property. * */ getHalign(): Promise; /** * Sets the value of hiddenCategories property. * An array of categories that will be hidden. * @param hiddenCategories The value to set for hiddenCategories * */ changeHiddenCategories(hiddenCategories: Array): Promise; /** * Gets the value of hiddenCategories property. * An array of categories that will be hidden. * @return The value of hiddenCategories property. * */ getHiddenCategories(): Promise>; /** * Gets the value of hideAndShowBehavior property. * Defines whether the legend can be used to initiate hide and show behavior on referenced data items. * @return The value of hideAndShowBehavior property. * */ getHideAndShowBehavior(): Promise; /** * Sets the value of highlightedCategories property. * An array of categories that will be highlighted. * @param highlightedCategories The value to set for highlightedCategories * */ changeHighlightedCategories(highlightedCategories: Array): Promise; /** * Gets the value of highlightedCategories property. * An array of categories that will be highlighted. * @return The value of highlightedCategories property. * */ getHighlightedCategories(): Promise>; /** * Gets the value of hoverBehavior property. * Defines the behavior applied when hovering over a legend item. * @return The value of hoverBehavior property. * */ getHoverBehavior(): Promise; /** * Gets the value of orientation property. * Defines the orientation of the legend, which determines the direction in which the legend items are laid out. * @return The value of orientation property. * */ getOrientation(): Promise; /** * Gets the value of symbolHeight property. * The height of the legend symbol in pixels. * @return The value of symbolHeight property. * */ getSymbolHeight(): Promise; /** * Gets the value of symbolWidth property. * The width of the legend symbol in pixels. * @return The value of symbolWidth property. * */ getSymbolWidth(): Promise; /** * Gets the value of textStyle property. * The CSS style object defining the style of the legend item text. * @return The value of textStyle property. * */ getTextStyle(): Promise; /** * Gets the value of valign property. * Defines the vertical alignment of the legend contents. * @return The value of valign property. * */ getValign(): Promise; /** * Gets the value of sectionTitleStyle property. * The CSS style object defining the style of the section titles' text. * @return The value of sectionTitleStyle property. * */ getSectionTitleStyle(): Promise; /** * Gets the value of sectionTitleHalign property. * The horizontal alignment of the section titles. * @return The value of sectionTitleHalign property. * */ getSectionTitleHalign(): Promise; /** * Gets the value of contextMenuConfig property. * Specifies a context menu configuration. * @return The value of contextMenuConfig property. * */ getContextMenuConfig(): Promise; /** * Gets the value of datatipConfig property. * The DatatipConfig object is used to allow applications to control the appearance and behavior of the datatip. * @return The value of datatipConfig property. * */ getDatatipConfig(): Promise; } export interface TextStyle { /** * */ color: string; /** * */ fontFamily: string; /** * */ fontSize: string; /** * */ fontStyle: string; /** * */ fontWeight: string; /** * */ textDecoration: string; } export interface SectionTitleStyle { /** * */ color: string; /** * */ fontFamily: string; /** * */ fontSize: string; /** * */ fontStyle: string; /** * */ fontWeight: string; /** * */ textDecoration: string; } export interface ContextMenuConfig { /** * */ accessibleLabel: string; }