@ctodev/cclibrary-typings
Version:
Library typings for use with CLARC INFINITY
37 lines (36 loc) • 1.46 kB
TypeScript
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 isTable: boolean;
private _desktopItem;
private _BOProperty;
constructor(path: string[], id: string, name: string, type: TccScripting.FieldType, 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;
abstract Visible: boolean;
abstract set DisplayText(text: string);
abstract Value: TccPrimitiveValue;
abstract SelectionList: TccKeyValuePair[];
abstract AddToSelectionList(add: string | TccKeyValuePair): boolean;
abstract ClearSelectionList(): boolean;
}