OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 132 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 132 Rev 156
Line 14... Line 14...
14
 package org.openconcerto.ui.light;
14
 package org.openconcerto.ui.light;
15
 
15
 
16
import java.awt.Color;
16
import java.awt.Color;
17
 
17
 
18
public class InformationLine extends LightUILine {
18
public class InformationLine extends LightUILine {
19
    final LightUILabel keyElement;
19
    private LightUILabel keyElement;
20
    final LightUILabel valueElement;
20
    private LightUILabel valueElement;
-
 
21
 
-
 
22
    public InformationLine() {
-
 
23
        // Serialization
-
 
24
    }
21
 
25
 
22
    public InformationLine(final String key, final String value) {
26
    public InformationLine(final String key, final String value) {
23
        super();
27
        super();
24
        this.setGridAlignment(ALIGN_GRID);
28
        this.setGridAlignment(ALIGN_GRID);
25
        this.keyElement = new LightUILabel("label.key" + key.replace(" ", ".").toLowerCase(), key, true);
29
        this.keyElement = new LightUILabel("label.key" + key.replace(" ", ".").toLowerCase(), key, true);