|
||||||||||
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.client.NativeWindow
public class NativeWindow
A native window is a new browser window (popup) with a URL. It wraps the window.open command to a useable cross-browser compatible API.
Constructor Summary | |
---|---|
NativeWindow()
|
|
NativeWindow(java.lang.Object url)
|
|
NativeWindow(java.lang.Object url,
java.lang.Object name)
|
Method Summary | |
---|---|
void |
_applyDimension(java.lang.Object value,
java.lang.Object old)
|
void |
_applyName(java.lang.Object value,
java.lang.Object old)
|
void |
_applyOpen(java.lang.Object value,
java.lang.Object old)
|
void |
_applyPosition(java.lang.Object value,
java.lang.Object old)
|
void |
_applyUrl(java.lang.Object value,
java.lang.Object old)
|
void |
_centerHelper(java.lang.Integer l,
java.lang.Integer t)
Internal helper to handle centering of native windows. |
void |
_close()
Implementation of close logic. |
void |
_oninterval(Event e)
Executed on each timer interval to detect two things: |
void |
_onload(Event e)
Fires the qooxdoo load event |
void |
_open()
Generates the parameter set for the native window.open() and opens the window. |
void |
blur()
Blur the window (opposite of focus() ) |
void |
centerToOpener()
Centers the window to the opener window |
void |
centerToScreen()
Centers the window to the screen |
void |
centerToScreenArea()
Centers the window to the available screen area |
void |
close()
Close the window (if not already closed) |
void |
focus()
Focus the window (opposite of blur() ) |
boolean |
getAllowScrollbars()
Returns the (computed) value of the property allowScrollbars . |
boolean |
getDependent()
Returns the (computed) value of the property dependent . |
int |
getHeight()
Returns the (computed) value of the property height . |
int |
getLeft()
Returns the (computed) value of the property left . |
boolean |
getModal()
Returns the (computed) value of the property modal . |
java.lang.String |
getName()
Returns the (computed) value of the property name . |
boolean |
getOpen()
Returns the (computed) value of the property open . |
boolean |
getResizable()
Returns the (computed) value of the property resizable . |
boolean |
getShowLocation()
Returns the (computed) value of the property showLocation . |
boolean |
getShowMenubar()
Returns the (computed) value of the property showMenubar . |
boolean |
getShowStatusbar()
Returns the (computed) value of the property showStatusbar . |
boolean |
getShowToolbar()
Returns the (computed) value of the property showToolbar . |
java.lang.String |
getStatus()
Returns the (computed) value of the property status . |
int |
getTop()
Returns the (computed) value of the property top . |
java.lang.String |
getUrl()
Returns the (computed) value of the property url . |
int |
getWidth()
Returns the (computed) value of the property width . |
void |
initAllowScrollbars(boolean arg)
Calls the apply method and dispatches the change event of the property allowScrollbars
with the default value defined by the class developer. |
void |
initDependent(boolean arg)
Calls the apply method and dispatches the change event of the property dependent
with the default value defined by the class developer. |
void |
initHeight(int arg)
Calls the apply method and dispatches the change event of the property height
with the default value defined by the class developer. |
void |
initLeft(int arg)
Calls the apply method and dispatches the change event of the property left
with the default value defined by the class developer. |
void |
initModal(boolean arg)
Calls the apply method and dispatches the change event of the property modal
with the default value defined by the class developer. |
void |
initName(java.lang.String arg)
Calls the apply method and dispatches the change event of the property name
with the default value defined by the class developer. |
void |
initOpen(boolean arg)
Calls the apply method and dispatches the change event of the property open
with the default value defined by the class developer. |
void |
initResizable(boolean arg)
Calls the apply method and dispatches the change event of the property resizable
with the default value defined by the class developer. |
void |
initShowLocation(boolean arg)
Calls the apply method and dispatches the change event of the property showLocation
with the default value defined by the class developer. |
void |
initShowMenubar(boolean arg)
Calls the apply method and dispatches the change event of the property showMenubar
with the default value defined by the class developer. |
void |
initShowStatusbar(boolean arg)
Calls the apply method and dispatches the change event of the property showStatusbar
with the default value defined by the class developer. |
void |
initShowToolbar(boolean arg)
Calls the apply method and dispatches the change event of the property showToolbar
with the default value defined by the class developer. |
void |
initStatus(java.lang.String arg)
Calls the apply method and dispatches the change event of the property status
with the default value defined by the class developer. |
void |
initTop(int arg)
Calls the apply method and dispatches the change event of the property top
with the default value defined by the class developer. |
void |
initUrl(java.lang.String arg)
Calls the apply method and dispatches the change event of the property url
with the default value defined by the class developer. |
void |
initWidth(int arg)
Calls the apply method and dispatches the change event of the property width
with the default value defined by the class developer. |
boolean |
isAllowScrollbars()
Check whether the (computed) value of the boolean property allowScrollbars equals true . |
boolean |
isClosed()
Whether the window is closed |
boolean |
isDependent()
Check whether the (computed) value of the boolean property dependent equals true . |
boolean |
isLoaded()
Whether the content of the window is loaded. |
boolean |
isModal()
Check whether the (computed) value of the boolean property modal equals true . |
boolean |
isOpen()
Check whether the (computed) value of the boolean property open equals true . |
boolean |
isResizable()
Check whether the (computed) value of the boolean property resizable equals true . |
boolean |
isShowLocation()
Check whether the (computed) value of the boolean property showLocation equals true . |
boolean |
isShowMenubar()
Check whether the (computed) value of the boolean property showMenubar equals true . |
boolean |
isShowStatusbar()
Check whether the (computed) value of the boolean property showStatusbar equals true . |
boolean |
isShowToolbar()
Check whether the (computed) value of the boolean property showToolbar equals true . |
void |
open()
Open the window (if not already opened) |
void |
resetAllowScrollbars()
Resets the user value of the property allowScrollbars . |
void |
resetDependent()
Resets the user value of the property dependent . |
void |
resetDimension()
Resets the user value of the property dimension . |
void |
resetHeight()
Resets the user value of the property height . |
void |
resetLeft()
Resets the user value of the property left . |
void |
resetLocation()
Resets the user value of the property location . |
void |
resetModal()
Resets the user value of the property modal . |
void |
resetName()
Resets the user value of the property name . |
void |
resetOpen()
Resets the user value of the property open . |
void |
resetResizable()
Resets the user value of the property resizable . |
void |
resetShowLocation()
Resets the user value of the property showLocation . |
void |
resetShowMenubar()
Resets the user value of the property showMenubar . |
void |
resetShowStatusbar()
Resets the user value of the property showStatusbar . |
void |
resetShowToolbar()
Resets the user value of the property showToolbar . |
void |
resetStatus()
Resets the user value of the property status . |
void |
resetTop()
Resets the user value of the property top . |
void |
resetUrl()
Resets the user value of the property url . |
void |
resetWidth()
Resets the user value of the property width . |
void |
setAllowScrollbars(boolean arg)
Sets the user value of the property allowScrollbars . |
void |
setDependent(boolean arg)
Sets the user value of the property dependent . |
void |
setDimension(java.lang.Object width,
java.lang.Object height)
Sets the values of the property group dimension . |
void |
setHeight(int arg)
Sets the user value of the property height . |
void |
setLeft(int arg)
Sets the user value of the property left . |
void |
setLocation(java.lang.Object left,
java.lang.Object top)
Sets the values of the property group location . |
void |
setModal(boolean arg)
Sets the user value of the property modal . |
void |
setName(java.lang.String arg)
Sets the user value of the property name . |
void |
setOpen(boolean arg)
Sets the user value of the property open . |
void |
setResizable(boolean arg)
Sets the user value of the property resizable . |
void |
setShowLocation(boolean arg)
Sets the user value of the property showLocation . |
void |
setShowMenubar(boolean arg)
Sets the user value of the property showMenubar . |
void |
setShowStatusbar(boolean arg)
Sets the user value of the property showStatusbar . |
void |
setShowToolbar(boolean arg)
Sets the user value of the property showToolbar . |
void |
setStatus(java.lang.String arg)
Sets the user value of the property status . |
void |
setTop(int arg)
Sets the user value of the property top . |
void |
setUrl(java.lang.String arg)
Sets the user value of the property url . |
void |
setWidth(int arg)
Sets the user value of the property width . |
boolean |
toggleAllowScrollbars()
Toggles the (computed) value of the boolean property allowScrollbars . |
boolean |
toggleDependent()
Toggles the (computed) value of the boolean property dependent . |
boolean |
toggleModal()
Toggles the (computed) value of the boolean property modal . |
boolean |
toggleOpen()
Toggles the (computed) value of the boolean property open . |
boolean |
toggleResizable()
Toggles the (computed) value of the boolean property resizable . |
boolean |
toggleShowLocation()
Toggles the (computed) value of the boolean property showLocation . |
boolean |
toggleShowMenubar()
Toggles the (computed) value of the boolean property showMenubar . |
boolean |
toggleShowStatusbar()
Toggles the (computed) value of the boolean property showStatusbar . |
boolean |
toggleShowToolbar()
Toggles the (computed) value of the boolean property showToolbar . |
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 NativeWindow()
public NativeWindow(java.lang.Object url)
public NativeWindow(java.lang.Object url, java.lang.Object name)
Method Detail |
---|
public void _applyDimension(java.lang.Object value, java.lang.Object old)
public void _applyName(java.lang.Object value, java.lang.Object old)
public void _applyOpen(java.lang.Object value, java.lang.Object old)
public void _applyPosition(java.lang.Object value, java.lang.Object old)
public void _applyUrl(java.lang.Object value, java.lang.Object old)
public void _centerHelper(java.lang.Integer l, java.lang.Integer t)
Internal helper to handle centering of native windows.
public void _close()
Implementation of close logic. Used by the property open
.
public void _oninterval(Event e)
Executed on each timer interval to detect two things:
public void _onload(Event e)
Fires the qooxdoo load event
public void _open()
Generates the parameter set for the native window.open() and opens the window.
Used by the property open
.
public void blur()
Blur the window (opposite of focus()
)
public void centerToOpener()
Centers the window to the opener window
public void centerToScreen()
Centers the window to the screen
public void centerToScreenArea()
Centers the window to the available screen area
public void close()
Close the window (if not already closed)
public void focus()
Focus the window (opposite of blur()
)
public boolean getAllowScrollbars()
Returns the (computed) value of the property allowScrollbars
.
For further details take a look at the property definition: allowScrollbars
.
public boolean getDependent()
Returns the (computed) value of the property dependent
.
For further details take a look at the property definition: dependent
.
public int getHeight()
Returns the (computed) value of the property height
.
For further details take a look at the property definition: height
.
public int getLeft()
Returns the (computed) value of the property left
.
For further details take a look at the property definition: left
.
public boolean getModal()
Returns the (computed) value of the property modal
.
For further details take a look at the property definition: modal
.
public java.lang.String getName()
Returns the (computed) value of the property name
.
For further details take a look at the property definition: name
.
public boolean getOpen()
Returns the (computed) value of the property open
.
For further details take a look at the property definition: open
.
public boolean getResizable()
Returns the (computed) value of the property resizable
.
For further details take a look at the property definition: resizable
.
public boolean getShowLocation()
Returns the (computed) value of the property showLocation
.
For further details take a look at the property definition: showLocation
.
public boolean getShowMenubar()
Returns the (computed) value of the property showMenubar
.
For further details take a look at the property definition: showMenubar
.
public boolean getShowStatusbar()
Returns the (computed) value of the property showStatusbar
.
For further details take a look at the property definition: showStatusbar
.
public boolean getShowToolbar()
Returns the (computed) value of the property showToolbar
.
For further details take a look at the property definition: showToolbar
.
public java.lang.String getStatus()
Returns the (computed) value of the property status
.
For further details take a look at the property definition: status
.
public int getTop()
Returns the (computed) value of the property top
.
For further details take a look at the property definition: top
.
public java.lang.String getUrl()
Returns the (computed) value of the property url
.
For further details take a look at the property definition: url
.
public int getWidth()
Returns the (computed) value of the property width
.
For further details take a look at the property definition: width
.
public void initAllowScrollbars(boolean arg)
Calls the apply method and dispatches the change event of the property allowScrollbars
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: allowScrollbars
.
public void initDependent(boolean arg)
Calls the apply method and dispatches the change event of the property dependent
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: dependent
.
public void initHeight(int arg)
Calls the apply method and dispatches the change event of the property height
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: height
.
public void initLeft(int arg)
Calls the apply method and dispatches the change event of the property left
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: left
.
public void initModal(boolean arg)
Calls the apply method and dispatches the change event of the property modal
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: modal
.
public void initName(java.lang.String arg)
Calls the apply method and dispatches the change event of the property name
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: name
.
public void initOpen(boolean arg)
Calls the apply method and dispatches the change event of the property open
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: open
.
public void initResizable(boolean arg)
Calls the apply method and dispatches the change event of the property resizable
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: resizable
.
public void initShowLocation(boolean arg)
Calls the apply method and dispatches the change event of the property showLocation
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: showLocation
.
public void initShowMenubar(boolean arg)
Calls the apply method and dispatches the change event of the property showMenubar
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: showMenubar
.
public void initShowStatusbar(boolean arg)
Calls the apply method and dispatches the change event of the property showStatusbar
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: showStatusbar
.
public void initShowToolbar(boolean arg)
Calls the apply method and dispatches the change event of the property showToolbar
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: showToolbar
.
public void initStatus(java.lang.String arg)
Calls the apply method and dispatches the change event of the property status
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: status
.
public void initTop(int arg)
Calls the apply method and dispatches the change event of the property top
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: top
.
public void initUrl(java.lang.String arg)
Calls the apply method and dispatches the change event of the property url
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: url
.
public void initWidth(int arg)
Calls the apply method and dispatches the change event of the property width
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: width
.
public boolean isAllowScrollbars()
Check whether the (computed) value of the boolean property allowScrollbars
equals true
.
For further details take a look at the property definition: allowScrollbars
.
public boolean isClosed()
Whether the window is closed
public boolean isDependent()
Check whether the (computed) value of the boolean property dependent
equals true
.
For further details take a look at the property definition: dependent
.
public boolean isLoaded()
Whether the content of the window is loaded.
public boolean isModal()
Check whether the (computed) value of the boolean property modal
equals true
.
For further details take a look at the property definition: modal
.
public boolean isOpen()
Check whether the (computed) value of the boolean property open
equals true
.
For further details take a look at the property definition: open
.
public boolean isResizable()
Check whether the (computed) value of the boolean property resizable
equals true
.
For further details take a look at the property definition: resizable
.
public boolean isShowLocation()
Check whether the (computed) value of the boolean property showLocation
equals true
.
For further details take a look at the property definition: showLocation
.
public boolean isShowMenubar()
Check whether the (computed) value of the boolean property showMenubar
equals true
.
For further details take a look at the property definition: showMenubar
.
public boolean isShowStatusbar()
Check whether the (computed) value of the boolean property showStatusbar
equals true
.
For further details take a look at the property definition: showStatusbar
.
public boolean isShowToolbar()
Check whether the (computed) value of the boolean property showToolbar
equals true
.
For further details take a look at the property definition: showToolbar
.
public void open()
Open the window (if not already opened)
public void resetAllowScrollbars()
Resets the user value of the property allowScrollbars
.
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: allowScrollbars
.
public void resetDependent()
Resets the user value of the property dependent
.
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: dependent
.
public void resetDimension()
Resets the user value of the property dimension
.
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: dimension
.
public void resetHeight()
Resets the user value of the property height
.
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: height
.
public void resetLeft()
Resets the user value of the property left
.
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: left
.
public void resetLocation()
Resets the user value of the property location
.
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: location
.
public void resetModal()
Resets the user value of the property modal
.
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: modal
.
public void resetName()
Resets the user value of the property name
.
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: name
.
public void resetOpen()
Resets the user value of the property open
.
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: open
.
public void resetResizable()
Resets the user value of the property resizable
.
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: resizable
.
public void resetShowLocation()
Resets the user value of the property showLocation
.
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: showLocation
.
public void resetShowMenubar()
Resets the user value of the property showMenubar
.
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: showMenubar
.
public void resetShowStatusbar()
Resets the user value of the property showStatusbar
.
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: showStatusbar
.
public void resetShowToolbar()
Resets the user value of the property showToolbar
.
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: showToolbar
.
public void resetStatus()
Resets the user value of the property status
.
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: status
.
public void resetTop()
Resets the user value of the property top
.
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: top
.
public void resetUrl()
Resets the user value of the property url
.
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: url
.
public void resetWidth()
Resets the user value of the property width
.
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: width
.
public void setAllowScrollbars(boolean arg)
Sets the user value of the property allowScrollbars
.
For further details take a look at the property definition: allowScrollbars
.
public void setDependent(boolean arg)
Sets the user value of the property dependent
.
For further details take a look at the property definition: dependent
.
public void setDimension(java.lang.Object width, java.lang.Object height)
Sets the values of the property group dimension
.
For further details take a look at the property definition: dimension
.
public void setHeight(int arg)
Sets the user value of the property height
.
For further details take a look at the property definition: height
.
public void setLeft(int arg)
Sets the user value of the property left
.
For further details take a look at the property definition: left
.
public void setLocation(java.lang.Object left, java.lang.Object top)
Sets the values of the property group location
.
For further details take a look at the property definition: location
.
public void setModal(boolean arg)
Sets the user value of the property modal
.
For further details take a look at the property definition: modal
.
public void setName(java.lang.String arg)
Sets the user value of the property name
.
For further details take a look at the property definition: name
.
public void setOpen(boolean arg)
Sets the user value of the property open
.
For further details take a look at the property definition: open
.
public void setResizable(boolean arg)
Sets the user value of the property resizable
.
For further details take a look at the property definition: resizable
.
public void setShowLocation(boolean arg)
Sets the user value of the property showLocation
.
For further details take a look at the property definition: showLocation
.
public void setShowMenubar(boolean arg)
Sets the user value of the property showMenubar
.
For further details take a look at the property definition: showMenubar
.
public void setShowStatusbar(boolean arg)
Sets the user value of the property showStatusbar
.
For further details take a look at the property definition: showStatusbar
.
public void setShowToolbar(boolean arg)
Sets the user value of the property showToolbar
.
For further details take a look at the property definition: showToolbar
.
public void setStatus(java.lang.String arg)
Sets the user value of the property status
.
For further details take a look at the property definition: status
.
public void setTop(int arg)
Sets the user value of the property top
.
For further details take a look at the property definition: top
.
public void setUrl(java.lang.String arg)
Sets the user value of the property url
.
For further details take a look at the property definition: url
.
public void setWidth(int arg)
Sets the user value of the property width
.
For further details take a look at the property definition: width
.
public boolean toggleAllowScrollbars()
Toggles the (computed) value of the boolean property allowScrollbars
.
For further details take a look at the property definition: allowScrollbars
.
public boolean toggleDependent()
Toggles the (computed) value of the boolean property dependent
.
For further details take a look at the property definition: dependent
.
public boolean toggleModal()
Toggles the (computed) value of the boolean property modal
.
For further details take a look at the property definition: modal
.
public boolean toggleOpen()
Toggles the (computed) value of the boolean property open
.
For further details take a look at the property definition: open
.
public boolean toggleResizable()
Toggles the (computed) value of the boolean property resizable
.
For further details take a look at the property definition: resizable
.
public boolean toggleShowLocation()
Toggles the (computed) value of the boolean property showLocation
.
For further details take a look at the property definition: showLocation
.
public boolean toggleShowMenubar()
Toggles the (computed) value of the boolean property showMenubar
.
For further details take a look at the property definition: showMenubar
.
public boolean toggleShowStatusbar()
Toggles the (computed) value of the boolean property showStatusbar
.
For further details take a look at the property definition: showStatusbar
.
public boolean toggleShowToolbar()
Toggles the (computed) value of the boolean property showToolbar
.
For further details take a look at the property definition: showToolbar
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |