UNPKG

@ctodev/cclibrary-typings

Version:

Library typings for use with CLARC INFINITY

48 lines (47 loc) 1.51 kB
import { TccPrimitiveValue, TccKeyValuePair } from "../../../../../odata/models/shared.model"; import { TccScripting } from "../../tcc-scripting.model"; import { TccField } from "./tcc-field"; import { TccIField } from "./tcc-i-field"; import { TccSingularity } from "../tcc-singularity"; export declare class TccTableField extends TccIField { private row; protected isTable: boolean; constructor(row: number, path: string[], id: string, name: string, type: TccScripting.FieldType, ccsingularity: TccSingularity); protected getChildren(onlyDesktop?: boolean): Array<TccTableField>; /** * check typing to differentiate between tccField and tccTableField * @returns whether the object is a TccField */ isTccField(): this is TccField; /** * returns all fields whose businessobject property is a direct subproperty of the property of this field */ get children(): Array<TccTableField>; /** * not yet implemented * hides or shows the field */ Visible: boolean; /** * not yet implemented * changes the label of the field */ set DisplayText(text: string); /** * not yet implemented */ Value: TccPrimitiveValue; /** * not yet implemented */ SelectionList: TccKeyValuePair[]; /** * not yet implemented * @param add */ AddToSelectionList(add: string | TccKeyValuePair): boolean; /** * not yet implemented */ ClearSelectionList(): boolean; }