Class CmsFormWidgetWrapper

  • All Implemented Interfaces:,,,<java.lang.String>,,,<java.lang.String>,<java.lang.String>,,,, I_CmsEditWidget, I_CmsFormEditWidget, I_CmsHasDisplayDirection, I_CmsHasResizeOnShow

    public class CmsFormWidgetWrapper
    implements I_CmsFormEditWidget,, I_CmsHasResizeOnShow, I_CmsHasDisplayDirection
    Wraps an edit widget to supply a widget label.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class,
    • Field Summary

      • Fields inherited from class

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description addFocusHandler​( handler) addResizeHandler​( handler) addValueChangeHandler​(<java.lang.String> handler)  
      I_CmsHasDisplayDirection.Direction getDisplayingDirection()
      Returns the display direction.
      I_CmsEditWidget getEditWidget()
      Gets the wrapped widget. getLabel()
      Returns the label widget.
      java.lang.String getValue()  
      boolean isActive()
      Returns if the widget is active.
      void onAttachWidget()
      This method is called when a widget is attached to the browser's document.
      boolean owns​( element)
      Returns true if the element should be logically counted as part of the widget for the purpose of determining whether a mouse click is "outside".
      void resizeOnShow()
      Adjusts widget's size once it's visible.
      void setActive​(boolean active)
      Sets the widget active/inactive.
      void setEditWidget​(I_CmsEditWidget editWidget)
      The edit widget needs to set, before the widget may be used.
      void setName​(java.lang.String name)
      Sets the name of input fields.
      void setValue​(java.lang.String value)  
      void setValue​(java.lang.String value, boolean fireEvent)  
      void setWidgetInfo​(java.lang.String label, java.lang.String help)
      Sets the widget label and help text.
      • Methods inherited from class

        claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
      • Methods inherited from class

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, 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, 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

      • Methods inherited from interface