@eclipse-scout/core
Version:
Eclipse Scout runtime
39 lines • 1.39 kB
TypeScript
import { InitModelOf, LookupRowModel, ObjectWithType, SomeRequired } from '../index';
export declare class LookupRow<TKey> implements LookupRowModel<TKey>, ObjectWithType {
model: LookupRowModel<TKey>;
initModel: SomeRequired<this['model'], 'key' | 'text'>;
id: string;
objectType: string;
key: TKey;
text: string;
parentKey: TKey;
enabled: boolean;
active: boolean;
additionalTableRowData: Record<string, any>;
cssClass: string;
iconId: string;
tooltipText: string;
backgroundColor: string;
foregroundColor: string;
font: string;
constructor();
/**
* @returns a deep clone of this LookupRow instance. E.g. called when using {@link objects#valueCopy}.
*/
clone(): this;
init(model?: InitModelOf<this>): void;
setKey(key: TKey): void;
setText(text: string): void;
setParentKey(parentKey: TKey): void;
setEnabled(enabled: boolean): void;
setCssClass(cssClass: string): void;
setAdditionalTableRowData(additionalTableRowData: Record<string, any>): void;
setIconId(iconId: string): void;
setTooltipText(tooltipText: string): void;
setBackgroundColor(backgroundColor: string): void;
setForegroundColor(foregroundColor: string): void;
setFont(font: string): void;
equals(other: any): boolean;
toString(): string;
}
//# sourceMappingURL=LookupRow.d.ts.map