Class WSplitButton


public class WSplitButton extends WCompositeWidget
A split button.

A split button combines a button and a drop down menu. Typically, the button represents an action, with related alternative actions accessible from the drop down menu.

  • Constructor Details

  • Method Details

    • getActionButton

      public WPushButton getActionButton()
      Returns the action button.

      This is the button that represents the main action.

    • getDropDownButton

      public WPushButton getDropDownButton()
      Returns the drop down button.

      This represents the button that represents the drop-down action.

    • setMenu

      public void setMenu(WPopupMenu popupMenu)
      Sets the menu for the drop-down button.
    • getMenu

      public WPopupMenu getMenu()
      Returns the menu for the drop-down button.