Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.utils
Class SWTHelperUtil

java.lang.Object
  extended by com.ibm.etools.iseries.edit.utils.SWTHelperUtil

public class SWTHelperUtil
extends Object


Field Summary
static String copyright
           
 
Constructor Summary
SWTHelperUtil()
           
 
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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SWTHelperUtil

public SWTHelperUtil()
Method Detail

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)

Rational Developer for Power Systems Software
V7.6

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.