com.vaadin.ui.
Class Table.GeneratedRow
- java.lang.Object
-
- com.vaadin.ui.Table.GeneratedRow
-
All Implemented Interfaces:
Enclosing class:
public static class Table.GeneratedRow extends Object implements Serializable
See Also:
-
-
Constructor Summary
Constructors Constructor and Description GeneratedRow(String... text)
Creates a new generated row.
-
Method Summary
All Methods 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
-
-
-
Constructor Detail
-
GeneratedRow
public GeneratedRow(String... text)
Creates a new generated row. If only one string is passed in, columns are automatically spanned.
Parameters:
text
-
-
-
Method Detail
-
setText
public void setText(String... text)
Pass one String if spanColumns is used, one String for each visible column otherwise
-
getText
protected String[] getText()
-
getValue
protected Object getValue()
-
isHtmlContentAllowed
protected boolean isHtmlContentAllowed()
-
setHtmlContentAllowed
public void setHtmlContentAllowed(boolean htmlContentAllowed)
If set to true, all strings passed to
setText(String...)
will be rendered as HTML.Parameters:
htmlContentAllowed
-
-
isSpanColumns
protected boolean isSpanColumns()
-
setSpanColumns
public void setSpanColumns(boolean spanColumns)
If set to true, only one string will be rendered, spanning the entire row.
Parameters:
spanColumns
-
-
-