|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.debug.mi.internal.ui.dialogfields.LayoutUtil
public class LayoutUtil
Constructor Summary | |
---|---|
LayoutUtil()
|
Method Summary | |
---|---|
static void |
doDefaultLayout(org.eclipse.swt.widgets.Composite parent,
DialogField[] editors,
boolean labelOnTop)
Creates a composite and fills in the given editors. |
static void |
doDefaultLayout(org.eclipse.swt.widgets.Composite parent,
DialogField[] editors,
boolean labelOnTop,
int minWidth,
int minHeight)
Creates a composite and fills in the given editors. |
static void |
doDefaultLayout(org.eclipse.swt.widgets.Composite parent,
DialogField[] editors,
boolean labelOnTop,
int minWidth,
int minHeight,
int marginWidth,
int marginHeight)
Deprecated. |
static int |
getNumberOfColumns(DialogField[] editors)
Calculates the number of columns needed by field editors |
static void |
setHeigthHint(org.eclipse.swt.widgets.Control control,
int heigthHint)
Sets the heigthHint hint of a control. |
static void |
setHorizontalGrabbing(org.eclipse.swt.widgets.Control control)
Sets the horizontal indent of a control. |
static void |
setHorizontalIndent(org.eclipse.swt.widgets.Control control,
int horizontalIndent)
Sets the horizontal indent of a control. |
static void |
setHorizontalSpan(org.eclipse.swt.widgets.Control control,
int span)
Sets the span of a control. |
static void |
setWidthHint(org.eclipse.swt.widgets.Control control,
int widthHint)
Sets the width hint of a control. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutUtil()
Method Detail |
---|
public static int getNumberOfColumns(DialogField[] editors)
public static void doDefaultLayout(org.eclipse.swt.widgets.Composite parent, DialogField[] editors, boolean labelOnTop)
labelOnTop
- Defines if the label of all fields should be on top of the fieldspublic static void doDefaultLayout(org.eclipse.swt.widgets.Composite parent, DialogField[] editors, boolean labelOnTop, int minWidth, int minHeight)
labelOnTop
- Defines if the label of all fields should be on top of the fieldsminWidth
- The minimal width of the compositeminHeight
- The minimal height of the compositepublic static void doDefaultLayout(org.eclipse.swt.widgets.Composite parent, DialogField[] editors, boolean labelOnTop, int minWidth, int minHeight, int marginWidth, int marginHeight)
labelOnTop
- Defines if the label of all fields should be on top of the fieldsminWidth
- The minimal width of the compositeminHeight
- The minimal height of the compositemarginWidth
- The margin width to be used by the compositemarginHeight
- The margin height to be used by the compositepublic static void setHorizontalSpan(org.eclipse.swt.widgets.Control control, int span)
public static void setWidthHint(org.eclipse.swt.widgets.Control control, int widthHint)
public static void setHeigthHint(org.eclipse.swt.widgets.Control control, int heigthHint)
public static void setHorizontalIndent(org.eclipse.swt.widgets.Control control, int horizontalIndent)
public static void setHorizontalGrabbing(org.eclipse.swt.widgets.Control control)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |