UNPKG

@ctodev/cclibrary-typings

Version:

Library typings for use with CLARC INFINITY

46 lines (45 loc) 1.67 kB
import { TccKeyValuePair, TccPrimitiveValue } from "../../../../../odata/models/shared.model"; import { TccET_BIZOBJ } from "../../../../../odata/models/bizobj.model"; import { TccScripting } from "../../tcc-scripting.model"; import { TccClientBase } from "../tcc-client-base"; import { TccSingularity } from "../tcc-singularity"; import { TccGetBoProperty } from "../../../../classes/tcc-get-bo-property.class"; export declare abstract class TccIField extends TccClientBase { protected path: string[]; protected id: string; protected name: string; protected type: TccScripting.FieldType; protected index: number; protected isTable: boolean; private _desktopItem; private _BOProperty; constructor(path: string[], id: string, name: string, type: TccScripting.FieldType, index: number, ccsingularity: TccSingularity); protected get BOProp(): TccGetBoProperty.PropertyTypes; protected get DesktopItem(): TccET_BIZOBJ.DesktopItem; /** * whether the field is part of the desktop */ get IsOnDesktop(): boolean; /** * technical name of the field */ get Name(): string; /** * displayname of the field */ get DisplayName(): string; /** * index of the field in a collection */ get Index(): number; /** * whether the field is a collection */ get Collection(): boolean; abstract Visible: boolean; abstract set DisplayText(text: string); abstract Value: TccPrimitiveValue; abstract SelectionList: TccKeyValuePair[]; abstract AddToSelectionList(add: string | TccKeyValuePair): boolean; abstract ClearSelectionList(): boolean; }