org.eclipse.draw2d.text
Class PageFlowLayout

java.lang.Object
  extended byorg.eclipse.draw2d.AbstractLayout
      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
 
Fields inherited from class org.eclipse.draw2d.text.FlowFigureLayout
context, invalid
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
isObservingVisibility, 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, layoutLine, preLayout, setupLine
 
Methods inherited from class org.eclipse.draw2d.text.FlowContainerLayout
addToCurrentLine, getCurrentLine, isCurrentLineOccupied, layout, layoutChildren
 
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, isObservingVisibility, remove, setConstraint, setObserveVisibility
 
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