Eclipse Draw2d
2.1

org.eclipse.draw2d.text
Class PageFlowLayout

java.lang.Object
  |
  +--org.eclipse.draw2d.AbstractLayout
        |
        +--org.eclipse.draw2d.text.FlowFigureLayout
              |
              +--org.eclipse.draw2d.text.FlowContainerLayout
                    |
                    +--org.eclipse.draw2d.text.BlockFlowLayout
                          |
                          +--org.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
 
Fields inherited from class org.eclipse.draw2d.text.FlowFigureLayout
context, invalid
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
preferredSize
 
Constructor Summary
PageFlowLayout(FlowPage page)
          Creates a new PageFlowLayout with the given FlowPage
 
Method Summary
protected  void endBlock()
          Called by flush(), adds the BlockBox associated with this BlockFlowLayout to the current line and then ends the line.
 void postValidate()
          TODO: This method is not being called.
protected  void setupBlock()
          Setup blockBox to the initial bounds of the Page
 
Methods inherited from class org.eclipse.draw2d.text.BlockFlowLayout
cleanup, createNewLine, endLine, flush, getBlockFlow, getCurrentY, layoutChildren, layoutLine, preLayout, setupLine
 
Methods inherited from class org.eclipse.draw2d.text.FlowContainerLayout
addToCurrentLine, getCurrentLine, isCurrentLineOccupied, layout
 
Methods inherited from class org.eclipse.draw2d.text.FlowFigureLayout
calculatePreferredSize, getFlowFigure, invalidate, layout, setFlowContext
 
Methods inherited from class org.eclipse.draw2d.AbstractLayout
calculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, remove, setConstraint
 
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

endBlock

protected void endBlock()
Description copied from class: BlockFlowLayout
Called by flush(), adds the BlockBox associated with this BlockFlowLayout to the current line and then ends the line.

Overrides:
endBlock in class BlockFlowLayout
See Also:
BlockFlowLayout.endBlock()

postValidate

public void postValidate()
TODO: This method is not being called.


setupBlock

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

Overrides:
setupBlock in class BlockFlowLayout

Eclipse Draw2d
2.1

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