Class AbsoluteLayout
java.lang.Object
org.eclipse.swt.widgets.Layout
org.eclipse.nebula.widgets.compositetable.AbsoluteLayout
public class AbsoluteLayout
extends org.eclipse.swt.widgets.Layout
A layout manager that lays out child controls in absolute positions.
Each control's bounds is specified by setting an SWT Rectangle
object specifying the control's bounds into the control's layout data.
Use this layout manager whenever you would have used a null layout previously.
- Since:
- 3.3
-
Constructor Summary
Constructors Constructor Description AbsoluteLayout()
-
Method Summary
Modifier and Type Method Description protected org.eclipse.swt.graphics.Point
computeSize(org.eclipse.swt.widgets.Composite composite, int wHint, int hHint, boolean flush)
protected void
layout(org.eclipse.swt.widgets.Composite composite, boolean flush)
-
Constructor Details
-
AbsoluteLayout
public AbsoluteLayout()
-
-
Method Details
-
computeSize
protected org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite, int wHint, int hHint, boolean flush)- Specified by:
computeSize
in classorg.eclipse.swt.widgets.Layout
-
layout
protected void layout(org.eclipse.swt.widgets.Composite composite, boolean flush)- Specified by:
layout
in classorg.eclipse.swt.widgets.Layout
-