info.informatica.doc.style.css.visual.box
Class TableRowContainer

java.lang.Object
  extended by info.informatica.doc.style.css.visual.box.TableRowContainer
All Implemented Interfaces:
CSSBoxContainer, CSSTableRowContainer

public class TableRowContainer
extends Object
implements CSSTableRowContainer

A container that contains table-row boxes.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
TableRowContainer()
           
 
Method Summary
 float computeAutoHeight(float containerWidth)
          Compute the box height for 'auto'.
 float getContentWidth()
          Gets the width of the content, expressed in natural units.
 float getMinimumWidth()
          Gets the minimum width required to avoid width overflowing (horizontal scroll bar).
 List<CSSTableRowBox> getRows()
          Gets the table rows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableRowContainer

public TableRowContainer()
Method Detail

getRows

public List<CSSTableRowBox> getRows()
Gets the table rows.

Specified by:
getRows in interface CSSTableRowContainer
Returns:
an array with the table rows.

getContentWidth

public float getContentWidth()
Description copied from interface: CSSBoxContainer
Gets the width of the content, expressed in natural units.

Specified by:
getContentWidth in interface CSSBoxContainer
Returns:
the content width.

getMinimumWidth

public float getMinimumWidth()
Description copied from interface: CSSBoxContainer
Gets the minimum width required to avoid width overflowing (horizontal scroll bar).

Specified by:
getMinimumWidth in interface CSSBoxContainer
Returns:
the minimum width, expressed in natural units.

computeAutoHeight

public float computeAutoHeight(float containerWidth)
Description copied from interface: CSSTableRowContainer
Compute the box height for 'auto'.

Specified by:
computeAutoHeight in interface CSSTableRowContainer
Returns:
the box height, expressed in the device's natural unit.


Copyright © 2011 informatica.info. All Rights Reserved.