Home » displaytag-1.1.1-src » org » displaytag » render » [javadoc | source]
org.displaytag.render
public class: HtmlTableWriter [javadoc | source]
java.lang.Object
   org.displaytag.render.TableWriterTemplate
      org.displaytag.render.TableWriterAdapter
         org.displaytag.render.HtmlTableWriter
A table writer that formats a table in HTML and writes it to a JSP page.
Fields inherited from org.displaytag.render.TableWriterTemplate:
GROUP_START,  GROUP_END,  GROUP_START_AND_END,  GROUP_NO_CHANGE,  NO_RESET_GROUP,  lowestEndedGroup,  lowestStartedGroup
Constructor:
 public HtmlTableWriter(TableModel tableModel,
    TableProperties tableProperties,
    Href baseHref,
    boolean export,
    JspWriter out,
    CaptionTag captionTag,
    PaginatedList paginatedList,
    SmartListHelper listHelper,
    int pagesize,
    HtmlAttributeMap attributeMap,
    String uid) 
    This table writer uses a TableTag and a JspWriter to do its work.
    Parameters:
    tableTag - TableTag instance called back by this writer.
    out - The output destination.
Method from org.displaytag.render.HtmlTableWriter Summary:
getOpenTag,   write,   write,   writeBottomBanner,   writeCaption,   writeColumnCloser,   writeColumnOpener,   writeColumnValue,   writeDecoratedRowFinish,   writeDecoratedRowStart,   writeDecoratedTableFinish,   writeEmptyListMessage,   writeEmptyListRowMessage,   writeNavigationAndExportLinks,   writePreBodyFooter,   writeRowCloser,   writeRowOpener,   writeRowWithNoColumns,   writeSearchResultAndNavigation,   writeTable,   writeTableBodyCloser,   writeTableBodyOpener,   writeTableCloser,   writeTableHeader,   writeTableOpener,   writeTopBanner
Methods from org.displaytag.render.TableWriterAdapter:
writeBottomBanner,   writeCaption,   writeColumnCloser,   writeColumnOpener,   writeColumnValue,   writeDecoratedRowFinish,   writeDecoratedRowStart,   writeDecoratedTableFinish,   writeEmptyListMessage,   writeEmptyListRowMessage,   writePostBodyFooter,   writePreBodyFooter,   writeRowCloser,   writeRowOpener,   writeRowWithNoColumns,   writeTableBodyCloser,   writeTableBodyOpener,   writeTableCloser,   writeTableHeader,   writeTableOpener,   writeTopBanner
Methods from org.displaytag.render.TableWriterTemplate:
groupColumns,   writeBottomBanner,   writeCaption,   writeColumnCloser,   writeColumnOpener,   writeColumnValue,   writeDecoratedRowFinish,   writeDecoratedRowStart,   writeDecoratedTableFinish,   writeEmptyListMessage,   writeEmptyListRowMessage,   writePostBodyFooter,   writePreBodyFooter,   writeRowCloser,   writeRowOpener,   writeRowWithNoColumns,   writeTable,   writeTableBodyCloser,   writeTableBodyOpener,   writeTableCloser,   writeTableHeader,   writeTableOpener,   writeTopBanner
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.render.HtmlTableWriter Detail:
 public String getOpenTag() 
    create the open tag containing all the attributes.
 public  void write(String string) 
    Utility method.
 public  void write(Object string) 
    Utility method.
 protected  void writeBottomBanner(TableModel model) 
    Writes a banner containing search result, paging navigation, and export links below an HTML table to a JSP page.
 protected  void writeCaption(TableModel model) 
    Writes an HTML table's caption to a JSP page.
 protected  void writeColumnCloser(Column column) 
    Writes an HTML table's column-closing tag to a JSP page.
 protected  void writeColumnOpener(Column column) throws DecoratorException, ObjectLookupException 
    Writes an HTML table's column-opening tag to a JSP page.
 protected  void writeColumnValue(Object value,
    Column column) 
    Writes a HTML table column value to a JSP page.
 protected  void writeDecoratedRowFinish(TableModel model) 
 protected  void writeDecoratedRowStart(TableModel model) 
 protected  void writeDecoratedTableFinish(TableModel model) 
 protected  void writeEmptyListMessage(String emptyListMessage) 
    Writes an HTML message to a JSP page explaining that the table model contains no data.
 protected  void writeEmptyListRowMessage(String message) 
    Writes an HTML message to a JSP page explaining that the row contains no data.
 public  void writeNavigationAndExportLinks() 
    Generates table footer with links for export commands.
 protected  void writePreBodyFooter(TableModel model) 
    Writes an HTML table's footer to a JSP page; HTML requires tfoot to appear before tbody.
 protected  void writeRowCloser(Row row) 
    Writes an HTML table's row-closing tag to a JSP page.
 protected  void writeRowOpener(Row row) 
    Writes an HTML table's row-opening tag to a JSP page.
 protected  void writeRowWithNoColumns(String rowValue) 
    Writes to a JSP page an HTML table row that has no columns.
 public  void writeSearchResultAndNavigation() 
    generates the search result and navigation bar.
 public  void writeTable(TableModel model,
    String id) throws JspException 
 protected  void writeTableBodyCloser(TableModel model) 
    Writes the end of an HTML table's body to a JSP page.
 protected  void writeTableBodyOpener(TableModel model) 
    Writes the start of an HTML table's body to a JSP page.
 protected  void writeTableCloser(TableModel model) 
    Writes the closing structure of an HTML table to a JSP page.
 protected  void writeTableHeader(TableModel model) 
    Writes an HTML table's column header to a JSP page.
 protected  void writeTableOpener(TableModel model) 
    Writes an HTML table's opening tags to a JSP page.
 protected  void writeTopBanner(TableModel model) 
    Writes a banner containing search result and paging navigation above an HTML table to a JSP page.