import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';
/**
* This is the base class for oj-c-table 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, TableWebElement.ts.
*/
export declare class TableWebElementBase extends OjWebElement {
/**
* Gets the value of layout property.
* The column sizing method used for the Table's columns.
* @return The value of layout property.
*
*/
getLayout(): Promise;
/**
* Gets the value of columns property.
* The set of columns that can be displayed in the Table.
* @return The value of columns property.
*
*/
getColumns(): Promise;
/**
* Gets the value of row property.
* A subset of attributes for controlling certain behaviors on a per row basis.
* @return The value of row property.
*
*/
getRow(): Promise;
/**
* Gets the value of horizontalGridVisible property.
* Controls the display of the Table's horizontal gridlines.
* @return The value of horizontalGridVisible property.
*
*/
getHorizontalGridVisible(): Promise;
/**
* Gets the value of verticalGridVisible property.
* Controls the display of the Table's vertical gridlines.
* @return The value of verticalGridVisible property.
*
*/
getVerticalGridVisible(): Promise;
/**
* Sets the value of selected property.
* The selected rows and/or columns. See the Help documentation for more information.
* @param selected The value to set for selected
*
*/
changeSelected(selected: Selected): Promise;
/**
* Gets the value of selected property.
* The selected rows and/or columns. See the Help documentation for more information.
* @return The value of selected property.
*
*/
getSelected(): Promise;
/**
* Gets the value of selectionMode property.
* Specifies whether row and/or column selection gestures are enabled on the Table, and the cardinality of each (single/multiple/multipleToggle/none).
* @return The value of selectionMode property.
*
*/
getSelectionMode(): Promise;
/**
* Gets the value of selectAllControl property.
* Controls the display of the Table's select all control when multiple or multipleToggle row selection is enabled.
* @return The value of selectAllControl property.
*
*/
getSelectAllControl(): Promise;
/**
* Sets the value of columnOrder property.
* Display and order of columns. See the Help documentation for more information.
* @param columnOrder The value to set for columnOrder
*
*/
changeColumnOrder(columnOrder: Array): Promise;
/**
* Gets the value of columnOrder property.
* Display and order of columns. See the Help documentation for more information.
* @return The value of columnOrder property.
*
*/
getColumnOrder(): Promise>;
/**
* Gets the value of currentCellOverride property.
* The cell override to apply to the current cell of the Table. In order for this property to be honored, a new object instance must be set.
* @return The value of currentCellOverride property.
*
*/
getCurrentCellOverride(): Promise;
/**
* Gets the value of currentCell property.
* The cell currently being used as the target for keyboard gestures made on the Table.
* @return The value of currentCell property.
*
*/
getCurrentCell(): Promise;
/**
* Sets the value of columnWidths property.
* The desired widths of table columns. A record mapping column keys to numbers representing pixel widths for each column.
* @param columnWidths The value to set for columnWidths
*
*/
changeColumnWidths(columnWidths: object): Promise;
/**
* Gets the value of columnWidths property.
* The desired widths of table columns. A record mapping column keys to numbers representing pixel widths for each column.
* @return The value of columnWidths property.
*
*/
getColumnWidths(): Promise;
/**
* Gets the value of scrollPolicyOptions property.
* Options related to the Table's fetching and scrolling behaviors.
* @return The value of scrollPolicyOptions property.
*
*/
getScrollPolicyOptions(): Promise;
/**
* Gets the value of columnResizeBehavior property.
* The column resize behavior this Table will utilize when column resizing is enabled on a given column.
* @return The value of columnResizeBehavior property.
*
*/
getColumnResizeBehavior(): Promise;
/**
* Gets the value of contextMenuConfig property.
* Specifies a context menu configuration.
* @return The value of contextMenuConfig property.
*
*/
getContextMenuConfig(): Promise;
}
export interface Row {
/**
* The column key(s) to be used as the accessible row header(s) for assistive technologies. See the Help documentation for more information.
*/
accessibleRowHeader: string | Array | null;
}
export interface Selected {
/**
* The selected columns. See the Help documentation for more information.
*/
column: object;
/**
* The selected rows. See the Help documentation for more information.
*/
row: object;
}
export interface SelectionMode {
/**
* Specifies whether column selection gestures are enabled on the Table.
*/
column: string;
/**
* Specifies whether row selection gestures are enabled on the Table.
*/
row: string;
}
export interface ScrollPolicyOptions {
/**
* The number of records the Table will request during each data fetch.
*/
fetchSize: number;
}
export interface ContextMenuConfig {
/**
*
*/
accessibleLabel: string;
}