Class CenterLayout
java.lang.Object
org.eclipse.draw2d.AbstractLayout
org.eclipse.nebula.widgets.timeline.layouts.CenterLayout
- All Implemented Interfaces:
org.eclipse.draw2d.LayoutManager
public class CenterLayout
extends org.eclipse.draw2d.AbstractLayout
implements org.eclipse.draw2d.LayoutManager
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CenterLayout() -
Method Summary
Modifier and Type Method Description protected org.eclipse.draw2d.geometry.DimensioncalculatePreferredSize(org.eclipse.draw2d.IFigure container, int wHint, int hHint)voidlayout(org.eclipse.draw2d.IFigure container)Methods inherited from class org.eclipse.draw2d.AbstractLayout
calculatePreferredSize, getBorderPreferredSize, getConstraint, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, invalidate, invalidate, isObservingVisibility, remove, setConstraint, setObserveVisibility
-
Constructor Details
-
CenterLayout
public CenterLayout()
-
-
Method Details
-
layout
public void layout(org.eclipse.draw2d.IFigure container)- Specified by:
layoutin interfaceorg.eclipse.draw2d.LayoutManager
-
calculatePreferredSize
protected org.eclipse.draw2d.geometry.Dimension calculatePreferredSize(org.eclipse.draw2d.IFigure container, int wHint, int hHint)- Specified by:
calculatePreferredSizein classorg.eclipse.draw2d.AbstractLayout
-