org.opentox.toxotis.core.html.impl
Class HTMLParagraphImpl

java.lang.Object
  extended by org.opentox.toxotis.core.html.impl.HTMLExpandableComponentImpl
      extended by org.opentox.toxotis.core.html.impl.HTMLParagraphImpl
All Implemented Interfaces:
HTMLComponent, HTMLExpandableComponent, HTMLParagraph

public class HTMLParagraphImpl
extends HTMLExpandableComponentImpl
implements HTMLParagraph

Author:
Pantelis Sopasakis, Charalampos Chomenides

Constructor Summary
HTMLParagraphImpl()
           
HTMLParagraphImpl(HTMLText htmlText)
           
HTMLParagraphImpl(String paragraphText)
           
 
Method Summary
 HTMLParagraph addText(HTMLText text)
           
 Alignment getAlignment()
           
 HTMLParagraph setAlignment(Alignment align)
           
 String toString()
           
 
Methods inherited from class org.opentox.toxotis.core.html.impl.HTMLExpandableComponentImpl
addComponent, getComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opentox.toxotis.core.html.HTMLExpandableComponent
addComponent, getComponents
 

Constructor Detail

HTMLParagraphImpl

public HTMLParagraphImpl()

HTMLParagraphImpl

public HTMLParagraphImpl(String paragraphText)

HTMLParagraphImpl

public HTMLParagraphImpl(HTMLText htmlText)
Method Detail

addText

public HTMLParagraph addText(HTMLText text)
Specified by:
addText in interface HTMLParagraph

toString

public String toString()
Overrides:
toString in class Object

setAlignment

public HTMLParagraph setAlignment(Alignment align)
Specified by:
setAlignment in interface HTMLParagraph

getAlignment

public Alignment getAlignment()
Specified by:
getAlignment in interface HTMLParagraph


Copyright © 2011-2012 OpenTox. All Rights Reserved.