Package org.eclipse.draw2d.text
Class FlowFigureLayout
java.lang.Object
org.eclipse.draw2d.text.FlowFigureLayout
- All Implemented Interfaces:
- LayoutManager
- Direct Known Subclasses:
- FlowContainerLayout,- TextLayout
A LayoutManager for use with FlowFigure.
 
WARNING: This class is not intended to be subclassed by clients.
- Since:
- 2.1
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedFlowFigureLayout(FlowFigure flowfigure) Constructs a new FlowFigureLayout with the given FlowFigure.
- 
Method SummaryModifier and TypeMethodDescriptiongetConstraint(IFigure child) Not applicable.protected FlowContextReturns this layout's context ornull.protected FlowFiguregetMinimumSize(IFigure container, int wHint, int hHint) Not applicable.getPreferredSize(IFigure container, int wHint, int hHint) Not applicable.voidNot applicable.protected abstract voidlayout()Called duringlayout(IFigure).final voidLays out the given figure.voidNot applicable.voidsetConstraint(IFigure child, Object constraint) Not applicable.voidsetFlowContext(FlowContext flowContext) Sets the context for this layout manager.
- 
Constructor Details- 
FlowFigureLayoutConstructs a new FlowFigureLayout with the given FlowFigure.- Parameters:
- flowfigure- the FlowFigure
 
 
- 
- 
Method Details- 
getConstraintNot applicable.- Specified by:
- getConstraintin interface- LayoutManager
- Parameters:
- child- The figure
- Returns:
- The constraint
- See Also:
 
- 
getContextReturns this layout's context ornull.- Returns:
- nullor a context
- Since:
- 3.1
 
- 
getFlowFigure- Returns:
- the FlowFigure
 
- 
getMinimumSizeNot applicable.- Specified by:
- getMinimumSizein interface- LayoutManager
- Parameters:
- container- The Figure
- wHint- the width hint
- hHint- the height hint
- Returns:
- The minimum size
- See Also:
 
- 
getPreferredSizeNot applicable.- Specified by:
- getPreferredSizein interface- LayoutManager
- Parameters:
- container- The figure
- wHint- The width hint
- hHint- The height hint
- Returns:
- The preferred size
- See Also:
 
- 
invalidatepublic void invalidate()Not applicable.- Specified by:
- invalidatein interface- LayoutManager
- See Also:
 
- 
layoutprotected abstract void layout()Called duringlayout(IFigure).
- 
layoutDescription copied from interface:LayoutManagerLays out the given figure.- Specified by:
- layoutin interface- LayoutManager
- Parameters:
- figure- The figure
- See Also:
 
- 
removeNot applicable.- Specified by:
- removein interface- LayoutManager
- Parameters:
- child- the child being remoced
- See Also:
 
- 
setConstraintNot applicable.- Specified by:
- setConstraintin interface- LayoutManager
- Parameters:
- child- The figure
- constraint- The constraint
- See Also:
 
- 
setFlowContextSets the context for this layout manager.- Parameters:
- flowContext- the context of this layout
 
 
-