|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Frame
public class Frame
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
Frame()
Creates an empty frame. |
|
Frame(java.lang.String url)
Creates a frame that displays the resource at the specified URL. |
|
| Method Summary | |
|---|---|
java.lang.String |
getUrl()
Gets the URL of the frame's resource. |
void |
setUrl(java.lang.String url)
Sets the URL of the resource to be displayed within the frame. |
static Frame |
wrap(Element element)
Creates a Frame widget that wraps an existing <frame> element. |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Frame()
public Frame(java.lang.String url)
url - the URL of the resource to be displayed| Method Detail |
|---|
public static Frame wrap(Element element)
RootPanel.detachNow(Widget).
element - the element to be wrappedpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url - the frame's new URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||