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

java.lang.Object
  extended by info.informatica.doc.style.css.visual.box.AbstractCSSBox
      extended by info.informatica.doc.style.css.visual.box.FloatingBox
          extended by info.informatica.doc.style.css.visual.box.FloatingBlockBox
All Implemented Interfaces:
CSSBox, CSSContainerBox, NonStaticallyPositioned

public class FloatingBlockBox
extends FloatingBox
implements CSSContainerBox

A floating box that contains other boxes.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
FloatingBlockBox(CSS2ComputedProperties style)
           
 
Method Summary
 CSSBoxContainer asContainerBox()
          Retrieve the box container object.
protected  float computeAutoHeight(float containerWidth)
           
 void computeDimension()
           
 void setBoxContainer(CSSBoxContainer boxContainer)
           
 
Methods inherited from class info.informatica.doc.style.css.visual.box.FloatingBox
computeDimension, getHeight, 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, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, 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

FloatingBlockBox

public FloatingBlockBox(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.

computeDimension

public void computeDimension()
Specified by:
computeDimension in interface NonStaticallyPositioned
Overrides:
computeDimension in class FloatingBox

computeAutoHeight

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


Copyright © 2011 informatica.info. All Rights Reserved.