|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.util.manager.Object
qx.ui.window.Manager
public class Manager
This singleton manages qx.ui.window.Windows
Constructor Summary | |
---|---|
Manager()
|
Method Summary | |
---|---|
void |
_applyActiveWindow(java.lang.Object value,
java.lang.Object old)
|
void |
add(Window vWindow)
Adds a Window instance to the manager and
sets it as active window. |
java.lang.Object |
compareWindows(Window w1,
Window w2)
Compares two windows (used as sort method in remove(qx.ui.window.Window) ). |
java.lang.Object |
getActiveWindow()
Returns the (computed) value of the property activeWindow . |
void |
initActiveWindow(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property activeWindow
with the default value defined by the class developer. |
void |
remove(Window vWindow)
Removes a Window instance from the manager. |
void |
resetActiveWindow()
Resets the user value of the property activeWindow . |
void |
setActiveWindow(java.lang.Object arg)
Sets the user value of the property activeWindow . |
void |
update()
Updates all registered window instances |
Methods inherited from class qx.util.manager.Object |
---|
add, disableAll, enableAll, get, getAll, has, remove |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Manager()
Method Detail |
---|
public void _applyActiveWindow(java.lang.Object value, java.lang.Object old)
public void add(Window vWindow)
Adds a Window
instance to the manager and
sets it as active window.
public java.lang.Object compareWindows(Window w1, Window w2)
Compares two windows (used as sort method in remove(qx.ui.window.Window)
).
Sorts the windows by checking which of the given windows is active.
If none of those two are active the zIndex are subtracted from each
other to determine the sort order.
public java.lang.Object getActiveWindow()
Returns the (computed) value of the property activeWindow
.
For further details take a look at the property definition: activeWindow
.
public void initActiveWindow(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property activeWindow
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: activeWindow
.
public void remove(Window vWindow)
Removes a Window
instance from the manager.
If the current active window is the one which should be removed the
existing windows are compared to determine the new active window
(using the compareWindows(qx.ui.window.Window, qx.ui.window.Window)
method).
public void resetActiveWindow()
Resets the user value of the property activeWindow
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: activeWindow
.
public void setActiveWindow(java.lang.Object arg)
Sets the user value of the property activeWindow
.
For further details take a look at the property definition: activeWindow
.
public void update()
Updates all registered window instances
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |