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

io.bdeploy.common.cli.data.DataTableCell Maven / Gradle / Ivy

Go to download

Public API including dependencies, ready to be used for integrations and plugins.

There is a newer version: 7.4.0
Show newest version
package io.bdeploy.common.cli.data;

/**
 * A single cell of a {@link DataTable}. A cell may span multiple columns. If word wrapping is enabled on the {@link DataTable},
 * contents may span multiple rows.
 */
public class DataTableCell {

    private final String data;
    private final int span;

    public DataTableCell(String data) {
        this(data, 1);
    }

    public DataTableCell(String data, int span) {
        this.data = data;
        this.span = span;
    }

    public String getData() {
        return data;
    }

    public int getSpan() {
        return span;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy