Class CmsFlowPanel

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

    public class CmsFlowPanel
    A basic panel which is like GWT's FlowPanel, except it allows you to choose the HTML tag to use.

    Implements HasAllMouseHandlers.

    • 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
      Default constructor.
      CmsFlowPanel​( element)
      Wrapping constructor.
      CmsFlowPanel​(java.lang.String tag)
      Creates an empty flow panel with a given tag name.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​( w)
      Adds a new child widget to the panel. addMouseDownHandler​( handler) addMouseMoveHandler​( handler) addMouseOutHandler​( handler) addMouseOverHandler​( handler) addMouseUpHandler​( handler) addMouseWheelHandler​( handler)  
      void insert​( w, int beforeIndex)
      Inserts a widget at a given position.
      • Methods inherited from class

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

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

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

      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • CmsFlowPanel

        public CmsFlowPanel​( element)
        Wrapping constructor.

        element - the element to wrap
      • CmsFlowPanel

        public CmsFlowPanel​(java.lang.String tag)
        Creates an empty flow panel with a given tag name.
        tag - the HTML tag name to use
    • Method Detail

      • add

        public void add​( w)
        Adds a new child widget to the panel.
        Specified by:
        add in interface
        add in class
        w - the widget to be added
      • addMouseDownHandler

        public addMouseDownHandler​( handler)
        Specified by:
        addMouseDownHandler in interface
        See Also:
      • addMouseMoveHandler

        public addMouseMoveHandler​( handler)
        Specified by:
        addMouseMoveHandler in interface
        See Also:
      • addMouseOutHandler

        public addMouseOutHandler​( handler)
        Specified by:
        addMouseOutHandler in interface
        See Also:
      • addMouseOverHandler

        public addMouseOverHandler​( handler)
        Specified by:
        addMouseOverHandler in interface
        See Also:
      • addMouseUpHandler

        public addMouseUpHandler​( handler)
        Specified by:
        addMouseUpHandler in interface
        See Also:
      • addMouseWheelHandler

        public addMouseWheelHandler​( handler)
        Specified by:
        addMouseWheelHandler in interface
        See Also:
      • insert

        public void insert​( w,
                           int beforeIndex)
        Inserts a widget at a given position.

        w - the widget to insert
        beforeIndex - the position before which the widget should be inserted