|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectLayout
org.formaria.swt.BorderLayout
public class BorderLayout
The border layout
http://www.java2s.com/ExampleCode/SWT-JFace-Eclipse/ABorderLayout.htm| Field Summary | |
|---|---|
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
|
| Constructor Summary | |
|---|---|
BorderLayout()
|
|
| Method Summary | |
|---|---|
protected Point |
computeSize(Composite composite,
int wHint,
int hHint,
boolean flushCache)
Computes the size for this BorderLayout. |
protected void |
getControls(Composite composite)
This does the work of setting the member data. |
protected Point |
getSize(Control control,
boolean flushCache)
This returns the size of. |
protected void |
layout(Composite composite,
boolean flushCache)
This does the work of laying out our controls. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NORTH
public static final java.lang.String SOUTH
public static final java.lang.String EAST
public static final java.lang.String WEST
public static final java.lang.String CENTER
| Constructor Detail |
|---|
public BorderLayout()
| Method Detail |
|---|
protected Point computeSize(Composite composite,
int wHint,
int hHint,
boolean flushCache)
composite - The composite that contains the controls.wHint - Width hint in pixels for the minimum width.hHint - Height hint in pixels for the minimum height.flushCache - If true, flushes any cached values.
protected void layout(Composite composite,
boolean flushCache)
composite - The composite that contains the controls.flushCache - If true, flushes any cached values.
protected Point getSize(Control control,
boolean flushCache)
control - The control component.flushCache - If true, flushes any cached values.protected void getControls(Composite composite)
composite - The composite that contains the controls.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||