io.bdeploy.common.cli.data.DataTableCell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Public API including dependencies, ready to be used for integrations and plugins.
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