Class MultiActionDialog

  • All Implemented Interfaces:
    Dialog

    public final class MultiActionDialog
    extends Object
    implements Dialog
    Represents a dialog with text a list of action buttons grouped into columns and scrollable if necessary.
    • Method Detail

      • getBase

        public DialogBase getBase()
        Description copied from interface: Dialog
        Gets the dialog base which contains the dialog title and other options common to all types of dialogs.
        Specified by:
        getBase in interface Dialog
        Returns:
        mutable reference to the dialog base
      • actions

        public List<DialogClickAction> actions()
        The action buttons in the dialog. At least one must be provided.
      • columns

        public int columns()
        The number of columns for the dialog buttons (default: 2).
      • setBase

        public void setBase​(DialogBase base)
        Description copied from interface: Dialog
        Sets the dialog base.
        For internal use only as this is mandatory and should be specified in the constructor.
        Specified by:
        setBase in interface Dialog
        Parameters:
        base - the new dialog base
      • columns

        public MultiActionDialog columns​(int columns)
        The number of columns for the dialog buttons (default: 2).
        Returns:
        this.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object