| java.lang.Object org.terracotta.ui.util.SWTUtil
SWTUtil | final public class SWTUtil (Code) | | |
Method Summary | |
public static void | applyDefaultButtonSize(Button button) | public static Control | getAncestorOfClass(Class clazz, Control comp) | public static void | makeIntField(Text text) | public static void | makeTableColumnsEditable(Table table, int[] indices) | public static void | makeTableColumnsResizeEqualWidth(Composite tablePanel, Table table) | public static void | makeTableColumnsResizeWeightedWidth(Composite tablePanel, Table table, int[] columnWeights) | public static void | makeTableComboItem(Table table, int column, String[] values) | public static void | placeDialogInCenter(Shell parent, Shell shell) | public static void | setBGColorRecurse(Color color, Control control) | public static int | tableRowsToPixels(Table table, int rows) | public static int | textColumnsToPixels(Control control, int columns) | public static int | textRowsToPixels(Control control, int rows) |
applyDefaultButtonSize | public static void applyDefaultButtonSize(Button button)(Code) | | |
getAncestorOfClass | public static Control getAncestorOfClass(Class clazz, Control comp)(Code) | | |
makeIntField | public static void makeIntField(Text text)(Code) | | |
makeTableColumnsEditable | public static void makeTableColumnsEditable(Table table, int[] indices)(Code) | | |
makeTableColumnsResizeEqualWidth | public static void makeTableColumnsResizeEqualWidth(Composite tablePanel, Table table)(Code) | | |
makeTableColumnsResizeWeightedWidth | public static void makeTableColumnsResizeWeightedWidth(Composite tablePanel, Table table, int[] columnWeights)(Code) | | |
makeTableComboItem | public static void makeTableComboItem(Table table, int column, String[] values)(Code) | | |
placeDialogInCenter | public static void placeDialogInCenter(Shell parent, Shell shell)(Code) | | |
setBGColorRecurse | public static void setBGColorRecurse(Color color, Control control)(Code) | | |
tableRowsToPixels | public static int tableRowsToPixels(Table table, int rows)(Code) | | |
textColumnsToPixels | public static int textColumnsToPixels(Control control, int columns)(Code) | | |
textRowsToPixels | public static int textRowsToPixels(Control control, int rows)(Code) | | |
|
|