info.informatica.doc.style.css.visual
Interface CSSContainerBox

All Superinterfaces:
CSSBox
All Known Subinterfaces:
CSSTableCellBox
All Known Implementing Classes:
AbsolutelyPositionedBox, BlockBox, FloatingBlockBox, InlineTable, ListItemBox, RunInBox, Table, TableCellBox

public interface CSSContainerBox
extends CSSBox

A box that acts as a container for other boxes.

Author:
Carlos Amengual (amengual at informatica.info)

Method Summary
 CSSBoxContainer asContainerBox()
          Retrieve the box container object.
 float getHeight()
          Gets the computed height of this box, expressed in the unit given by the StyleDatabase.getNaturalUnit() method.
 float getWidth()
          Gets the computed width of this box, expressed in the unit given by the StyleDatabase.getNaturalUnit() method.
 void setBoxContainer(CSSBoxContainer container)
           
 
Methods inherited from interface info.informatica.doc.style.css.visual.CSSBox
getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainingBlock, getGeneratedSibling, getLeft, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getRight, setErrorHandler
 

Method Detail

setBoxContainer

void setBoxContainer(CSSBoxContainer container)

asContainerBox

CSSBoxContainer asContainerBox()
Retrieve the box container object.

Returns:
the box container with the child boxes.

getWidth

float getWidth()
Gets the computed width of this box, expressed in the unit given by the StyleDatabase.getNaturalUnit() method.

Returns:
the width of this box.

getHeight

float getHeight()
Gets the computed height of this box, expressed in the unit given by the StyleDatabase.getNaturalUnit() method.

Returns:
the height of this box.


Copyright © 2011 informatica.info. All Rights Reserved.