java.lang.Object | |||
↳ | com.google.gwt.user.client.ui.UIObject | ||
↳ | com.google.gwt.user.client.ui.Widget | ||
↳ | com.google.gwt.user.client.ui.Frame |
Known Direct Subclasses |
A widget that wraps an IFRAME element, which can contain an arbitrary web site.
Note that if you are using History
, any
browser history items generated by the Frame will interleave with your
application's history.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.UIObject
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an empty frame.
| |||||||||||
Creates a frame that displays the resource at the specified URL.
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor may be used by subclasses to explicitly use an existing
element.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the URL of the frame's resource.
| |||||||||||
Sets the URL of the resource to be displayed within the frame.
| |||||||||||
Creates a Frame widget that wraps an existing <frame> element.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.user.client.ui.Widget
| |||||||||||
From class
com.google.gwt.user.client.ui.UIObject
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.event.logical.shared.HasAttachHandlers | |||||||||||
From interface com.google.gwt.event.shared.HasHandlers | |||||||||||
From interface
com.google.gwt.user.client.EventListener
| |||||||||||
From interface
com.google.gwt.user.client.ui.IsWidget
|
Creates an empty frame.
Creates a frame that displays the resource at the specified URL.
url | the URL of the resource to be displayed |
---|
This constructor may be used by subclasses to explicitly use an existing element. This element must be an <iframe> element.
element | the element to be used |
---|
Sets the URL of the resource to be displayed within the frame.
url | the frame's new URL |
---|
Creates a Frame widget that wraps an existing <frame> element.
This element must already be attached to the document. If the element is
removed from the document, you must call
detachNow(Widget)
.
element | the element to be wrapped |
---|