|
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.tptp.test.manual.runner.ui.internal.util.SWTUtilities
SWT utilities.
| Constructor Summary | |
|---|---|
SWTUtilities()
|
|
| Method Summary | |
|---|---|
static void |
addAttachmentTableItem(org.eclipse.swt.widgets.Table table,
java.io.File file)
|
static void |
clearImageCache()
|
static org.eclipse.swt.graphics.Image |
getDisabledImage(java.lang.String imageName)
|
static org.eclipse.swt.graphics.Image |
getEnabledImage(java.lang.String imageName)
|
static java.lang.String |
getFileExtension(java.io.File file)
|
static org.eclipse.swt.layout.GridLayout |
getGridLayout(int numColumns,
boolean makeColumnsEqualWidth,
int margin,
int spacing)
|
static org.eclipse.swt.layout.GridLayout |
getGridLayout(int numColumns,
boolean makeColumnsEqualWidth,
int marginWidth,
int marginHeight,
int spacing)
|
static org.eclipse.swt.layout.GridLayout |
getGridLayout(int numColumns,
boolean makeColumnsEqualWidth,
int marginWidth,
int marginHeight,
int horizontalSpacing,
int verticalSpacing)
|
static org.eclipse.swt.layout.GridLayout |
getGridLayout(int numColumns,
int margin,
int spacing)
|
static org.eclipse.swt.graphics.Image |
getImage(java.lang.String imageName)
|
static boolean |
isExpandable(org.eclipse.swt.widgets.TreeItem treeItem)
|
static void |
setEnabled(org.eclipse.swt.widgets.Composite composite,
boolean enabled)
|
static org.eclipse.swt.graphics.Font |
setFontHeight(org.eclipse.swt.graphics.Font font,
int height)
Sets the height of the font to the height parameter in terms of points, where a point is one seventy-second of an inch. |
static org.eclipse.swt.graphics.Font |
setFontStyle(org.eclipse.swt.graphics.Font font,
int style)
Sets the style of the font to the style parameter which is a bitwise OR of one or more of the SWT
constants NORMAL, BOLD and ITALIC. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SWTUtilities()
| Method Detail |
public static org.eclipse.swt.layout.GridLayout getGridLayout(int numColumns,
int margin,
int spacing)
public static org.eclipse.swt.layout.GridLayout getGridLayout(int numColumns,
boolean makeColumnsEqualWidth,
int margin,
int spacing)
public static org.eclipse.swt.layout.GridLayout getGridLayout(int numColumns,
boolean makeColumnsEqualWidth,
int marginWidth,
int marginHeight,
int spacing)
public static org.eclipse.swt.layout.GridLayout getGridLayout(int numColumns,
boolean makeColumnsEqualWidth,
int marginWidth,
int marginHeight,
int horizontalSpacing,
int verticalSpacing)
public static void addAttachmentTableItem(org.eclipse.swt.widgets.Table table,
java.io.File file)
public static java.lang.String getFileExtension(java.io.File file)
public static void setEnabled(org.eclipse.swt.widgets.Composite composite,
boolean enabled)
public static boolean isExpandable(org.eclipse.swt.widgets.TreeItem treeItem)
public static void clearImageCache()
public static org.eclipse.swt.graphics.Image getDisabledImage(java.lang.String imageName)
public static org.eclipse.swt.graphics.Image getEnabledImage(java.lang.String imageName)
public static org.eclipse.swt.graphics.Image getImage(java.lang.String imageName)
public static org.eclipse.swt.graphics.Font setFontStyle(org.eclipse.swt.graphics.Font font,
int style)
SWT
constants NORMAL, BOLD and ITALIC. All other style bits are
ignored.
style - The new style for this Font.FontData.setStyle(int)
public static org.eclipse.swt.graphics.Font setFontHeight(org.eclipse.swt.graphics.Font font,
int height)
java.lang.IllegalArgumentException - If the height is negative.FontData.setHeight(int)
|
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 | ||||||||||