org.topbraidcomposer.ui.layout
Class WidgetLayout
java.lang.Object
org.eclipse.swt.widgets.Layout
org.topbraidcomposer.ui.layout.WidgetLayout
- Direct Known Subclasses:
- VerticalLayout
public class WidgetLayout
- extends org.eclipse.swt.widgets.Layout
|
Method Summary |
protected org.eclipse.swt.graphics.Point |
computeSize(org.eclipse.swt.widgets.Composite composite,
int wHint,
int hHint,
boolean flushCache)
|
protected boolean |
flushCache(org.eclipse.swt.widgets.Control control)
|
protected void |
layout(org.eclipse.swt.widgets.Composite composite,
boolean flushCache)
|
void |
setMargin(int value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bottomMargin
public int bottomMargin
horizontalSpacing
public int horizontalSpacing
leftMargin
public int leftMargin
numColumns
public int numColumns
rightMargin
public int rightMargin
topMargin
public int topMargin
verticalSpacing
public int verticalSpacing
WidgetLayout
public WidgetLayout()
WidgetLayout
public WidgetLayout(int numColumns)
computeSize
protected org.eclipse.swt.graphics.Point computeSize(org.eclipse.swt.widgets.Composite composite,
int wHint,
int hHint,
boolean flushCache)
- Specified by:
computeSize in class org.eclipse.swt.widgets.Layout
flushCache
protected boolean flushCache(org.eclipse.swt.widgets.Control control)
- Overrides:
flushCache in class org.eclipse.swt.widgets.Layout
layout
protected void layout(org.eclipse.swt.widgets.Composite composite,
boolean flushCache)
- Specified by:
layout in class org.eclipse.swt.widgets.Layout
setMargin
public void setMargin(int value)