net.sourceforge.schemaspy.view
Class HtmlColumnsPage

java.lang.Object
  extended by net.sourceforge.schemaspy.view.HtmlFormatter
      extended by net.sourceforge.schemaspy.view.HtmlColumnsPage

public class HtmlColumnsPage
extends HtmlFormatter


Nested Class Summary
 class HtmlColumnsPage.ColumnInfo
           
 
Field Summary
 
Fields inherited from class net.sourceforge.schemaspy.view.HtmlFormatter
displayTableComments, encodeComments
 
Method Summary
 List getColumnInfos()
          Returns details about the columns that are displayed on this page.
static HtmlColumnsPage getInstance()
           
protected  boolean isColumnsPage()
          Override and return true if you're the columns page
 void write(Database database, Collection tables, HtmlColumnsPage.ColumnInfo columnInfo, boolean showOrphansGraph, LineWriter html)
           
protected  void writeFooter(LineWriter html)
           
 void writeMainTableHeader(boolean hasTableIds, HtmlColumnsPage.ColumnInfo selectedColumn, LineWriter out)
           
 
Methods inherited from class net.sourceforge.schemaspy.view.HtmlFormatter
getDescription, getPathToRoot, isAnomaliesPage, isConstraintsPage, isMainIndex, isOneOfMultipleSchemas, isOrphansPage, isRelationshipsPage, sourceForgeLogoEnabled, writeExcludedColumns, writeFeedMe, writeGeneratedBy, writeHeader, writeInvalidGraphvizInstallation, writeLegend, writeLegend, writeTableOfContents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static HtmlColumnsPage getInstance()

getColumnInfos

public List getColumnInfos()
Returns details about the columns that are displayed on this page.

Returns:

write

public void write(Database database,
                  Collection tables,
                  HtmlColumnsPage.ColumnInfo columnInfo,
                  boolean showOrphansGraph,
                  LineWriter html)
           throws IOException
Throws:
IOException

writeMainTableHeader

public void writeMainTableHeader(boolean hasTableIds,
                                 HtmlColumnsPage.ColumnInfo selectedColumn,
                                 LineWriter out)
                          throws IOException
Throws:
IOException

writeFooter

protected void writeFooter(LineWriter html)
                    throws IOException
Overrides:
writeFooter in class HtmlFormatter
Throws:
IOException

isColumnsPage

protected boolean isColumnsPage()
Description copied from class: HtmlFormatter
Override and return true if you're the columns page

Overrides:
isColumnsPage in class HtmlFormatter
Returns:
boolean


Copyright © 2007-2010. All Rights Reserved.