com.ibm.etools.iseries.edit.utils
Class SWTHelperUtil
java.lang.Object
com.ibm.etools.iseries.edit.utils.SWTHelperUtil
public class SWTHelperUtil
- extends Object
Method Summary |
static int |
findComboItemIndex(Combo combo,
String item)
|
static GridData |
gridData(boolean fillHorizontal,
boolean fillVertical,
int horizontalSpan)
|
static GridData |
gridData(boolean fillHorizontal,
boolean fillVertical,
int horizontalSpan,
int widthHint)
|
static GridData |
gridData(int horizontalSpan)
|
static GridData |
gridData(int verticalSpan,
boolean fillHorizontal,
boolean fillVertical)
|
static GridData |
gridData(int verticalSpan,
boolean fillHorizontal,
boolean fillVertical,
int horizontalSpan)
|
static GridLayout |
gridLayout(int numberOfColumns,
int marginWidth,
int marginHeight)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
SWTHelperUtil
public SWTHelperUtil()
gridLayout
public static GridLayout gridLayout(int numberOfColumns,
int marginWidth,
int marginHeight)
- Parameters:
numberOfColumns
- marginWidth
- marginHeight
-
gridData
public static GridData gridData(int horizontalSpan)
- Parameters:
horizontalSpan
-
gridData
public static GridData gridData(boolean fillHorizontal,
boolean fillVertical,
int horizontalSpan)
- Parameters:
fillHorizontal
- fillVertical
- horizontalSpan
-
gridData
public static GridData gridData(int verticalSpan,
boolean fillHorizontal,
boolean fillVertical)
- Parameters:
verticalSpan
- fillHorizontal
- fillVertical
-
- Returns:
gridData
public static GridData gridData(boolean fillHorizontal,
boolean fillVertical,
int horizontalSpan,
int widthHint)
- Parameters:
fillHorizontal
- fillVertical
- horizontalSpan
- widthHint
-
gridData
public static GridData gridData(int verticalSpan,
boolean fillHorizontal,
boolean fillVertical,
int horizontalSpan)
- Parameters:
verticalSpan
- fillHorizontal
- fillVertical
- horizontalSpan
-
- Returns:
findComboItemIndex
public static int findComboItemIndex(Combo combo,
String item)
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.