Class CmsElementOptionBar

  • All Implemented Interfaces:,,,,,,,, I_CmsElementToolbarContext, I_CmsUniqueActiveItem

    public class CmsElementOptionBar
    implements,, I_CmsUniqueActiveItem, I_CmsElementToolbarContext
    A panel to be displayed inside a container element to provide optional functions like edit, move, remove...

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected class  CmsElementOptionBar.HoverHandler
      Hover handler for option bar.
      • Nested classes/interfaces inherited from class,
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activateToolbarContext()
      Show the toolbar.
      void add​( w)
      Adds another option button.
      protected void addHighlighting()
      Adds the highlighting and option bar. addMouseOutHandler​( handler) addMouseOverHandler​( handler)  
      void clear()
      Clears the bar.
      static CmsElementOptionBar createOptionBarForElement​(CmsContainerPageElementPanel element, CmsDNDHandler dndHandler, A_CmsToolbarOptionButton... buttons)
      Creates an option-bar for the given drag element.
      void deactivateToolbarContext()
      Hide the toolbar.
      int getCalculatedWidth()
      Returns the calculated width of the widget.
      protected CmsContainerPageElementPanel getContainerElement()
      Returns the parent container element.
      protected void internalRemoveHighlighting()
      Removes the highlighting.
      java.util.Iterator<> iterator()
      Returns an iterator for the child widgets.
      void onDeactivate()
      This method is called when the item is removed from a container.
      void removeHighlighting()
      Removes the highlighting and option bar.
      • 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