public class WindowList extends Object
Constructor | Description |
---|---|
WindowList() |
Modifier and Type | Method | Description |
---|---|---|
void |
addWindow(Window window) |
|
void |
cycleActiveWindow(boolean reverse) |
Switches the active window by cyclically shuffling the window list.
|
Window |
getActiveWindow() |
|
List<Window> |
getWindowsInStableOrder() |
|
List<Window> |
getWindowsInZOrder() |
|
boolean |
isHadWindowAtSomePoint() |
|
void |
moveToBottom(Window window) |
|
void |
moveToTop(Window window) |
|
boolean |
removeWindow(Window window) |
Removes the window from this WindowList.
|
void |
setActiveWindow(Window activeWindow) |
public void setActiveWindow(Window activeWindow)
public Window getActiveWindow()
public void addWindow(Window window)
public boolean removeWindow(Window window)
public boolean isHadWindowAtSomePoint()
public void moveToTop(Window window)
public void moveToBottom(Window window)
public void cycleActiveWindow(boolean reverse)
reverse
parameter is false
then the current top window is placed at the bottom of the stack and the window immediately behind it is the new
top. If reverse
is set to true
then the window at the bottom of the stack is moved up to the
front and the previous top window will be immediately below itreverse
- Direction to cycle through the windowsCopyright © 2020. All rights reserved.