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

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

public class InlineView
extends BlockView

This view is for inline elements, who don't have their own view (e.g. links). Note: text, images, and components have their own view.

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
InlineView(CSSRenderer r, org.w3c.dom.Node node, View parent)
          Creates a new instance of InlineView
 
Method Summary
 void calculateSize()
           
 void doLayout()
          do, or redo layout for this and children
 
Methods inherited from class fi.hut.tml.xsmiles.csslayout.view.BlockView
insideClip, paint
 
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, getMaximumSpan, 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

InlineView

public InlineView(CSSRenderer r,
                  org.w3c.dom.Node node,
                  View parent)
Creates a new instance of InlineView

Method Detail

doLayout

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

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

calculateSize

public void calculateSize()


X-Smiles 1.2