public class BorderLayout extends AWTLayout
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CENTER |
static java.lang.String |
EAST |
static java.lang.String |
NORTH |
static java.lang.String |
SOUTH |
static java.lang.String |
WEST |
KEY_PREFERRED_SIZE
Constructor and Description |
---|
BorderLayout() |
BorderLayout(int hgap,
int vgap) |
Modifier and Type | Method and Description |
---|---|
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) |
getPreferredSize
flushCache
public static final java.lang.String CENTER
public static final java.lang.String EAST
public static final java.lang.String NORTH
public static final java.lang.String SOUTH
public static final java.lang.String WEST
public BorderLayout()
public BorderLayout(int hgap, int vgap)
protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache)
computeSize
in class Layout
protected void layout(Composite composite, boolean flushCache)
public int getHgap()
public void setHgap(int hgap)
hgap
- The hgap to set.public int getVgap()
public void setVgap(int vgap)
vgap
- The vgap to set.