|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dsto.dfc.swt.win32.Windows
public final class Windows
SWT Win32 access routines.
Field Summary | |
---|---|
protected static int |
dockedPosition
|
protected static org.eclipse.swt.widgets.Shell |
dockedWindow
|
protected static dsto.dfc.swt.win32.Windows.DockedWindowListener |
dockedWindowListener
|
protected static org.eclipse.swt.widgets.Shell |
messageWindow
|
Method Summary | |
---|---|
static void |
desktopDock(org.eclipse.swt.widgets.Shell window,
int position,
int width,
int height)
Dock a window with the Windows desktop. |
static void |
desktopUndock(org.eclipse.swt.widgets.Shell window)
Undock a previously docked window from the Windows desktop. |
static org.eclipse.swt.graphics.Rectangle |
getPrimaryDesktopArea(org.eclipse.swt.widgets.Display display)
Deprecated. As of SWT 3.0, use Display.getPrimaryMonitor() . |
static boolean |
inFullScreenMode()
Test if a full screen application is running. |
static void |
registerMessageWindow()
|
static void |
setAlwaysOnTop(org.eclipse.swt.widgets.Shell window,
boolean onTop)
|
static void |
setOnTop(org.eclipse.swt.widgets.Shell shell,
boolean onTop)
Set the window to be on top or bottom of the stack of standard windows. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.eclipse.swt.widgets.Shell messageWindow
protected static int dockedPosition
protected static org.eclipse.swt.widgets.Shell dockedWindow
protected static dsto.dfc.swt.win32.Windows.DockedWindowListener dockedWindowListener
Method Detail |
---|
public static void registerMessageWindow()
public static void setAlwaysOnTop(org.eclipse.swt.widgets.Shell window, boolean onTop)
public static void setOnTop(org.eclipse.swt.widgets.Shell shell, boolean onTop)
public static void desktopDock(org.eclipse.swt.widgets.Shell window, int position, int width, int height) throws IllegalStateException
window
- The window to dock.position
- The position to dock the window at (DESKTOP_TOP,
DESKTOP_LEFT, DESKTOP_RIGHT or DESKTOP_BOTTOM).width
- The requested width of the docked window.height
- The requested height of the docked window.
IllegalStateException
- if a window is already docked or
the handle for the window could not be retrieved.desktopUndock(Shell)
public static void desktopUndock(org.eclipse.swt.widgets.Shell window) throws IllegalStateException
window
- The window to undock.
IllegalStateException
- if window handle was not able to
be retrieved.desktopDock(Shell, int, int, int)
public static boolean inFullScreenMode() throws IllegalStateException
IllegalStateException
public static org.eclipse.swt.graphics.Rectangle getPrimaryDesktopArea(org.eclipse.swt.widgets.Display display)
Display.getPrimaryMonitor()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |