Class ActivityButton


  • public class ActivityButton
    extends java.lang.Object
    Action button attached to activity.
    • Method Detail

      • create

        public static ActivityButton create​(java.lang.String title,
                                            Action action)
        Create a new button with title and action.
        Parameters:
        title - Title of the button in UI.
        action - Action to be performed when button is clicked.
        Returns:
        new instance.
      • getAction

        public Action getAction()
        Returns:
        action to perform on button click.
      • getTitle

        public java.lang.String getTitle()
        Returns:
        title to display on the button in UI.