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

java.lang.Object
  extended byfi.hut.tml.xsmiles.csslayout.view.BaseView
      extended byfi.hut.tml.xsmiles.csslayout.view.ParagraphView
All Implemented Interfaces:
View
Direct Known Subclasses:
PreView

public class ParagraphView
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
ParagraphView(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
 void drawBorder(java.awt.Graphics g)
           
 java.util.Vector getOriginalViews()
           
protected  void insertRow(View view)
           
protected  void insertRows(java.util.Vector content)
           
 void paint(java.awt.Graphics g)
          paints this view
 void setIndent(int i)
           
protected  java.util.Vector splitToViews(int width, View view)
          Divides text view to several views to fit in the containing block.
 
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

ParagraphView

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

Method Detail

getOriginalViews

public java.util.Vector getOriginalViews()

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

setIndent

public void setIndent(int i)

drawBorder

public void drawBorder(java.awt.Graphics g)

splitToViews

protected java.util.Vector splitToViews(int width,
                                        View view)
Divides text view to several views to fit in the containing block.


insertRows

protected void insertRows(java.util.Vector content)

insertRow

protected void insertRow(View view)


X-Smiles 1.2