org.opentox.toxotis.core.html
Class HTMLDivBuilder

java.lang.Object
  extended by org.opentox.toxotis.core.html.HTMLDivBuilder

public class HTMLDivBuilder
extends Object

Author:
Pantelis Sopasakis, Charalampos Chomenides

Constructor Summary
HTMLDivBuilder()
           
HTMLDivBuilder(String divClass)
           
 
Method Summary
 HTMLContainer addComment(String comment)
           
 HTMLContainer addComponent(HTMLComponent component)
           
 HTMLForm addForm()
           
 HTMLForm addForm(String actionUri, String method)
           
 HTMLContainer addHeading(String text)
           
 HTMLContainer addParagraph(String text, Alignment align)
           
 HTMLContainer addSubHeading(String text)
           
 HTMLContainer addSubSubHeading(String text)
           
 HTMLContainer addSubSubSubHeading(String text)
           
 HTMLTable addTable(int cols)
           
 HTMLTable addTable(int cols, int rows)
           
 HTMLContainer getDiv()
           
 HTMLContainer setDivClass(String divClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLDivBuilder

public HTMLDivBuilder()

HTMLDivBuilder

public HTMLDivBuilder(String divClass)
Method Detail

setDivClass

public HTMLContainer setDivClass(String divClass)

addComponent

public HTMLContainer addComponent(HTMLComponent component)

addParagraph

public HTMLContainer addParagraph(String text,
                                  Alignment align)

addComment

public HTMLContainer addComment(String comment)

addHeading

public HTMLContainer addHeading(String text)

addSubHeading

public HTMLContainer addSubHeading(String text)

addSubSubHeading

public HTMLContainer addSubSubHeading(String text)

addSubSubSubHeading

public HTMLContainer addSubSubSubHeading(String text)

addForm

public HTMLForm addForm()

addForm

public HTMLForm addForm(String actionUri,
                        String method)

addTable

public HTMLTable addTable(int cols,
                          int rows)

addTable

public HTMLTable addTable(int cols)

getDiv

public HTMLContainer getDiv()


Copyright © 2011-2012 OpenTox. All Rights Reserved.