public class WindowManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected LinkedList<Window> |
zOrderedWindows
it maintains all the window in its Z-index order.
the first one on the front side. |
| Constructor and Description |
|---|
WindowManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
bringFront(Window window) |
List<Window> |
getAllWindows() |
MainWindow |
getMainWindow() |
Screen |
getScreen() |
Window |
getVisibleFontWindow() |
int |
getZIndex(Window window)
0 is behind most.
|
void |
print() |
void |
register(Window window) |
void |
unregister(Window window) |
protected LinkedList<Window> zOrderedWindows
public void register(Window window)
public MainWindow getMainWindow()
public int getZIndex(Window window)
window - public void unregister(Window window)
public void bringFront(Window window)
public Window getVisibleFontWindow()
public Screen getScreen()
public void print()
Copyright © 2015. All Rights Reserved.