All Superinterfaces:
ExportCell
@PublicApi
public interface PrintableCell
extends ExportCell
PrintableCell is a specialization of
ExportCell for exporting to the printable HTML format.
See Also:
Method Summary
All Methods Instance Methods Abstract Methods
void
Add CSS classes to the class attribute of the <td> element for the current cell.
void
Set an HTML fragment as the content of the current cell.
Method Details
setHtml
void setHtml (@Nullable
String html)
Set an HTML fragment as the content of the current cell.
Parameters:
html - The HTML fragment. If null, the cell is cleared.
addClasses
void addClasses (String ... classes)
Add CSS classes to the class attribute of the <td> element for the current cell. The CSS
rules for that class should be added to a CSS file in a web resource included into the structure.printable
context.
Parameters:
classes - The CSS classes.