Class AbstractBar

java.lang.Object
com.levigo.jadice.web.client.ui.AbstractBar
All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget, Bar
Direct Known Subclasses:
HorizontalToolbar, MenuBar, ToolbarSubmenu, VerticalToolbar

public abstract class AbstractBar extends Object implements Bar
The Basic parts of a Toolbar
See Also:
  • Constructor Details

  • Method Details

    • getChildren

      protected com.google.gwt.user.client.ui.InsertPanel.ForIsWidget getChildren()
    • getStyle

      public BarStyle getStyle()
    • hasPlaceHolder

      protected boolean hasPlaceHolder()
      Placeholder between left and right
      Returns:
      true, when u need a placeholder
    • asWidget

      public com.google.gwt.user.client.ui.Widget asWidget()
      Specified by:
      asWidget in interface com.google.gwt.user.client.ui.IsWidget
    • add

      public void add(com.google.gwt.user.client.ui.IsWidget widget)
      Description copied from interface: Bar
      Add a Widget to the Toolbar When a JadiceButton has been added, it will be managed.
      Specified by:
      add in interface Bar
      Parameters:
      widget - the Widget to add
    • doAdd

      protected void doAdd(com.google.gwt.user.client.ui.IsWidget widget)
    • addLast

      public void addLast(com.google.gwt.user.client.ui.IsWidget widget)
      Description copied from interface: Bar
      Add a Widget to the Toolbar AFTER the PlaceHolder When a JadiceButton has been added, it will be managed.
      Specified by:
      addLast in interface Bar
      Parameters:
      widget - the Widget to add
    • addSeparator

      public void addSeparator()
      Description copied from interface: Bar
      Adds a Separator to separate ButtonGroups
      Specified by:
      addSeparator in interface Bar
    • doAddSeparator

      protected void doAddSeparator()
    • clear

      public void clear()
    • getWidgets

      public List<com.google.gwt.user.client.ui.IsWidget> getWidgets()