Eclipse Draw2d
2.1

org.eclipse.draw2d.text
Class TextLayout

java.lang.Object
  |
  +--org.eclipse.draw2d.AbstractLayout
        |
        +--org.eclipse.draw2d.text.FlowFigureLayout
              |
              +--org.eclipse.draw2d.text.TextLayout
All Implemented Interfaces:
LayoutManager
Direct Known Subclasses:
ParagraphTextLayout, SimpleTextLayout

public abstract class TextLayout
extends FlowFigureLayout

Since:
2.1

Field Summary
 
Fields inherited from class org.eclipse.draw2d.text.FlowFigureLayout
context, invalid
 
Fields inherited from class org.eclipse.draw2d.AbstractLayout
preferredSize
 
Constructor Summary
TextLayout(TextFlow flow)
           
 
Method Summary
protected  TextFragmentBox getFragment(int i, List fragments)
          Reuses an existing TextFragmentBox, or creates a new one.
 
Methods inherited from class org.eclipse.draw2d.text.FlowFigureLayout
calculatePreferredSize, getFlowFigure, invalidate, layout, 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

TextLayout

public TextLayout(TextFlow flow)
Method Detail

getFragment

protected TextFragmentBox getFragment(int i,
                                      List fragments)
Reuses an existing TextFragmentBox, or creates a new one.

Parameters:
i - the index * @param fragments the original list of fragments * @return a TextFragmentBox

Eclipse Draw2d
2.1

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