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

java.lang.Object
  extended by org.opentox.toxotis.core.html.impl.HTMLExpandableComponentImpl
All Implemented Interfaces:
HTMLComponent, HTMLExpandableComponent
Direct Known Subclasses:
HTMLAppendableTableImpl, HTMLBodyImpl, HTMLContainerImpl, HTMLPageImpl, HTMLParagraphImpl, HTMLTagImpl, HTMLTextImpl

public abstract class HTMLExpandableComponentImpl
extends Object
implements HTMLExpandableComponent

Author:
Pantelis Sopasakis, Charalampos Chomenides

Constructor Summary
HTMLExpandableComponentImpl()
           
 
Method Summary
 void addComponent(HTMLComponent component)
          Add an HTMLComponent object to the current expandable and modifiable HTML component.
 List<HTMLComponent> getComponents()
          A list of all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLExpandableComponentImpl

public HTMLExpandableComponentImpl()
Method Detail

addComponent

public void addComponent(HTMLComponent component)
Description copied from interface: HTMLExpandableComponent
Add an HTMLComponent object to the current expandable and modifiable HTML component.

Specified by:
addComponent in interface HTMLExpandableComponent
Parameters:
component - The HTMLComponent to be added to the current component.

getComponents

public List<HTMLComponent> getComponents()
Description copied from interface: HTMLExpandableComponent
A list of all

Specified by:
getComponents in interface HTMLExpandableComponent
Returns:
A list of all HTMLComponent object wrapped with the current object. Returns null if the component does not include such a list and an empty list if the currect object has been initialized but no elements have been added in the list.


Copyright © 2011-2012 OpenTox. All Rights Reserved.