java.lang.Object
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesNo
All Implemented Interfaces:
DialogResult
Direct Known Subclasses:
YesNoCancel, YesNoSandbox

public class YesNo extends Yes
  • Field Details

  • Method Details

    • yes

      public static YesNo yes()
    • no

      public static YesNo no()
    • readValue

      public static YesNo readValue(String s)
    • getAllowedValues

      public EnumSet<Primitive> getAllowedValues()
      Overrides:
      getAllowedValues in class Yes
    • 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