Class Dialogs.Result

  • Enclosing class:
    Dialogs

    public static class Dialogs.Result
    extends java.lang.Object
    The result of showing an "apply to all" dialog.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean applyToAll
      True if the user checked the "Apply to all" checkbox.
      java.lang.Object button
      The button clicked by the user (either a String or Dialogs.DialogAction).
    • Constructor Summary

      Constructors 
      Constructor Description
      Result​(java.lang.Object button, boolean applyToAll)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • button

        public final java.lang.Object button
        The button clicked by the user (either a String or Dialogs.DialogAction). One of the objects passed to the DialogOptions constructor.
      • applyToAll

        public final boolean applyToAll
        True if the user checked the "Apply to all" checkbox.
    • Constructor Detail

      • Result

        public Result​(java.lang.Object button,
                      boolean applyToAll)
        Parameters:
        button - the button object passed in to the constructor of DialogOptions that corresponds to the button clicked by the user (either a String or Dialogs.DialogAction).
        applyToAll - whether to apply this action in all cases