com.vaadin.client.ui.

Class VAbsoluteLayout.AbsoluteWrapper

  • 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.client.ui.VAbsoluteLayout.AbsoluteWrapper
  • All Implemented Interfaces:

    com.google.gwt.event.logical.shared.HasAttachHandlers, 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.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, Iterable<com.google.gwt.user.client.ui.Widget>

    Enclosing class:

    VAbsoluteLayout

    protected class VAbsoluteLayout.AbsoluteWrapper
    extends com.google.gwt.user.client.ui.SimplePanel

    Internal wrapper for wrapping widgets in the Absolute layout.

    • 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 inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Constructor Summary

      Constructors
      Constructor Description
      AbsoluteWrapper​(com.google.gwt.user.client.ui.Widget child)

      Constructor.

    • Method Summary

      All Methods
      Modifier and Type Method Description
      void destroy()

      Removes the wrapper caption and itself from the layout.

      VCaption getCaption()

      Get the caption of the wrapper.

      void setCaption​(VCaption caption)

      Set the caption for the wrapper.

      void setPosition​(String position)

      Set the position for the wrapper in the layout.

      void setWrapperStyleNames​(String... stylenames)

      Sets the style names of the wrapper.

      protected void updateStyleNames()

      Updates the style names using the primary style name as prefix.

      • 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, onLoad, onUnload, 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
    • Constructor Detail

      • AbsoluteWrapper

        public AbsoluteWrapper​(com.google.gwt.user.client.ui.Widget child)

        Constructor.

        Parameters:

        child - The child to wrap

    • Method Detail

      • getCaption

        public VCaption getCaption()

        Get the caption of the wrapper.

      • setCaption

        public void setCaption​(VCaption caption)

        Set the caption for the wrapper.

        Parameters:

        caption - The caption for the wrapper

      • destroy

        public void destroy()

        Removes the wrapper caption and itself from the layout.

      • setPosition

        public void setPosition​(String position)

        Set the position for the wrapper in the layout.

        Parameters:

        position - The position string

      • setWrapperStyleNames

        public void setWrapperStyleNames​(String... stylenames)

        Sets the style names of the wrapper. Will be prefixed with the v-absolutelayout-wrapper prefix

        Parameters:

        stylenames - The wrapper style names

      • updateStyleNames

        protected void updateStyleNames()

        Updates the style names using the primary style name as prefix.