package jxl;

/* JADX INFO: loaded from: classes.dex */
public final class CellView {
    private boolean autosize;
    private boolean depUsed;
    private int dimension;
    private jxl.format.CellFormat format;
    private boolean hidden;
    private int size;

    public CellView() {
        this.hidden = false;
        this.depUsed = false;
        this.dimension = 1;
        this.size = 1;
        this.autosize = false;
    }

    public boolean depUsed() {
        return this.depUsed;
    }

    public int getDimension() {
        return this.dimension;
    }

    public jxl.format.CellFormat getFormat() {
        return this.format;
    }

    public int getSize() {
        return this.size;
    }

    public boolean isAutosize() {
        return this.autosize;
    }

    public boolean isHidden() {
        return this.hidden;
    }

    public void setAutosize(boolean z) {
        this.autosize = z;
    }

    public void setDimension(int i2) {
        this.dimension = i2;
        this.depUsed = true;
    }

    public void setFormat(jxl.format.CellFormat cellFormat) {
        this.format = cellFormat;
    }

    public void setHidden(boolean z) {
        this.hidden = z;
    }

    public void setSize(int i2) {
        this.size = i2;
        this.depUsed = false;
    }

    public CellView(CellView cellView) {
        this.hidden = cellView.hidden;
        this.depUsed = cellView.depUsed;
        this.dimension = cellView.dimension;
        this.size = cellView.size;
        this.autosize = cellView.autosize;
    }
}
