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

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.RootView
All Implemented Interfaces:
ContainerView, View

public class RootView
extends BlockView
implements ContainerView

Author:
honkkis

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
RootView(CSSRenderer r, org.w3c.dom.Node node, View parent)
          Creates a new instance of BlockView
 
Method Summary
 void doLayout()
          do, or redo layout for this and children
 java.awt.Container getContainerForDescendants()
           
 boolean hasContainer()
           
 void paint(java.awt.Graphics g)
          paints this view
 void removeContainerFromView()
          remove the container from the view, for instance, when a parent view becomes invisible
 
Methods inherited from class fi.hut.tml.xsmiles.csslayout.view.BlockView
insideClip
 
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

RootView

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

Method Detail

doLayout

public void doLayout()
Description copied from class: BlockView
do, or redo layout for this and children

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

paint

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

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

hasContainer

public boolean hasContainer()
Specified by:
hasContainer in interface ContainerView

getContainerForDescendants

public java.awt.Container getContainerForDescendants()
Specified by:
getContainerForDescendants in interface ContainerView

removeContainerFromView

public void removeContainerFromView()
Description copied from interface: ContainerView
remove the container from the view, for instance, when a parent view becomes invisible

Specified by:
removeContainerFromView in interface ContainerView


X-Smiles 1.2