Class YesNoCancel
java.lang.Object
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesNo
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesNoCancel
- All Implemented Interfaces:
DialogResult
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic YesNoCancelcancel()booleancompareValue(net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.BasicDialogValue.PrimitivesSubset with) booleancompareValue(Primitive with) booleangetValue()inthashCode()static YesNoCancelno()static YesNoCancelbooleanSimplified decision model whether dialog was approved or not.static YesNoCancelyes()Methods inherited from class net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
getButtonIndex, toString
-
Field Details
-
value
-
-
Method Details
-
yes
-
no
-
cancel
-
readValue
-
getAllowedValues
- Overrides:
getAllowedValuesin classYesNo
-
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()
-