|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.internal.execution.recorder.ui.RecorderUIUtility
UI utility for laying out and creating controls
| Nested Class Summary | |
|---|---|
static class |
RecorderUIUtility.RecorderHarnessUIException
exception thrown by the RecorderHarnessUIUtility class when problems occur while createing or laying out various controls. |
| Constructor Summary | |
|---|---|
RecorderUIUtility()
|
|
| Method Summary | |
|---|---|
static void |
assignFormLayout(org.eclipse.swt.widgets.Composite parent)
method for assigning a FormLayoout to a composite |
static void |
assignGridLayout(org.eclipse.swt.widgets.Composite compsite,
int numberColumns,
boolean columnsEqual)
method for assigning a GridLayout to a Composite |
static org.eclipse.swt.widgets.Button |
createButton(org.eclipse.swt.widgets.Composite parent,
java.lang.String text,
int swtOptions)
method for creating a Button by passing a parent composite, button text, and any "or-ed" SWT options. |
static org.eclipse.swt.widgets.Text |
createEditControl(org.eclipse.swt.widgets.Composite parent,
java.lang.String defaultText,
org.eclipse.swt.graphics.Font font)
method for creating an Edit Control |
static org.eclipse.swt.widgets.Group |
createGroup(org.eclipse.swt.widgets.Composite controlArea,
java.lang.String groupDisplayName)
method for creating a group |
static org.eclipse.swt.widgets.Label |
createLabel(org.eclipse.swt.widgets.Composite parent,
java.lang.String labelText,
org.eclipse.swt.graphics.Font font)
method for creating a label |
static void |
layoutCompositelInFormLayout(org.eclipse.swt.widgets.Control composite,
int pixelsToTop,
int verticalSpanPixels,
int leftPercentWidth,
int rightPercentWidth,
int leftBorder,
int bottomBorder,
int topBorder,
int rightBorder)
Utility method for laying out a control in a form layout by specifying percentage-of-parent-width and border regions If the parent of the control is not a FormLayout, an exception will be thrown |
static void |
layoutControlInFormLayout(org.eclipse.swt.widgets.Control control,
int topBorder,
int leftBorder,
int bottomBorder,
int rightBorder)
positions a control in a formlayout using only border specifications |
static void |
layoutControlInGrid(org.eclipse.swt.widgets.Control control,
int columnSpan,
int gridDataOptions)
method for laying out a control in a grid layout by providing columnSpan and any "or'ed" combination of GridData options |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RecorderUIUtility()
| Method Detail |
public static void layoutCompositelInFormLayout(org.eclipse.swt.widgets.Control composite,
int pixelsToTop,
int verticalSpanPixels,
int leftPercentWidth,
int rightPercentWidth,
int leftBorder,
int bottomBorder,
int topBorder,
int rightBorder)
throws RecorderUIUtility.RecorderHarnessUIException
RecorderUIUtility.RecorderHarnessUIException
public static void layoutControlInFormLayout(org.eclipse.swt.widgets.Control control,
int topBorder,
int leftBorder,
int bottomBorder,
int rightBorder)
throws RecorderUIUtility.RecorderHarnessUIException
RecorderUIUtility.RecorderHarnessUIException
public static void layoutControlInGrid(org.eclipse.swt.widgets.Control control,
int columnSpan,
int gridDataOptions)
throws RecorderUIUtility.RecorderHarnessUIException
RecorderUIUtility.RecorderHarnessUIExceptionpublic static void assignFormLayout(org.eclipse.swt.widgets.Composite parent)
public static void assignGridLayout(org.eclipse.swt.widgets.Composite compsite,
int numberColumns,
boolean columnsEqual)
public static org.eclipse.swt.widgets.Label createLabel(org.eclipse.swt.widgets.Composite parent,
java.lang.String labelText,
org.eclipse.swt.graphics.Font font)
public static org.eclipse.swt.widgets.Text createEditControl(org.eclipse.swt.widgets.Composite parent,
java.lang.String defaultText,
org.eclipse.swt.graphics.Font font)
public static org.eclipse.swt.widgets.Group createGroup(org.eclipse.swt.widgets.Composite controlArea,
java.lang.String groupDisplayName)
public static org.eclipse.swt.widgets.Button createButton(org.eclipse.swt.widgets.Composite parent,
java.lang.String text,
int swtOptions)
|
TPTP 4.4.0 Testing Tools Project Internal API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||