Class CmsVUI

  • All Implemented Interfaces:
    com.google.gwt.event.dom.client.HasScrollHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasResizeHandlers, com.google.gwt.event.logical.shared.ResizeHandler, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.Focusable, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.Window.ClosingHandler, com.vaadin.client.Focusable, com.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>

    public class CmsVUI
    extends com.vaadin.client.ui.VUI
    UI widget overriding some functionality from the Vaadin implementation.

    • 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

      Fields 
      Modifier and Type Field Description
      static CmsVUI INSTANCE
      The current instance.
      • Fields inherited from class com.vaadin.client.ui.VUI

        actionHandler, connection, id, resizeLazy
      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsVUI()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clearStoredFocus()
      Clears the stored focus.
      static void clearStoredFocusForCurrentInstance()
      Clears the stored focus for the current UI instance.
      void focusStoredElement()  
      protected void onLoad()  
      void storeFocus()  
      • Methods inherited from class com.vaadin.client.ui.VUI

        addResizeHandler, addScrollHandler, focus, getShortcutActionHandler, getTabIndex, getTheme, goTo, isEmbedded, isMonitoringParentSize, makeScrollable, onResize, onUnload, onWindowClosing, performSizeCheck, sendClientResized, setAccessKey, setFocus, setTabIndex, windowSizeMaybeChanged
      • 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, clear, 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, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.gwt.event.shared.HasHandlers

        fireEvent
      • Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets

        add, clear, iterator, remove
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

    • Method Detail

      • clearStoredFocusForCurrentInstance

        public static void clearStoredFocusForCurrentInstance()
        Clears the stored focus for the current UI instance.

        Useful when you want more explicit control over the focus after closing a window.

      • clearStoredFocus

        public void clearStoredFocus()
        Clears the stored focus.

        Use this when you want to set the focus explicitly after closing a Vaadin window.

      • focusStoredElement

        public void focusStoredElement()
        Overrides:
        focusStoredElement in class com.vaadin.client.ui.VUI
        See Also:
        VUI.focusStoredElement()
      • storeFocus

        public void storeFocus()
        Overrides:
        storeFocus in class com.vaadin.client.ui.VUI
        See Also:
        VUI.storeFocus()
      • onLoad

        protected void onLoad()
        Overrides:
        onLoad in class com.vaadin.client.ui.VUI
        See Also:
        VUI.onLoad()