Class YesNoSandbox
java.lang.Object
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesNo
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesNoSandbox
- All Implemented Interfaces:
DialogResult
- Direct Known Subclasses:
YesNoSandboxLimited
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancompareValue(net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.BasicDialogValue.PrimitivesSubset with) booleancompareValue(Primitive with) booleangetValue()inthashCode()static YesNoSandboxno()static YesNoSandboxstatic YesNoSandboxsandbox()booleanSimplified decision model whether dialog was approved or not.static YesNoSandboxyes()Methods inherited from class net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
getButtonIndex, toString
-
Field Details
-
value
-
-
Constructor Details
-
YesNoSandbox
-
-
Method Details
-
yes
-
no
-
sandbox
-
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()
-