Eclipse Draw2d
3.0

org.eclipse.draw2d.text
Class PageFlowLayout

java.lang.Object
  extended byorg.eclipse.draw2d.text.FlowFigureLayout
      extended byorg.eclipse.draw2d.text.FlowContainerLayout
          extended byorg.eclipse.draw2d.text.BlockFlowLayout
              extended byorg.eclipse.draw2d.text.PageFlowLayout
All Implemented Interfaces:
FlowContext, LayoutManager

public class PageFlowLayout
extends BlockFlowLayout

A block layout which requires no FlowContext to perform its layout. This class is used by FlowPage.

WARNING: This class is not intended to be subclassed by clients.


Field Summary
 
Fields inherited from class org.eclipse.draw2d.text.FlowContainerLayout
currentLine
 
Constructor Summary
PageFlowLayout(FlowPage page)
          Creates a new PageFlowLayout with the given FlowPage
 
Method Summary
protected  void setupBlock()
          Setup blockBox to the initial bounds of the Page
 
Methods inherited from class org.eclipse.draw2d.text.BlockFlowLayout
blockContentsChanged, cleanup, createNewLine, endBlock, endLine, flush, getBlockFlow, getContinueOnSameLine, getCurrentY, layoutLine, preLayout, setContinueOnSameLine, setupLine
 
Methods inherited from class org.eclipse.draw2d.text.FlowContainerLayout
addToCurrentLine, getCurrentLine, getWordWidthFollowing, isCurrentLineOccupied, layout, layoutChildren
 
Methods inherited from class org.eclipse.draw2d.text.FlowFigureLayout
getConstraint, getContext, getFlowFigure, getMinimumSize, getPreferredSize, invalidate, layout, remove, setConstraint, setFlowContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageFlowLayout

public PageFlowLayout(FlowPage page)
Creates a new PageFlowLayout with the given FlowPage

Parameters:
page - the FlowPage
Method Detail

setupBlock

protected void setupBlock()
Setup blockBox to the initial bounds of the Page

Overrides:
setupBlock in class BlockFlowLayout

Eclipse Draw2d
3.0

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.