com.vaadin.ui
Class Table.GeneratedRow

java.lang.Object
  extended by com.vaadin.ui.Table.GeneratedRow
All Implemented Interfaces:
Serializable
Enclosing class:
Table

public static class Table.GeneratedRow
extends Object
implements Serializable

See Also:
Serialized Form

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)
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 -


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.