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

public class HorizontalToolbar extends AbstractBar
A horizontal Toolbar
  • Constructor Details

    • HorizontalToolbar

      public HorizontalToolbar()
    • HorizontalToolbar

      public HorizontalToolbar(HorizontalToolbar.Type type)
    • HorizontalToolbar

      public HorizontalToolbar(BarStyle style)
    • HorizontalToolbar

      public HorizontalToolbar(BarStyle style, String debugId)
  • Method Details

    • doAdd

      protected void doAdd(com.google.gwt.user.client.ui.IsWidget widget)
      Overrides:
      doAdd in class AbstractBar
    • setPosition

      public 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 to
      Parameters:
      target - Toolbar will be attached to target's EffectContainer absolute LayoutPanel
      selectionRect - Rectangle the toolbar will be aligned to
      gapSize - distance between rectangle and toolbar