All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.excel.metadata.TableStyle Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package com.alibaba.excel.metadata;

import org.apache.poi.ss.usermodel.IndexedColors;

import com.alibaba.excel.write.style.HorizontalCellStyleStrategy;

/**
 * @author jipengfei
 * @deprecated please use {@link HorizontalCellStyleStrategy}
 */
@Deprecated
public class TableStyle {

    /**
     * 表头背景颜色
     */
    private IndexedColors tableHeadBackGroundColor;

    /**
     * 表头字体样式
     */
    private Font tableHeadFont;

    /**
     * 表格内容字体样式
     */
    private Font tableContentFont;

    /**
     * 表格内容背景颜色
     */
    private IndexedColors tableContentBackGroundColor;

    public IndexedColors getTableHeadBackGroundColor() {
        return tableHeadBackGroundColor;
    }

    public void setTableHeadBackGroundColor(IndexedColors tableHeadBackGroundColor) {
        this.tableHeadBackGroundColor = tableHeadBackGroundColor;
    }

    public Font getTableHeadFont() {
        return tableHeadFont;
    }

    public void setTableHeadFont(Font tableHeadFont) {
        this.tableHeadFont = tableHeadFont;
    }

    public Font getTableContentFont() {
        return tableContentFont;
    }

    public void setTableContentFont(Font tableContentFont) {
        this.tableContentFont = tableContentFont;
    }

    public IndexedColors getTableContentBackGroundColor() {
        return tableContentBackGroundColor;
    }

    public void setTableContentBackGroundColor(IndexedColors tableContentBackGroundColor) {
        this.tableContentBackGroundColor = tableContentBackGroundColor;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy