|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayoutProvider
By providing an own implementation, the layout of the application can be influenced.
Method Summary | |
---|---|
org.eclipse.swt.widgets.Layout |
getColumnLayout(int numColumns,
boolean equalWidth)
The Layout for aligning controls vertically in columns. |
Object |
getLayoutData(SWTGridCell gridCell,
SWTGridDescription controlGridDescription,
SWTGridDescription currentRowGridDescription,
SWTGridDescription fullGridDescription,
VElement vElement,
org.eclipse.swt.widgets.Control control)
The LayoutData to use. |
Object |
getSpanningLayoutData(int spanX,
int spanY)
A simple spanning Layout. |
Method Detail |
---|
org.eclipse.swt.widgets.Layout getColumnLayout(int numColumns, boolean equalWidth)
numColumns
- the number of columns to createequalWidth
- whether the columns should be equal width
Object getLayoutData(SWTGridCell gridCell, SWTGridDescription controlGridDescription, SWTGridDescription currentRowGridDescription, SWTGridDescription fullGridDescription, VElement vElement, org.eclipse.swt.widgets.Control control)
gridCell
- the current SWTGridCell
controlGridDescription
- the SWTGridDescription
of the rendered VElement
currentRowGridDescription
- the SWTGridDescription
of the current rowfullGridDescription
- the SWTGridDescription
of the whole containervElement
- the VElement
which is currently renderedcontrol
- the rendered Control
Object getSpanningLayoutData(int spanX, int spanY)
spanX
- the horizontal spanspanY
- the vertical span
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |