Class CmsFlowPanel

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
org.opencms.gwt.client.ui.CmsFlowPanel
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class CmsFlowPanel extends com.google.gwt.user.client.ui.ComplexPanel implements com.google.gwt.event.dom.client.HasAllMouseHandlers
A basic panel which is like GWT's FlowPanel, except it allows you to choose the HTML tag to use.

Implements HasAllMouseHandlers.

Since:
8.0.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

    com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

    com.google.gwt.user.client.ui.HasWidgets.ForIsWidget

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

    com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
  • Field Summary

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
    CmsFlowPanel(com.google.gwt.dom.client.Element element)
    Wrapping constructor.
    Creates an empty flow panel with a given tag name.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(com.google.gwt.user.client.ui.Widget w)
    Adds a new child widget to the panel.
    com.google.gwt.event.shared.HandlerRegistration
    addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
     
    com.google.gwt.event.shared.HandlerRegistration
    addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
     
    com.google.gwt.event.shared.HandlerRegistration
    addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
     
    com.google.gwt.event.shared.HandlerRegistration
    addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
     
    com.google.gwt.event.shared.HandlerRegistration
    addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
     
    com.google.gwt.event.shared.HandlerRegistration
    addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler)
     
    void
    insert(com.google.gwt.user.client.ui.Widget w, int beforeIndex)
    Inserts a widget at a given position.

    Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel

    add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove

    Methods inherited from class com.google.gwt.user.client.ui.Panel

    add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove

    Methods inherited from class com.google.gwt.user.client.ui.Widget

    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 com.google.gwt.user.client.ui.UIObject

    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 com.google.gwt.event.shared.HasHandlers

    fireEvent

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • CmsFlowPanel

      public CmsFlowPanel()
      Default constructor.

    • CmsFlowPanel

      public CmsFlowPanel(com.google.gwt.dom.client.Element element)
      Wrapping constructor.

      Parameters:
      element - the element to wrap
    • CmsFlowPanel

      @UiConstructor public CmsFlowPanel(String tag)
      Creates an empty flow panel with a given tag name.
      Parameters:
      tag - the HTML tag name to use
  • Method Details

    • add

      public void add(com.google.gwt.user.client.ui.Widget w)
      Adds a new child widget to the panel.
      Specified by:
      add in interface com.google.gwt.user.client.ui.HasWidgets
      Overrides:
      add in class com.google.gwt.user.client.ui.Panel
      Parameters:
      w - the widget to be added
    • addMouseDownHandler

      public com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
      Specified by:
      addMouseDownHandler in interface com.google.gwt.event.dom.client.HasMouseDownHandlers
      See Also:
      • HasMouseDownHandlers.addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler)
    • addMouseMoveHandler

      public com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
      Specified by:
      addMouseMoveHandler in interface com.google.gwt.event.dom.client.HasMouseMoveHandlers
      See Also:
      • HasMouseMoveHandlers.addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler)
    • addMouseOutHandler

      public com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
      Specified by:
      addMouseOutHandler in interface com.google.gwt.event.dom.client.HasMouseOutHandlers
      See Also:
      • HasMouseOutHandlers.addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler)
    • addMouseOverHandler

      public com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
      Specified by:
      addMouseOverHandler in interface com.google.gwt.event.dom.client.HasMouseOverHandlers
      See Also:
      • HasMouseOverHandlers.addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler)
    • addMouseUpHandler

      public com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
      Specified by:
      addMouseUpHandler in interface com.google.gwt.event.dom.client.HasMouseUpHandlers
      See Also:
      • HasMouseUpHandlers.addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler)
    • addMouseWheelHandler

      public com.google.gwt.event.shared.HandlerRegistration addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler)
      Specified by:
      addMouseWheelHandler in interface com.google.gwt.event.dom.client.HasMouseWheelHandlers
      See Also:
      • HasMouseWheelHandlers.addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler)
    • insert

      public void insert(com.google.gwt.user.client.ui.Widget w, int beforeIndex)
      Inserts a widget at a given position.

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