Class JadiceSubmenuButton

All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget, Bar, HasPreferedPopupPosition

public class JadiceSubmenuButton extends JadiceDefaultButton implements Bar
A Button used to open a sub-menus.
  • Constructor Details

    • JadiceSubmenuButton

      public JadiceSubmenuButton(Action action)
    • JadiceSubmenuButton

      public JadiceSubmenuButton(Action action, boolean showLabel)
    • JadiceSubmenuButton

      public JadiceSubmenuButton(Action action, boolean showLabel, JadiceButtonStyle css)
    • JadiceSubmenuButton

      public JadiceSubmenuButton(Action action, boolean showLabel, JadiceButtonStyle css, PopupExecutor popupExecutor)
  • Method Details

    • setAlignment

      public void setAlignment(JadiceSubmenuButton.Alignment alignment)
    • 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
    • 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
    • setSubMenuDebugId

      @Deprecated public void setSubMenuDebugId(String debugId)
      Deprecated.
      Do only use for testing and for sure not in production!
      Parameters:
      debugId - the id attribute of the HTML tag that gwt creates