public class PadFinder
extends java.lang.Object
FillLayout
and GridLayout
.Constructor and Description |
---|
PadFinder()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
computeBottomPad(org.eclipse.swt.widgets.Layout layout)
Computes the padding on the bottom side of the specified layout.
|
int |
computeLeftPad(org.eclipse.swt.widgets.Layout layout)
Computes the padding on the left side of the specified layout.
|
int |
computeRightPad(org.eclipse.swt.widgets.Layout layout)
Computes the padding on the right side of the specified layout.
|
int |
computeTopPad(org.eclipse.swt.widgets.Layout layout)
Computes the padding on the top side of the specified layout.
|
public int computeLeftPad(org.eclipse.swt.widgets.Layout layout)
layout
- The layout whose left padding should be computed.public int computeRightPad(org.eclipse.swt.widgets.Layout layout)
layout
- The layout whose right padding should be computed.public int computeTopPad(org.eclipse.swt.widgets.Layout layout)
layout
- The layout whose top padding should be computed.public int computeBottomPad(org.eclipse.swt.widgets.Layout layout)
layout
- The layout whose bottom padding should be computed.