com.itextpdf.tool.xml.html.table
Class TableRowElement

java.lang.Object
  extended by com.itextpdf.tool.xml.html.table.TableRowElement
All Implemented Interfaces:
Element

public class TableRowElement
extends Object
implements Element

Author:
redlab_b

Nested Class Summary
static class TableRowElement.Place
          Enumeration used for determining the correct order of TableRowElements when adding the table to a document.
 
Field Summary
 
Fields inherited from interface com.itextpdf.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK
 
Constructor Summary
TableRowElement(List<Element> currentContent, TableRowElement.Place place)
          Constructor based on the currentContent and a TableRowElement.Place.
 
Method Summary
 List<Chunk> getChunks()
           
 List<HtmlCell> getContent()
           
 TableRowElement.Place getPlace()
           
 boolean isContent()
           
 boolean isNestable()
           
 boolean process(ElementListener listener)
           
 int type()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.itextpdf.text.Element
toString
 

Constructor Detail

TableRowElement

public TableRowElement(List<Element> currentContent,
                       TableRowElement.Place place)
Constructor based on the currentContent and a TableRowElement.Place. All none TableData elements are filtered out of the current content list.

Parameters:
currentContent - List containing all elements found between and .
place - a TableRowElement.Place in the table (caption, header, body or footer).
Method Detail

process

public boolean process(ElementListener listener)
Specified by:
process in interface Element

type

public int type()
Specified by:
type in interface Element

isContent

public boolean isContent()
Specified by:
isContent in interface Element

isNestable

public boolean isNestable()
Specified by:
isNestable in interface Element

getChunks

public List<Chunk> getChunks()
Specified by:
getChunks in interface Element

getContent

public List<HtmlCell> getContent()
Returns:
the content.

getPlace

public TableRowElement.Place getPlace()
Returns:
the TableRowElement.Place of the row.


Copyright © 2012. All Rights Reserved.