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

java.lang.Object
  extended byfi.hut.tml.xsmiles.csslayout.view.BaseView
      extended byfi.hut.tml.xsmiles.csslayout.view.BlockView
All Implemented Interfaces:
View
Direct Known Subclasses:
InlineView, ListItemView, RootView, ScrollBlockView, TableView.CellView

public class BlockView
extends BaseView

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
BlockView(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
static boolean insideClip(java.awt.Rectangle clip, View v)
           
 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, 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

BlockView

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

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

insideClip

public static boolean insideClip(java.awt.Rectangle clip,
                                 View v)


X-Smiles 1.2