Class YesNo
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
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancompareValue(net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.BasicDialogValue.PrimitivesSubset with) booleancompareValue(Primitive with) booleangetValue()inthashCode()static YesNono()static YesNobooleanSimplified decision model whether dialog was approved or not.static YesNoyes()Methods inherited from class net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
getButtonIndex, toString
-
Field Details
-
value
-
-
Method Details
-
yes
-
no
-
readValue
-
getAllowedValues
- Overrides:
getAllowedValuesin classYes
-
writeValue
- Specified by:
writeValuein interfaceDialogResult
-
toBoolean
public boolean toBoolean()Description copied from interface:DialogResultSimplified decision model whether dialog was approved or not.- Specified by:
toBooleanin interfaceDialogResult- Returns:
- true only and only if dialog was approved
-
getValue
-
compareValue
-
compareValue
public boolean compareValue(net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.BasicDialogValue.PrimitivesSubset with) -
equals
-
hashCode
public int hashCode()
-