All Implemented Interfaces:
DialogResult

public class YesNoCancel extends YesNo
  • Field Details

  • Method Details

    • yes

      public static YesNoCancel yes()
    • no

      public static YesNoCancel no()
    • cancel

      public static YesNoCancel cancel()
    • readValue

      public static YesNoCancel readValue(String s)
    • getAllowedValues

      public EnumSet<Primitive> getAllowedValues()
      Overrides:
      getAllowedValues in class YesNo
    • writeValue

      public String writeValue()
      Specified by:
      writeValue in interface DialogResult
    • toBoolean

      public boolean toBoolean()
      Description copied from interface: DialogResult
      Simplified decision model whether dialog was approved or not.
      Specified by:
      toBoolean in interface DialogResult
      Returns:
      true only and only if dialog was approved
    • getValue

      public Primitive getValue()
    • compareValue

      public boolean compareValue(Primitive with)
    • compareValue

      public boolean compareValue(net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.BasicDialogValue.PrimitivesSubset with)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object