org.opentox.toxotis.core.html
Class HTMLPageBuilder

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

public class HTMLPageBuilder
extends Object

Author:
Pantelis Sopasakis, Charalampos Chomenides

Constructor Summary
HTMLPageBuilder()
           
 
Method Summary
 HTMLContainer addDiv(String divClass, HTMLComponent component)
           
 HTMLTag addHeading(String heading)
           
 HTMLParagraph addParagraph(String text)
           
 HTMLTag addSubHeading(String heading)
           
 HTMLTag addSubSubHeading(String heading)
           
 HTMLPage getPage()
           
 void setDoRedirect(URL url)
           
 void setDoRefresh(boolean doRegresh, int secondsDelay)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTMLPageBuilder

public HTMLPageBuilder()
Method Detail

setDoRefresh

public void setDoRefresh(boolean doRegresh,
                         int secondsDelay)

setDoRedirect

public void setDoRedirect(URL url)

addHeading

public HTMLTag addHeading(String heading)

addSubHeading

public HTMLTag addSubHeading(String heading)

addSubSubHeading

public HTMLTag addSubSubHeading(String heading)

addParagraph

public HTMLParagraph addParagraph(String text)

addDiv

public HTMLContainer addDiv(String divClass,
                            HTMLComponent component)

getPage

public HTMLPage getPage()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011-2012 OpenTox. All Rights Reserved.