Class CmsFormParent

  • 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.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, java.lang.Iterable<com.google.gwt.user.client.ui.Widget>, I_CmsInlineFormParent

    public class CmsFormParent
    extends com.google.gwt.user.client.ui.ComplexPanel
    implements I_CmsInlineFormParent
    Inline form parent widget.

    Use to wrap any HTML element of the DOM as the parent of an inline form.

    • 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
      • Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

        com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
    • Field Summary

      • Fields inherited from class com.google.gwt.user.client.ui.UIObject

        DEBUG_ID_PREFIX
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsFormParent​(com.google.gwt.user.client.ui.RootPanel rootPanel)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void adoptWidget​(com.google.gwt.user.client.ui.IsWidget widget)
      Adopts the given widget as a child widget.
      protected com.google.gwt.user.client.ui.Widget getWidget()
      Provides subclasses access to the topmost widget that defines this panel.
      protected void initWidget​(com.google.gwt.user.client.ui.Widget widget)
      Sets the widget to be wrapped by the composite.
      boolean isAttached()  
      void onBrowserEvent​(com.google.gwt.user.client.Event event)  
      void replaceHtml​(java.lang.String html)
      Replaces the inner HTML of widget to reflect content data changes.
      • Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel

        add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
      • Methods inherited from class com.google.gwt.user.client.ui.Panel

        add, 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, isOrWasAttached, onAttach, 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • CmsFormParent

        public CmsFormParent​(com.google.gwt.user.client.ui.RootPanel rootPanel)
        Constructor.

        Parameters:
        rootPanel - the root panel to wrap
    • Method Detail

      • isAttached

        public boolean isAttached()
        Specified by:
        isAttached in interface com.google.gwt.event.logical.shared.HasAttachHandlers
        Overrides:
        isAttached in class com.google.gwt.user.client.ui.Widget
        See Also:
        Widget.isAttached()
      • onBrowserEvent

        public void onBrowserEvent​(com.google.gwt.user.client.Event event)
        Specified by:
        onBrowserEvent in interface com.google.gwt.user.client.EventListener
        Overrides:
        onBrowserEvent in class com.google.gwt.user.client.ui.Widget
        See Also:
        Widget.onBrowserEvent(com.google.gwt.user.client.Event)
      • getWidget

        protected com.google.gwt.user.client.ui.Widget getWidget()
        Provides subclasses access to the topmost widget that defines this panel.
        Returns:
        the widget
      • initWidget

        protected void initWidget​(com.google.gwt.user.client.ui.Widget widget)
        Sets the widget to be wrapped by the composite. The wrapped widget must be set before calling any Widget methods on this object, or adding it to a panel. This method may only be called once for a given composite.
        Parameters:
        widget - the widget to be wrapped