OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 110 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
110 ilm 1
package org.openconcerto.modules.reports.olap.renderer;
2
 
3
public class MatrixCell {
4
    final String value;
5
    final boolean right;
6
    final boolean sameAsPrev;
7
 
8
    /**
9
     * Creates a matrix cell.
10
     *
11
     * @param value Value
12
     * @param right Whether value is right-justified
13
     * @param sameAsPrev Whether value is the same as the previous value. If true, some formats
14
     *        separators between cells
15
     */
16
    MatrixCell(String value, boolean right, boolean sameAsPrev) {
17
        this.value = value;
18
        this.right = right;
19
        this.sameAsPrev = sameAsPrev;
20
    }
159 ilm 21
 
22
    public String getValue() {
23
        return value;
24
    }
110 ilm 25
}