|
||||||||||
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.ui.core.Widget
qx.ui.basic.Terminator
qx.ui.embed.Iframe
public class Iframe
Container widget for internal frames (iframes).
An iframe can display any HTML page inside the widget.
Field Summary |
---|
Fields inherited from class qx.ui.core.Widget |
---|
AUTO |
Constructor Summary | |
---|---|
Iframe()
|
|
Iframe(java.lang.String vSource)
|
Method Summary | |
---|---|
void |
_applyElement(java.lang.Object value,
java.lang.Object old)
|
void |
_applyFrameName(java.lang.Object value,
java.lang.Object old,
java.lang.Object propName,
java.lang.Object uniqModIds)
|
void |
_applyScrolling(java.lang.Object value,
java.lang.Object old)
Applies changes of the property value of the property scrolling . |
void |
_applySource(java.lang.Object value,
java.lang.Object old)
|
void |
_beforeAppear()
|
void |
_beforeDisappear()
|
void |
_generateBlockerElement()
|
void |
_generateIframeElement(java.lang.String vFrameName)
Creates an template iframe element and sets all required html and style properties. |
void |
_onload()
|
void |
_syncScrolling()
Sync scrolling property to the iframe DOM node. |
void |
_syncSource()
|
void |
block()
Cover the iframe with a transparent blocker div element. |
java.lang.Object |
getBlockerNode()
|
java.lang.Object |
getContentDocument()
Get the DOM document object of the iframe. |
java.lang.Object |
getContentWindow()
Get the DOM window object of the iframe. |
java.lang.String |
getFrameName()
Returns the (computed) value of the property frameName . |
java.lang.Object |
getIframeNode()
Get the DOM element of the iframe. |
java.lang.Object |
getScrolling()
Returns the (computed) value of the property scrolling . |
java.lang.String |
getSource()
Returns the (computed) value of the property source . |
void |
initFrameName(java.lang.String arg)
Calls the apply method and dispatches the change event of the property frameName
with the default value defined by the class developer. |
void |
initScrolling(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property scrolling
with the default value defined by the class developer. |
void |
initSource(java.lang.String arg)
Calls the apply method and dispatches the change event of the property source
with the default value defined by the class developer. |
void |
isLoaded()
|
java.lang.String |
queryCurrentUrl()
Returns the current (served) URL inside the iframe |
void |
release()
Release the blocker set by block() . |
void |
reload()
Reload the contents of the iframe. |
void |
resetFrameName()
Resets the user value of the property frameName . |
void |
resetScrolling()
Resets the user value of the property scrolling . |
void |
resetSource()
Resets the user value of the property source . |
java.lang.Object |
setBlockerNode(java.lang.Object vBlockerNode)
|
void |
setFrameName(java.lang.String arg)
Sets the user value of the property frameName . |
void |
setIframeNode(java.lang.Object vIframeNode)
Change the DOM element of the iframe. |
void |
setScrolling(java.lang.Object arg)
Sets the user value of the property scrolling . |
void |
setSource(java.lang.String arg)
Sets the user value of the property source . |
Methods inherited from class qx.ui.basic.Terminator |
---|
_computeBoxHeightFallback, _computeBoxWidthFallback, _computePreferredInnerHeight, _computePreferredInnerWidth, _isHeightEssential, _isWidthEssential, _layoutPost, _postApply, _renderContent, renderPadding |
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 Iframe()
public Iframe(java.lang.String vSource)
Method Detail |
---|
public void _applyElement(java.lang.Object value, java.lang.Object old)
_applyElement
in class Widget
public void _applyFrameName(java.lang.Object value, java.lang.Object old, java.lang.Object propName, java.lang.Object uniqModIds)
public void _applyScrolling(java.lang.Object value, java.lang.Object old)
Applies changes of the property value of the property scrolling
.
For further details take a look at the property definition: _applyScrolling(java.lang.Object, java.lang.Object)
.
public void _applySource(java.lang.Object value, java.lang.Object old)
public void _beforeAppear()
_beforeAppear
in class Widget
public void _beforeDisappear()
_beforeDisappear
in class Widget
public void _generateBlockerElement()
public void _generateIframeElement(java.lang.String vFrameName)
Creates an template iframe element and sets all required html and style properties.
public void _onload()
public void _syncScrolling()
Sync scrolling property to the iframe DOM node.
public void _syncSource()
public void block()
Cover the iframe with a transparent blocker div element. This prevents
mouse or key events to be handled by the iframe. To release the blocker
use release()
.
public java.lang.Object getBlockerNode()
public java.lang.Object getContentDocument()
Get the DOM document object of the iframe.
public java.lang.Object getContentWindow()
Get the DOM window object of the iframe.
public java.lang.String getFrameName()
Returns the (computed) value of the property frameName
.
For further details take a look at the property definition: frameName
.
public java.lang.Object getIframeNode()
Get the DOM element of the iframe.
public java.lang.Object getScrolling()
Returns the (computed) value of the property scrolling
.
For further details take a look at the property definition: scrolling
.
public java.lang.String getSource()
Returns the (computed) value of the property source
.
For further details take a look at the property definition: source
.
public void initFrameName(java.lang.String arg)
Calls the apply method and dispatches the change event of the property frameName
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: frameName
.
public void initScrolling(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property scrolling
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: scrolling
.
public void initSource(java.lang.String arg)
Calls the apply method and dispatches the change event of the property source
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: source
.
public void isLoaded()
public java.lang.String queryCurrentUrl()
Returns the current (served) URL inside the iframe
public void release()
Release the blocker set by block()
.
public void reload()
Reload the contents of the iframe.
public void resetFrameName()
Resets the user value of the property frameName
.
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: frameName
.
public void resetScrolling()
Resets the user value of the property scrolling
.
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: scrolling
.
public void resetSource()
Resets the user value of the property source
.
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: source
.
public java.lang.Object setBlockerNode(java.lang.Object vBlockerNode)
public void setFrameName(java.lang.String arg)
Sets the user value of the property frameName
.
For further details take a look at the property definition: frameName
.
public void setIframeNode(java.lang.Object vIframeNode)
Change the DOM element of the iframe.
public void setScrolling(java.lang.Object arg)
Sets the user value of the property scrolling
.
For further details take a look at the property definition: scrolling
.
public void setSource(java.lang.String arg)
Sets the user value of the property source
.
For further details take a look at the property definition: source
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |