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

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

public abstract class FloatingBox
extends AbstractCSSBox
implements NonStaticallyPositioned

Box that floats.


Method Summary
 void computeDimension()
           
 void computeDimension(float preferredMinimumWidth, float preferredWidth)
           
 float getHeight()
          Gets the height of this box.
 float getWidth()
          Gets the width of this box.
 
Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractCSSBox
getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainingBlock, getFontFamily, getFontSize, getFontWeight, getGeneratedSibling, getLeading, getLeading, getLeft, getLineHeight, getLineHeight, getLineHeightCSSValue, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getRight, setContainingBlock, setErrorHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

computeDimension

public void computeDimension()
Specified by:
computeDimension in interface NonStaticallyPositioned

computeDimension

public void computeDimension(float preferredMinimumWidth,
                             float preferredWidth)

getWidth

public float getWidth()
Description copied from class: AbstractCSSBox
Gets the width of this box.

This is defined to be the value of the width property, for boxes where it is defined, or the content width otherwise.

Returns:
the width of this box.

getHeight

public float getHeight()
Description copied from class: AbstractCSSBox
Gets the height of this box.

This is defined to be the value of the height property, for boxes where it is defined, or the content height otherwise.

Returns:
the height of this box.