Package com._1c.g5.lwt.interop
Class SwtLightLayout
- java.lang.Object
-
- org.eclipse.swt.widgets.Layout
-
- com._1c.g5.lwt.interop.SwtLightLayout
-
public class SwtLightLayout extends org.eclipse.swt.widgets.Layout
Bridges the native SWT layout process into light controls layouting.
-
-
Constructor Summary
Constructors Constructor Description SwtLightLayout(ILightLayout lightLayout)
Instantiates a new SWT light layout.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.graphics.Point
computeSize(org.eclipse.swt.widgets.Composite composite, int wHint, int hHint, boolean flushCache)
protected boolean
flushCache(org.eclipse.swt.widgets.Control control)
protected void
layout(org.eclipse.swt.widgets.Composite composite, boolean flushCache)
-
-
-
Constructor Detail
-
SwtLightLayout
public SwtLightLayout(ILightLayout lightLayout)
Instantiates a new SWT light layout.- Parameters:
lightLayout
- the light layout to bridge the calls to.
-
-
Method Detail
-
computeSize
protected org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite, int wHint, int hHint, boolean flushCache)
- Specified by:
computeSize
in classorg.eclipse.swt.widgets.Layout
-
layout
protected void layout(org.eclipse.swt.widgets.Composite composite, boolean flushCache)
- Specified by:
layout
in classorg.eclipse.swt.widgets.Layout
-
flushCache
protected boolean flushCache(org.eclipse.swt.widgets.Control control)
- Overrides:
flushCache
in classorg.eclipse.swt.widgets.Layout
-
-