org.jzuul.gdk.swt
Class Util

java.lang.Object
  extended byorg.jzuul.gdk.swt.Util

public class Util
extends Object

This class provides some tool functions for the gui, as centering the window


Constructor Summary
Util()
           
 
Method Summary
static org.eclipse.swt.graphics.RGB awtColorToRGB(Color color)
           
static void centerWindow(org.eclipse.swt.widgets.Shell shell)
           
static org.eclipse.swt.graphics.Image getImagefromResource(org.eclipse.swt.widgets.Display display, String resName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

centerWindow

public static void centerWindow(org.eclipse.swt.widgets.Shell shell)

getImagefromResource

public static org.eclipse.swt.graphics.Image getImagefromResource(org.eclipse.swt.widgets.Display display,
                                                                  String resName)

awtColorToRGB

public static org.eclipse.swt.graphics.RGB awtColorToRGB(Color color)


Copyright © 2004 JZuul.org All Rights Reserved.
This documentation may be distributed and/or modified under the terms of the FDL