Package com.levigo.jadice.web.client.ui
Class HorizontalToolbar
java.lang.Object
com.levigo.jadice.web.client.ui.AbstractBar
com.levigo.jadice.web.client.ui.HorizontalToolbar
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget
,Bar
- Direct Known Subclasses:
Statusbar
A horizontal Toolbar
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static enum
-
Constructor Summary
ConstructorsConstructorDescriptionHorizontalToolbar
(BarStyle style) HorizontalToolbar
(BarStyle style, String debugId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doAdd
(com.google.gwt.user.client.ui.IsWidget widget) void
setPosition
(ViewComponent target, Rectangle2D selectionRect, int gapSize) Sets position of toolbar, aligns it on top of given selection rectangle, Toolbar will be added to target if it isn't already attached toMethods inherited from class com.levigo.jadice.web.client.ui.AbstractBar
add, addLast, addSeparator, asWidget, clear, doAddSeparator, getChildren, getStyle, getWidgets, hasPlaceHolder
-
Constructor Details
-
HorizontalToolbar
public HorizontalToolbar() -
HorizontalToolbar
-
HorizontalToolbar
-
HorizontalToolbar
-
-
Method Details
-
doAdd
protected void doAdd(com.google.gwt.user.client.ui.IsWidget widget) - Overrides:
doAdd
in classAbstractBar
-
setPosition
Sets position of toolbar, aligns it on top of given selection rectangle, Toolbar will be added to target if it isn't already attached to- Parameters:
target
- Toolbar will be attached to target's EffectContainer absolute LayoutPanelselectionRect
- Rectangle the toolbar will be aligned togapSize
- distance between rectangle and toolbar
-