Class CmsListTab

  • All Implemented Interfaces:,,,,,, I_CmsTruncable

    public class CmsListTab
    implements I_CmsTruncable
    Tab widget to display a CmsList.

    • Nested Class Summary

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

      Modifier and Type Field Description
      static java.lang.String TM_LITST_MENU
      Text metrics key for truncation.
      • Fields inherited from class

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addClearListButton​( clickHandler)
      Adds a clear list button to the tab.
      int getRequiredHeight()
      Returns the required height.
      CmsScrollPanel getScrollPanel()
      Returns the scroll panel.
      void setClearButtonEnabled​(boolean enabled)
      Sets the clear list button enabled.
      void truncate​(java.lang.String textMetricsKey, int clientWidth)
      Truncates long text and sets the original text to the title attribute.
      • 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
    • Method Detail

      • addClearListButton

        public void addClearListButton​( clickHandler)
        Adds a clear list button to the tab.

        clickHandler - the button click handler
      • getRequiredHeight

        public int getRequiredHeight()
        Returns the required height.

        the height
      • setClearButtonEnabled

        public void setClearButtonEnabled​(boolean enabled)
        Sets the clear list button enabled.

        enabled - true to enable the button