Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.unibe.iam.scg.archie.utils
Class SWTUtils

java.lang.Object
  extended by ch.unibe.iam.scg.archie.utils.SWTUtils

public class SWTUtils
extends java.lang.Object

SWT Utility class that provides convenience methods for GUI parts. This offers static access to methods that easily create spacers and labels and more.

$Id$


Constructor Summary
SWTUtils()
           
 
Method Summary
static org.eclipse.swt.widgets.Label createLabel(org.eclipse.swt.widgets.Composite parent)
          Convenience method for creating label that fills the entire width of the given parent and whose content is automatically being wrapped on resize.
static org.eclipse.swt.widgets.Label createSeparator(org.eclipse.swt.widgets.Composite parent, int mode)
           
static org.eclipse.swt.widgets.Label createSpacedSeparator(org.eclipse.swt.widgets.Composite parent, int mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTUtils

public SWTUtils()
Method Detail

createSeparator

public static final org.eclipse.swt.widgets.Label createSeparator(org.eclipse.swt.widgets.Composite parent,
                                                                  int mode)
Parameters:
parent -
mode -
Returns:
Label

createSpacedSeparator

public static final org.eclipse.swt.widgets.Label createSpacedSeparator(org.eclipse.swt.widgets.Composite parent,
                                                                        int mode)
Parameters:
parent -
mode -
Returns:
Label

createLabel

public static final org.eclipse.swt.widgets.Label createLabel(org.eclipse.swt.widgets.Composite parent)
Convenience method for creating label that fills the entire width of the given parent and whose content is automatically being wrapped on resize.

Parameters:
parent - Parent composite container that the label is added to.
Returns:
The created label.

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013