Class SimpleFormDialog.DialogActions

java.lang.Object
eltos.simpledialogfragment.form.SimpleFormDialog.FocusActions
eltos.simpledialogfragment.form.SimpleFormDialog.DialogActions
Enclosing class:
SimpleFormDialog

public class SimpleFormDialog.DialogActions extends SimpleFormDialog.FocusActions
  • Method Details

    • updatePosButtonState

      public void updatePosButtonState()
      Helper to request an update of the positive button state
    • isOnlyFocusableElement

      public boolean isOnlyFocusableElement()
      Check if this is the only (focusable) element
      Returns:
      true if this is the only (focusable) element
    • isLastFocusableElement

      public boolean isLastFocusableElement()
      Check if this is the last (focusable) element
      Returns:
      true if this is the last (focusable) element
    • continueWithNextElement

      public void continueWithNextElement(boolean mayPressPositiveButtonIfLast)
      Helper to move the focus to the next element or to simulate a positive button press if this is the last element
      Parameters:
      mayPressPositiveButtonIfLast - whether the positive button can be pressed if this was the last element
    • showDialog

      public void showDialog(SimpleDialog dialog, String tag)