Package org.opencms.gwt.client.ui
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
,java.lang.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
-
-
Constructor Summary
Constructors Constructor Description CmsFlowPanel()
Default constructor.CmsFlowPanel(com.google.gwt.dom.client.Element 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(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
-
-
-
-
Constructor Detail
-
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(java.lang.String tag)
Creates an empty flow panel with a given tag name.- Parameters:
tag
- the HTML tag name to use
-
-
Method Detail
-
add
public void add(com.google.gwt.user.client.ui.Widget w)
Adds a new child widget to the panel.- Specified by:
add
in interfacecom.google.gwt.user.client.ui.HasWidgets
- Overrides:
add
in classcom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 insertbeforeIndex
- the position before which the widget should be inserted
-
-