Class TableData

java.lang.Object
  |
  +--AbstractBox
        |
        +--AbstractFlexibleBox
              |
              +--VerticalBoxStack
                    |
                    +--TableData
All Implemented Interfaces:
Box, FlexibleBox

public class TableData
extends VerticalBoxStack

An alias for a VerticalBoxStack. Since this is the class that is used for cells in tables, it can contain everything you can put into a page, including other tables.


Fields inherited from class AbstractFlexibleBox
boxes
 
Fields inherited from class AbstractBox
height, min_width, pref_width, width
 
Constructor Summary
TableData()
           
 
Method Summary
 boolean isEmpty()
          Reports if the cell is empty.
 
Methods inherited from class VerticalBoxStack
doLayout, drawAt, getMinimumWidth, getPreferredWidth
 
Methods inherited from class AbstractFlexibleBox
insert
 
Methods inherited from class AbstractBox
getHeight, getWidth, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Box
getHeight, getWidth, toString
 

Constructor Detail

TableData

public TableData()
Method Detail

isEmpty

public boolean isEmpty()
Reports if the cell is empty. A cell in a table is never empty, even if it has no contents. This is important, as empty cells can occur in a table.
Overrides:
isEmpty in class AbstractFlexibleBox
Returns:
always true, as a cell can't be empty.