Package swing2swt.layout
Class AWTLayout
- java.lang.Object
-
- org.eclipse.swt.widgets.Layout
-
- swing2swt.layout.AWTLayout
-
- Direct Known Subclasses:
BorderLayout
public abstract class AWTLayout extends Layout
Superclass for all the AWT layouts ported to SWT.
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_PREFERRED_SIZE
Key under which an eventual preferred size (set with setPreferredSize) is stored as a user data in the SWT control.
-
Constructor Summary
Constructors Constructor Description AWTLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Point
getPreferredSize(Control control, int wHint, int hHint, boolean changed)
Gets the preferred size of a component.-
Methods inherited from class org.eclipse.swt.widgets.Layout
computeSize, flushCache, layout
-
-
-
-
Field Detail
-
KEY_PREFERRED_SIZE
public static final String KEY_PREFERRED_SIZE
Key under which an eventual preferred size (set with setPreferredSize) is stored as a user data in the SWT control.- See Also:
- Constant Field Values
-
-