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

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

public class PreView
extends ParagraphView

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
PreView(CSSRenderer r, org.w3c.dom.Node node, View parent)
          Creates a new instance of PreView
 
Method Summary
protected  void insertRows(java.util.Vector content)
           
protected  java.util.Vector splitToViews(int width, View view)
          Divides text view to several views according to line breaks.
 
Methods inherited from class fi.hut.tml.xsmiles.csslayout.view.ParagraphView
doLayout, drawBorder, getOriginalViews, insertRow, paint, setIndent
 
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

PreView

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

Method Detail

splitToViews

protected java.util.Vector splitToViews(int width,
                                        View view)
Divides text view to several views according to line breaks.

Overrides:
splitToViews in class ParagraphView

insertRows

protected void insertRows(java.util.Vector content)
Overrides:
insertRows in class ParagraphView


X-Smiles 1.2