import { IgcCellInfo } from "./igc-cell-info";
import { SummaryCellModel as SummaryCellModel_internal } from "./SummaryCellModel";
import { brushToString, stringToBrush } from "igniteui-webcomponents-core";
import { FontInfo } from "igniteui-webcomponents-core";
/**
 * Backing information for a section header cell in the grid.
*/
export class IgcSummaryCellInfo extends IgcCellInfo {
    createImplementation() {
        return new SummaryCellModel_internal();
    }
    /**
                                 * @hidden
                                 */
    get i() {
        return this._implementation;
    }
    constructor() {
        super();
    }
    /**
     * Sets or gets the resolved summary label for the summary cell.
    */
    get resolvedSummaryLabel() {
        return this.i.k4;
    }
    set resolvedSummaryLabel(v) {
        this.i.k4 = v;
    }
    /**
     * Sets or gets the resolved summary value for the sumamry cell.
    */
    get resolvedSummaryValue() {
        return this.i.k6;
    }
    set resolvedSummaryValue(v) {
        this.i.k6 = v;
    }
    /**
     * Gets or sets the color of the text for the summary label in the cell.
    */
    get summaryLabelTextColor() {
        return brushToString(this.i.lb);
    }
    set summaryLabelTextColor(v) {
        this.i.lb = stringToBrush(v);
    }
    get font() {
        if (this.i.kx == null) {
            return null;
        }
        return this.i.kx.fontString;
    }
    set font(v) {
        let fi = new FontInfo();
        fi.fontString = v;
        this.i.kx = fi;
    }
}
//# sourceMappingURL=igc-summary-cell-info.js.map
