Package swing2swt.layout
Class BorderLayout
java.lang.Object
org.eclipse.swt.widgets.Layout
swing2swt.layout.AWTLayout
swing2swt.layout.BorderLayout
Port of AWT BorderLayout to SWT.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from class swing2swt.layout.AWTLayout
KEY_PREFERRED_SIZE
-
Constructor Summary
-
Method Summary
Methods inherited from class swing2swt.layout.AWTLayout
getPreferredSize
Methods inherited from class org.eclipse.swt.widgets.Layout
flushCache
-
Field Details
-
CENTER
- See Also:
-
EAST
- See Also:
-
NORTH
- See Also:
-
SOUTH
- See Also:
-
WEST
- See Also:
-
-
Constructor Details
-
BorderLayout
public BorderLayout() -
BorderLayout
public BorderLayout(int hgap, int vgap)
-
-
Method Details
-
computeSize
- Specified by:
computeSize
in classLayout
-
layout
-
getHgap
public int getHgap()- Returns:
- Returns the hgap.
-
setHgap
public void setHgap(int hgap) - Parameters:
hgap
- The hgap to set.
-
getVgap
public int getVgap()- Returns:
- Returns the vgap.
-
setVgap
public void setVgap(int vgap) - Parameters:
vgap
- The vgap to set.
-