Package org.eclipse.draw2d
Class DelegatingLayout
java.lang.Object
org.eclipse.draw2d.AbstractLayout
org.eclipse.draw2d.AbstractConstraintLayout
org.eclipse.draw2d.DelegatingLayout
- All Implemented Interfaces:
- LayoutManager
- 
Field SummaryFields inherited from class org.eclipse.draw2d.AbstractConstraintLayoutconstraintsFields inherited from class org.eclipse.draw2d.AbstractLayoutisObservingVisibility, preferredSize
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected DimensioncalculatePreferredSize(IFigure parent, int wHint, int hHint) Calculates the preferred size of the given Figure.voidLays out the given figure's children based on theirLocatorconstraint.voidRemoves the locator for the given figure.Methods inherited from class org.eclipse.draw2d.AbstractConstraintLayoutgetConstraint, setConstraintMethods inherited from class org.eclipse.draw2d.AbstractLayoutcalculatePreferredSize, getBorderPreferredSize, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, invalidate, isObservingVisibility, setObserveVisibility
- 
Constructor Details- 
DelegatingLayoutpublic DelegatingLayout()
 
- 
- 
Method Details- 
calculatePreferredSizeCalculates the preferred size of the given Figure. For the DelegatingLayout, this is the largest width and height values of the passed Figure's children.- Specified by:
- calculatePreferredSizein class- AbstractLayout
- Parameters:
- parent- the figure whose preferred size is being calculated
- wHint- the width hint
- hHint- the height hint
- Returns:
- the preferred size
- Since:
- 2.0
 
- 
layoutLays out the given figure's children based on theirLocatorconstraint.- Parameters:
- parent- the figure whose children should be layed out
 
- 
removeRemoves the locator for the given figure.- Specified by:
- removein interface- LayoutManager
- Overrides:
- removein class- AbstractConstraintLayout
- Parameters:
- child- the child being removed
- See Also:
 
 
-