com.phloxui
Version:
PhloxUI Ng2+ Framework
36 lines (35 loc) • 1.55 kB
TypeScript
import { Type } from '@angular/core';
import { AbstractI18NApplicable } from '../AbstractI18NApplicable';
import { TableColumnModel } from './TableColumnModel';
import { TableRowModel } from './TableRowModel';
export declare class TableModel extends AbstractI18NApplicable {
protected headerModel: TableRowModel;
protected bodyComponentTypeName: string;
protected bodyComponentOptions: any;
protected rowModel: TableRowModel;
protected bodyCSSClass: string;
protected columnModels: TableColumnModel[];
protected typeResolveService: any;
protected bodyComponentType: Type<any>;
constructor(typeResolveService: any);
setOptions(options: any): void;
getTypeResolveService(): any;
resolveType(typeName: string): Type<any>;
getBodyComponentTypeName(): string;
setBodyComponentTypeName(typeName: string): void;
getBodyComponentOptions(): any;
setBodyComponentOptions(options: any): void;
getBodyComponentType(): Type<any>;
getBodyCSSClass(): string;
setBodyCSSClass(clazz: string): void;
clear(): void;
getHeaderModel(): TableRowModel;
getRowModel(): TableRowModel;
getColumnModels(): TableColumnModel[];
getColumnModelByIndex(index: number): TableColumnModel;
addColumnAtIndex(index: number, options: any): TableColumnModel;
addColumn(options: any): TableColumnModel;
getColumnModelIndex(columnModel: TableColumnModel): number;
removeColumn(columnModel: TableColumnModel): boolean;
removeColumnIndex(index: number): TableColumnModel;
}