OverviewSingleDeprecated

jsx3.gui

class IFrame

Object
->jsx3.lang.Object
  ->jsx3.app.Model
    ->jsx3.gui.Painted
      ->jsx3.gui.Block
        ->jsx3.gui.IFrame

All Implemented Interfaces:

jsx3.gui.Interactive, jsx3.util.EventDispatcher

class IFrame
extends jsx3.gui.Block
Renders an IFrame.

Since:

3.4

Field Summary
static int
SCROLLAUTO
static int
SCROLLNO
static int
SCROLLYES
Method Summary
HTMLDocument
Returns the native document object of this iframe.
HTMLElement
Returns the native iframe object of this iframe.
int
Returns the scroll mode of this iframe.
String
Returns the URI of this iframe.
String
Serializes this object to HTML.
jsx3.gui.IFrame
setScrolling(intScrolling : int)
Sets the scroll mode of this iframe.
jsx3.gui.IFrame
setSrc(srcSrc : String)
Sets the URI of this iframe.
Methods Inherited From jsx3.gui.Block
getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask
Methods Inherited From jsx3.gui.Interactive
doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy
Methods Inherited From jsx3.gui.Painted
focus, getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty
Methods Inherited From jsx3.app.Model
adoptChild, doClone, findAncestor, findDescendants, getAncestorOfName, getAncestorOfType, getChild, getChildIndex, getChildren, getDescendantOfName, getDescendantsOfType, getFirstChild, getFirstChildOfType, getHelpId, getId, getLastChild, getLoadType, getMetaValue, getNS, getName, getNextSibling, getParent, getPersistence, getPreviousSibling, getServer, getUriResolver, insertBefore, load, loadAndCache, loadXML, onAfterAssemble, onAfterAttach, onBeforeAssemble, onChangeServer, onDestroy, onRemoveChild, onSetChild, onSetParent, removeChild, removeChildren, setChild, setHelpId, setLoadType, setMetaValue, setName, setPersistence, toString, toXML, toXMLDoc
Methods Inherited From jsx3.util.EventDispatcher
publish, subscribe, unsubscribe, unsubscribeAll
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf
Field Detail

SCROLLAUTO

static final int SCROLLAUTO

SCROLLNO

static final int SCROLLNO

SCROLLYES

static final int SCROLLYES
Method Detail

getContentDocument

HTMLDocument getContentDocument()
Returns the native document object of this iframe. Depending on browser security settings and the URL of this iframe, the native document object may not be available. In this case, this method returns null.

Returns:

 

getIFrame

HTMLElement getIFrame()
Returns the native iframe object of this iframe. Depending on browser security settings and the URL of this iframe, the native iframe object may not be available. In this case, this method returns null.

Returns:

 

getScrolling

int getScrolling()
Returns the scroll mode of this iframe.

Returns:

 

getSrc

String getSrc()
Returns the URI of this iframe.

Returns:

 

paint

String paint()
Serializes this object to HTML.

Returns:

 

Overrides:

paint in jsx3.gui.Block

setScrolling

jsx3.gui.IFrame setScrolling(intScrolling : int)
Sets the scroll mode of this iframe.

Parameters:

intScrollingone of SCROLLYES, SCROLLNO, or SCROLLAUTO.

Returns:

this object.  

setSrc

jsx3.gui.IFrame setSrc(srcSrc : String)
Sets the URI of this iframe. The URI can be absolute or relative from the content base of the server that owns this object. If this iframe is rendered on screen, its location is updated immediately.

Parameters:

srcSrc

Returns:

this object.