|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.widget.WindowManager
public class WindowManager
An object that represents a group of Window
instances and provides
z-order management and window activation behavior.
Constructor Summary | |
---|---|
WindowManager()
|
Method Summary | |
---|---|
boolean |
activateNext(Window window)
Activates the next window in the access stack. |
boolean |
activatePrevious(Window window)
Activates the previous window in the access stack. |
boolean |
bringToFront(Window window)
Brings the specified window to the front of any other active windows. |
static WindowManager |
get()
Returns the singleton instance. |
Window |
get(java.lang.String id)
Gets a registered window by id. |
Window |
getActive()
Gets the currently-active window in the group. |
java.util.Stack<Window> |
getStack()
Returns the ordered windows. |
java.util.List<Window> |
getWindows()
Returns the visible windows. |
void |
hideAll()
Hides all windows that are registered to this WindowManager. |
void |
register(Window window)
|
Window |
sendToBack(Window window)
Sends the specified window to the back of other active windows. |
void |
unregister(Window window)
|
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
---|
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WindowManager()
Method Detail |
---|
public static WindowManager get()
public boolean activateNext(Window window)
window
- the reference window
public boolean activatePrevious(Window window)
window
- the reference window
public boolean bringToFront(Window window)
window
- the window return True if the dialog was brought to the
front, else false if it was already in frontpublic Window get(java.lang.String id)
id
- the window id
public Window getActive()
public java.util.Stack<Window> getStack()
public java.util.List<Window> getWindows()
public void hideAll()
public void register(Window window)
public Window sendToBack(Window window)
window
- the window
public void unregister(Window window)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |