org.nakedobjects.plugins.html.component.html
Class HtmlTable

java.lang.Object
  extended by org.nakedobjects.plugins.html.component.ComponentComposite
      extended by org.nakedobjects.plugins.html.component.html.HtmlTable
All Implemented Interfaces:
Component, Table

public class HtmlTable
extends ComponentComposite
implements Table


Constructor Summary
HtmlTable(int noColumns, boolean withSelectorColumn)
           
 
Method Summary
 void addCell(Component component)
           
 void addCell(java.lang.String value, boolean truncate)
           
 void addColumnHeader(java.lang.String name)
           
 void addEmptyCell()
           
 void addRowHeader(Component component)
           
 org.nakedobjects.plugins.html.component.html.Row newRow()
           
 void setSummary(java.lang.String summary)
           
 void write(java.io.PrintWriter writer)
           
protected  void write(java.io.PrintWriter writer, Component component)
           
 
Methods inherited from class org.nakedobjects.plugins.html.component.ComponentComposite
add, writeAfter, writeBefore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlTable

public HtmlTable(int noColumns,
                 boolean withSelectorColumn)
Method Detail

newRow

public org.nakedobjects.plugins.html.component.html.Row newRow()

setSummary

public void setSummary(java.lang.String summary)
Specified by:
setSummary in interface Table

write

public void write(java.io.PrintWriter writer)
Specified by:
write in interface Component
Overrides:
write in class ComponentComposite

write

protected void write(java.io.PrintWriter writer,
                     Component component)
Overrides:
write in class ComponentComposite

addCell

public void addCell(java.lang.String value,
                    boolean truncate)
Specified by:
addCell in interface Table

addEmptyCell

public void addEmptyCell()
Specified by:
addEmptyCell in interface Table

addCell

public void addCell(Component component)
Specified by:
addCell in interface Table

addColumnHeader

public void addColumnHeader(java.lang.String name)
Specified by:
addColumnHeader in interface Table

addRowHeader

public void addRowHeader(Component component)
Specified by:
addRowHeader in interface Table


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.