fi.hut.tml.xsmiles.csslayout.view
Class FloatContainer

java.lang.Object
  extended byfi.hut.tml.xsmiles.csslayout.view.BaseView
      extended byfi.hut.tml.xsmiles.csslayout.view.FloatContainer
All Implemented Interfaces:
View

public class FloatContainer
extends BaseView

Author:
mpohja

Nested Class Summary
 
Nested classes inherited from class fi.hut.tml.xsmiles.csslayout.view.BaseView
BaseView.ViewDimensions
 
Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.csslayout.view.BaseView
absoluteChildViews, absolutePosition, backImage, bgColor, border, childViews, closeFloat, dimensions, domElement, floatLeft, floatRight, hasRelativeHeight, hasRelativeWidth, parent, posX, posY, relativeChildViews, relativePosition, renderer, sizeRequirements, style, visible, zoom
 
Fields inherited from interface fi.hut.tml.xsmiles.csslayout.view.View
X_AXIS, Y_AXIS
 
Constructor Summary
FloatContainer(CSSRenderer r, org.w3c.dom.Node node, View parent)
           
 
Method Summary
 void doLayout()
          do, or redo layout for this and children
 int getMaximumSpan(int axis)
          get maximum span of this view that corresponds to an axis
 void paint(java.awt.Graphics g)
          paints this view
 
Methods inherited from class fi.hut.tml.xsmiles.csslayout.view.BaseView
addAbsoluteChildView, addChildView, addRelativeChildView, addView, calculateIntersection, createChildView, createChildViews, createComponentView, createView, dump, findContainingBlock, getAbsolutePositionX, getAbsolutePositionY, getChildren, getChildView, getCSSRenderer, getDimensions, getDOMElement, getFirstChild, getMinimumSpan, getParentView, getPreferredSpan, getRectangle, getSizeRequirements, getStyle, getText, getViewAtPoint, getViewHeight, getViewWidth, handleRelativeView, hasAbsoluteChildren, hasAbsolutePosition, hasRelativePosition, insertBefore, isInTable, isLeftFloated, isRightFloated, moveChildViews, moveView, notifyViewRemovedRecursively, paintBackground, paintBorder, removeChild, removeChildren, removeFromTree, repaint, repaintDocument, repaintDocument, repaintView, setAbsoluteCoordinates, setAbsolutePosition, setContentHeight, setContentWidth, setMaxContentSize, setParentView, setRelativePosition, setSizeRequirements, setStyle, setViewHeight, setViewWidth, testValue, viewRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatContainer

public FloatContainer(CSSRenderer r,
                      org.w3c.dom.Node node,
                      View parent)
Parameters:
r -
node -
parent -
Method Detail

doLayout

public void doLayout()
do, or redo layout for this and children

Specified by:
doLayout in interface View
Overrides:
doLayout in class BaseView

paint

public void paint(java.awt.Graphics g)
paints this view

Specified by:
paint in interface View
Overrides:
paint in class BaseView

getMaximumSpan

public int getMaximumSpan(int axis)
Description copied from interface: View
get maximum span of this view that corresponds to an axis

Specified by:
getMaximumSpan in interface View
Overrides:
getMaximumSpan in class BaseView


X-Smiles 1.2