|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSimplePanel
com.vaadin.client.ui.VUI
public class VUI
| Field Summary | |
|---|---|
ShortcutActionHandler |
actionHandler
For internal use only. |
ApplicationConnection |
connection
For internal use only. |
java.lang.String |
currentFragment
The current URI fragment, used to avoid sending updates if nothing has changed. |
java.lang.String |
id
For internal use only. |
boolean |
immediate
For internal use only. |
boolean |
resizeLazy
For internal use only. |
| Constructor Summary | |
|---|---|
VUI()
|
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addResizeHandler(com.google.gwt.event.logical.shared.ResizeHandler resizeHandler)
|
com.google.gwt.event.shared.HandlerRegistration |
addScrollHandler(ScrollHandler scrollHandler)
|
void |
focus()
Sets focus to this widget. |
void |
focusStoredElement()
Restores the previously stored focus Element. |
ShortcutActionHandler |
getShortcutActionHandler()
Returns the ShortCutActionHandler currently used or null if there is currently no shortcutactionhandler |
int |
getTabIndex()
|
java.lang.String |
getTheme()
Deprecated. as of 7.3. Use UIConnector.getActiveTheme() instead. |
static void |
goTo(java.lang.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. |
void |
makeScrollable()
Ensures the widget is scrollable eg. |
protected void |
onAttach()
|
void |
onBrowserEvent(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(Window.ClosingEvent event)
|
protected void |
performSizeCheck()
Called when the window or parent div might have been resized. |
void |
sendClientResized()
Send new dimensions to the server. |
void |
setAccessKey(char key)
|
void |
setFocus(boolean focused)
|
void |
setTabIndex(int index)
|
void |
storeFocus()
Allows to store the currently focused Element. |
protected void |
windowSizeMaybeChanged(int newWindowWidth,
int newWindowHeight)
Deprecated. use performSizeCheck() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Field Detail |
|---|
public java.lang.String id
public ShortcutActionHandler actionHandler
public ApplicationConnection connection
public boolean immediate
public boolean resizeLazy
public java.lang.String currentFragment
For internal use only. May be removed or replaced in the future.
| Constructor Detail |
|---|
public VUI()
| Method Detail |
|---|
protected void onLoad()
protected void onAttach()
protected void onDetach()
protected void onUnload()
protected void performSizeCheck()
@Deprecated
protected void windowSizeMaybeChanged(int newWindowWidth,
int newWindowHeight)
performSizeCheck()
newWindowWidth - The new width of the windownewWindowHeight - The new height of the window@Deprecated public java.lang.String getTheme()
UIConnector.getActiveTheme() instead.
public boolean isEmbedded()
protected boolean isMonitoringParentSize()
public void onBrowserEvent(Event event)
public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
onResize in interface com.google.gwt.event.logical.shared.ResizeHandlerpublic void sendClientResized()
For internal use only. May be removed or replaced in the future.
public static void goTo(java.lang.String url)
public void onWindowClosing(Window.ClosingEvent event)
public ShortcutActionHandler getShortcutActionHandler()
ShortcutActionHandler.ShortcutActionHandlerOwner
getShortcutActionHandler in interface ShortcutActionHandler.ShortcutActionHandlerOwnerpublic void focus()
Focusable
focus in interface Focusablepublic void makeScrollable()
For internal use only. May be removed or replaced in the future.
public com.google.gwt.event.shared.HandlerRegistration addResizeHandler(com.google.gwt.event.logical.shared.ResizeHandler resizeHandler)
addResizeHandler in interface com.google.gwt.event.logical.shared.HasResizeHandlerspublic com.google.gwt.event.shared.HandlerRegistration addScrollHandler(ScrollHandler scrollHandler)
public int getTabIndex()
public void setAccessKey(char key)
public void setFocus(boolean focused)
public void setTabIndex(int index)
public void storeFocus()
focusedElement - public void focusStoredElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||