Class DialogResult


  • public final class DialogResult
    extends java.lang.Object
    Specifies identifiers to indicate the return value of a message box.
    Since:
    1.3.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static DialogResult ABORT
      The message box return value is ABORT (usually sent from a button labeled ABORT).
      static DialogResult APPLY
      The message box return value is APPLY (usually sent from a button labeled APPLY).
      static DialogResult CANCEL
      The message box return value is CANCEL (usually sent from a button labeled CANCEL).
      static DialogResult CLOSE
      The message box return value is CLOSE (usually sent from a button labeled CLOSE).
      static DialogResult CONTINUE
      The message box return value is CONTINUE (usually sent from a button labeled CONTINUE).
      static DialogResult FINISH
      The message box return value is FINISH (usually sent from a button labeled FINISH).
      static DialogResult IGNORE
      The message box return value is IGNORE (usually sent from a button labeled IGNORE).
      static DialogResult NEXT
      The message box return value is NEXT (usually sent from a button labeled NEXT).
      static DialogResult NO
      The message box return value is NO (usually sent from a button labeled NO).
      static DialogResult NONE
      Nothing is returned from the message box.
      static DialogResult OK
      The message box return value is OK (usually sent from a button labeled OK).
      static DialogResult PREVIOUS
      The message box return value is PREVIOUS (usually sent from a button labeled PREVIOUS).
      static DialogResult RETRY
      The message box return value is RETRY (usually sent from a button labeled RETRY).
      static DialogResult SUBMIT
      The message box return value is SUBMIT (usually sent from a button labeled SUBMIT).
      static DialogResult TRYAGAIN
      The message box return value is TRYAGAIN (usually sent from a button labeled TRYAGAIN).
      static DialogResult YES
      The message box return value is YES (usually sent from a button labeled YES).
    • Constructor Summary

      Constructors 
      Constructor Description
      DialogResult()  
      DialogResult​(javafx.scene.control.ButtonType value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()
      Returns a string representation of the object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • OK

        public static final DialogResult OK
        The message box return value is OK (usually sent from a button labeled OK).
      • APPLY

        public static final DialogResult APPLY
        The message box return value is APPLY (usually sent from a button labeled APPLY).
      • CANCEL

        public static final DialogResult CANCEL
        The message box return value is CANCEL (usually sent from a button labeled CANCEL).
      • CLOSE

        public static final DialogResult CLOSE
        The message box return value is CLOSE (usually sent from a button labeled CLOSE).
      • FINISH

        public static final DialogResult FINISH
        The message box return value is FINISH (usually sent from a button labeled FINISH).
      • NEXT

        public static final DialogResult NEXT
        The message box return value is NEXT (usually sent from a button labeled NEXT).
      • NO

        public static final DialogResult NO
        The message box return value is NO (usually sent from a button labeled NO).
      • PREVIOUS

        public static final DialogResult PREVIOUS
        The message box return value is PREVIOUS (usually sent from a button labeled PREVIOUS).
      • YES

        public static final DialogResult YES
        The message box return value is YES (usually sent from a button labeled YES).
      • ABORT

        public static final DialogResult ABORT
        The message box return value is ABORT (usually sent from a button labeled ABORT).
      • RETRY

        public static final DialogResult RETRY
        The message box return value is RETRY (usually sent from a button labeled RETRY).
      • TRYAGAIN

        public static final DialogResult TRYAGAIN
        The message box return value is TRYAGAIN (usually sent from a button labeled TRYAGAIN).
      • IGNORE

        public static final DialogResult IGNORE
        The message box return value is IGNORE (usually sent from a button labeled IGNORE).
      • CONTINUE

        public static final DialogResult CONTINUE
        The message box return value is CONTINUE (usually sent from a button labeled CONTINUE).
      • SUBMIT

        public static final DialogResult SUBMIT
        The message box return value is SUBMIT (usually sent from a button labeled SUBMIT).
      • NONE

        public static final DialogResult NONE
        Nothing is returned from the message box.
    • Constructor Detail

      • DialogResult

        public DialogResult()
      • DialogResult

        public DialogResult​(javafx.scene.control.ButtonType value)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the object