|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Panel com.google.gwt.user.client.ui.SimplePanel com.vaadin.terminal.gwt.client.ui.root.VRoot
public class VRoot
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Field Summary | |
---|---|
static String |
BROWSER_HEIGHT_VAR
|
static String |
BROWSER_WIDTH_VAR
|
static String |
CLICK_EVENT_ID
Identifies the click event |
static String |
FRAGMENT_VARIABLE
|
static String |
NOTIFICATION_HTML_CONTENT_NOT_ALLOWED
|
static String |
RESIZE_LAZY
Attribute name for the lazy resize setting . |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
VRoot()
|
Method Summary | |
---|---|
void |
focus()
Sets focus to this widget. |
ShortcutActionHandler |
getShortcutActionHandler()
Returns the ShortCutActionHandler currently used or null if there is currently no shortcutactionhandler |
String |
getTheme()
|
static void |
goTo(String url)
|
boolean |
isEmbedded()
Returns true if the body is NOT generated, i.e if someone else has made the page that we're running in. |
protected boolean |
isMonitoringParentSize()
Returns true if the size of the parent should be checked periodically and the application should react to its changes. |
protected void |
onAttach()
|
void |
onBrowserEvent(com.google.gwt.user.client.Event event)
|
protected void |
onDetach()
|
protected void |
onLoad()
Start to periodically monitor for parent element resizes if embedded application (e.g. |
void |
onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
|
protected void |
onUnload()
Stop monitoring for parent element resizes. |
void |
onWindowClosing(com.google.gwt.user.client.Window.ClosingEvent event)
|
protected void |
performSizeCheck()
Called when the window or parent div might have been resized. |
protected void |
windowSizeMaybeChanged(int newWindowWidth,
int newWindowHeight)
Deprecated. use performSizeCheck() |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
---|
add, getContainerElement, getWidget, iterator, remove, setWidget, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
add, adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, orphan, remove |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
add, clear, iterator, remove |
Field Detail |
---|
public static final String FRAGMENT_VARIABLE
public static final String BROWSER_HEIGHT_VAR
public static final String BROWSER_WIDTH_VAR
public static final String NOTIFICATION_HTML_CONTENT_NOT_ALLOWED
public static final String CLICK_EVENT_ID
public static final String RESIZE_LAZY
Constructor Detail |
---|
public VRoot()
Method Detail |
---|
protected void onLoad()
onLoad
in class com.google.gwt.user.client.ui.Widget
protected void onAttach()
onAttach
in class com.google.gwt.user.client.ui.Widget
protected void onDetach()
onDetach
in class com.google.gwt.user.client.ui.Widget
protected void onUnload()
onUnload
in class com.google.gwt.user.client.ui.Widget
protected void performSizeCheck()
@Deprecated protected void windowSizeMaybeChanged(int newWindowWidth, int newWindowHeight)
performSizeCheck()
newWindowWidth
- The new width of the windownewWindowHeight
- The new height of the windowpublic String getTheme()
public boolean isEmbedded()
protected boolean isMonitoringParentSize()
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent
in interface com.google.gwt.user.client.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Widget
public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
onResize
in interface com.google.gwt.event.logical.shared.ResizeHandler
public static void goTo(String url)
public void onWindowClosing(com.google.gwt.user.client.Window.ClosingEvent event)
onWindowClosing
in interface com.google.gwt.user.client.Window.ClosingHandler
public ShortcutActionHandler getShortcutActionHandler()
ShortcutActionHandler.ShortcutActionHandlerOwner
getShortcutActionHandler
in interface ShortcutActionHandler.ShortcutActionHandlerOwner
public void focus()
Focusable
focus
in interface Focusable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |