We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.
Class Table.GeneratedRow
java.lang.Object
com.vaadin.ui.Table.GeneratedRow
All Implemented Interfaces:
Enclosing class:
- extends Object
- implements Serializable
public static class Table.GeneratedRow
See Also:
Constructor Summary | |
---|---|
Table.GeneratedRow(String... text)
Creates a new generated row. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Table.GeneratedRow
public Table.GeneratedRow(String... text)
- Parameters:
text
-
Creates a new generated row. If only one string is passed in, columns are automatically spanned.
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)
- Parameters:
htmlContentAllowed
-
If set to true, all strings passed to setText(String...)
will be rendered as HTML.
isSpanColumns
protected boolean isSpanColumns()
setSpanColumns
public void setSpanColumns(boolean spanColumns)
- Parameters:
spanColumns
-
If set to true, only one string will be rendered, spanning the entire row.