public static class Table.GeneratedRow extends Object implements Serializable
Constructor and Description |
---|
GeneratedRow(String... text)
Creates a new generated row.
|
Modifier and Type | Method and Description |
---|---|
protected String[] |
getText() |
protected Object |
getValue() |
protected boolean |
isHtmlContentAllowed() |
protected boolean |
isSpanColumns() |
void |
setHtmlContentAllowed(boolean htmlContentAllowed)
If set to true, all strings passed to
setText(String...)
will be rendered as HTML. |
void |
setSpanColumns(boolean spanColumns)
If set to true, only one string will be rendered, spanning the entire
row.
|
void |
setText(String... text)
Pass one String if spanColumns is used, one String for each visible
column otherwise
|
public GeneratedRow(String... text)
text
- public void setText(String... text)
protected String[] getText()
protected Object getValue()
protected boolean isHtmlContentAllowed()
public void setHtmlContentAllowed(boolean htmlContentAllowed)
setText(String...)
will be rendered as HTML.htmlContentAllowed
- protected boolean isSpanColumns()
public void setSpanColumns(boolean spanColumns)
spanColumns
- Copyright © 2019 Vaadin Ltd. All rights reserved.