Class CmsFormParent

  • All Implemented Interfaces:,,,,,,,,, java.lang.Iterable<>, I_CmsInlineFormParent

    public class CmsFormParent
    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,
      • Nested classes/interfaces inherited from interface
      • Nested classes/interfaces inherited from interface
    • Field Summary

      • Fields inherited from class

    • Constructor Summary

      Constructor Description
      CmsFormParent​( rootPanel)
    • Method Summary

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

        add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
      • Methods inherited from class

        add, add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
      • Methods inherited from class

        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

        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​( rootPanel)

        rootPanel - the root panel to wrap
    • Method Detail

      • isAttached

        public boolean isAttached()
        Specified by:
        isAttached in interface
        isAttached in class
        See Also:
      • onBrowserEvent

        public void onBrowserEvent​( event)
        Specified by:
        onBrowserEvent in interface
        onBrowserEvent in class
        See Also:
      • getWidget

        protected getWidget()
        Provides subclasses access to the topmost widget that defines this panel.
        the widget
      • initWidget

        protected void initWidget​( 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.
        widget - the widget to be wrapped