edu.mayo.informatics.lexgrid.convert.swt
Class SWTUtility

java.lang.Object
  extended by edu.mayo.informatics.lexgrid.convert.swt.SWTUtility

public class SWTUtility
extends java.lang.Object

Methods to simplify building SWT layouts.

Version:
subversion $Revision: 7198 $ checked in on $Date: 2008-02-15 18:08:36 +0000 (Fri, 15 Feb 2008) $
Author:
Dan Armbrust

Constructor Summary
SWTUtility()
           
 
Method Summary
static org.eclipse.swt.widgets.Label makeLabel(java.lang.String label, org.eclipse.swt.widgets.Composite parent, int gridLayoutParam)
           
static org.eclipse.swt.widgets.Label makeLabel(java.lang.String label, java.lang.String toolTipText, org.eclipse.swt.widgets.Composite parent, int gridLayoutParam)
           
static org.eclipse.swt.widgets.Label makeLabel(java.lang.String label, java.lang.String toolTipText, org.eclipse.swt.widgets.Composite parent, int gridLayoutParam, int widthHint)
           
static void position(org.eclipse.swt.widgets.Control composite, int gridDataParam, int horizontalSpan)
           
static void position(org.eclipse.swt.widgets.Control composite, int gridDataParam, int horizontalSpan, int widthHint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTUtility

public SWTUtility()
Method Detail

makeLabel

public static org.eclipse.swt.widgets.Label makeLabel(java.lang.String label,
                                                      org.eclipse.swt.widgets.Composite parent,
                                                      int gridLayoutParam)

makeLabel

public static org.eclipse.swt.widgets.Label makeLabel(java.lang.String label,
                                                      java.lang.String toolTipText,
                                                      org.eclipse.swt.widgets.Composite parent,
                                                      int gridLayoutParam)

makeLabel

public static org.eclipse.swt.widgets.Label makeLabel(java.lang.String label,
                                                      java.lang.String toolTipText,
                                                      org.eclipse.swt.widgets.Composite parent,
                                                      int gridLayoutParam,
                                                      int widthHint)

position

public static void position(org.eclipse.swt.widgets.Control composite,
                            int gridDataParam,
                            int horizontalSpan,
                            int widthHint)

position

public static void position(org.eclipse.swt.widgets.Control composite,
                            int gridDataParam,
                            int horizontalSpan)

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.