|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.util.gui.swt.SWTUtils
Contains common SWT specific utility methods.
| Constructor Summary | |
SWTUtils()
|
|
| Method Summary | |
static void |
centerShell(Display display,
Shell shell)
Centers the specified Shell on the given
Display.
|
static boolean |
isDisposed(Widget widget)
Returns true if the specified Widget is
disposed.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SWTUtils()
| Method Detail |
public static boolean isDisposed(Widget widget)
Returns true if the specified Widget is
disposed.
A Widget is considered as disposed if it is either
null or its Widget.isDisposed()
method returns true.
widget - the Widget to verify for disposal
true if the specified Widget is disposed;
false otherwise
public static void centerShell(Display display,
Shell shell)
Centers the specified Shell on the given
Display.
display - the Display to center the
Shell onshell - the Shell to center
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||