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

java.lang.Object
  extended by info.informatica.doc.style.css.visual.box.AbstractCSSBox
      extended by info.informatica.doc.style.css.visual.box.AbstractBlockBox
          extended by info.informatica.doc.style.css.visual.box.BlockBox
All Implemented Interfaces:
CSSBox, CSSContainerBox
Direct Known Subclasses:
AbsolutelyPositionedBox, ListItemBox, RunInBox, TableCellBox

public class BlockBox
extends AbstractBlockBox
implements CSSContainerBox

CSS Block box.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
BlockBox(CSS2ComputedProperties style)
           
 
Method Summary
 CSSBoxContainer asContainerBox()
          Retrieve the box container object.
protected  float computeAutoHeight(float containerWidth)
           
 void setBoxContainer(CSSBoxContainer boxContainer)
           
 
Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractBlockBox
automaticLeftMargin, automaticRightMargin, computeMarginSubproperty, computeScrollbarWidth, getHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getWidth
 
Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractCSSBox
computeNumberOrZero, computeNumberOrZero, getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainerWidth, getContainingBlock, getCSSValue, getErrorHandler, getFontFamily, getFontSize, getFontWeight, getGeneratedSibling, getLeading, getLeading, getLeft, getLineHeight, getLineHeight, getLineHeightCSSValue, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingSubproperty, getPaddingTop, getRight, isContainerHeightAuto, isHeightAuto, isWidthAuto, overflowsWithScroll, setContainingBlock, setErrorHandler, shrinkToFit, textLengthToNaturalUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.informatica.doc.style.css.visual.CSSContainerBox
getHeight, getWidth
 
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
 

Constructor Detail

BlockBox

public BlockBox(CSS2ComputedProperties style)
Method Detail

setBoxContainer

public void setBoxContainer(CSSBoxContainer boxContainer)
Specified by:
setBoxContainer in interface CSSContainerBox

asContainerBox

public CSSBoxContainer asContainerBox()
Description copied from interface: CSSContainerBox
Retrieve the box container object.

Specified by:
asContainerBox in interface CSSContainerBox
Returns:
the box container with the child boxes.

computeAutoHeight

protected float computeAutoHeight(float containerWidth)
Specified by:
computeAutoHeight in class AbstractBlockBox


Copyright © 2011 informatica.info. All Rights Reserved.