DhInlineFrame Class

DhInlineFrame Class

This Package | All Packages

DhStyleBase
  |
  +--DhElement
    |
    +--DhInlineFrame
public class DhInlineFrame
extends DhElement

Represents an inline frame (<IFRAME>) element.

Constructors
Name Description
DhInlineFrame() Creates an empty frame.
DhInlineFrame(String url) Creates an frame using the HTML from the specified URL as its source.

Methods
Name Description
getFrameDocument() Retrieves the document in this frame.
getURL() Retrieves the URL that defines the location of the contents of this frame.
setURL(String url) Sets the URL that defines the location of the contents of this frame.

Constructors

DhInlineFrame.DhInlineFrame

Syntax 1
public DhInlineFrame();
Description

Creates an empty frame.



Syntax 2
public DhInlineFrame( String url );
Parameters
url
The source of the frame.
Description

Creates an frame using the HTML from the specified URL as its source.

Methods

DhInlineFrame.getFrameDocument

Syntax
public DhDocument getFrameDocument();
Return Value

Returns a DhDocument object representing the contents of this frame.

Description

Retrieves the document in this frame.

DhInlineFrame.getURL

Syntax
public String getURL();
Return Value

Returns the location of the URL for this frame.

Description

Retrieves the URL that defines the location of the contents of this frame.

DhInlineFrame.setURL

Syntax
public void setURL( String url );
Parameters
url
The location URL of the frame.
Description

Sets the URL that defines the location of the contents of this frame.