swing2swt.layout
Class BorderLayout
java.lang.Object
Layout
swing2swt.layout.AWTLayout
swing2swt.layout.BorderLayout
public class BorderLayout
- extends AWTLayout
Port of AWT BorderLayout to SWT.
- Author:
- Yannick Saillet
Method Summary |
protected Point |
computeSize(Composite composite,
int wHint,
int hHint,
boolean flushCache)
|
int |
getHgap()
|
int |
getVgap()
|
protected void |
layout(Composite composite,
boolean flushCache)
|
void |
setHgap(int hgap)
|
void |
setVgap(int vgap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CENTER
public static final String CENTER
- See Also:
- Constant Field Values
EAST
public static final String EAST
- See Also:
- Constant Field Values
NORTH
public static final String NORTH
- See Also:
- Constant Field Values
SOUTH
public static final String SOUTH
- See Also:
- Constant Field Values
WEST
public static final String WEST
- See Also:
- Constant Field Values
BorderLayout
public BorderLayout()
BorderLayout
public BorderLayout(int hgap,
int vgap)
computeSize
protected Point computeSize(Composite composite,
int wHint,
int hHint,
boolean flushCache)
layout
protected void layout(Composite composite,
boolean flushCache)
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.