Class YesNoSandboxLimited
java.lang.Object
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesNo
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesNoSandbox
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesNoSandboxLimited
- All Implemented Interfaces:
DialogResult
Special case for AppTrustWarningPanel extensions.
Its behaviour is same as YesNo, but if some extension Need sandbox, it can safely use
YesNoSandbox, and it will be correctly eaten.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleancompareValue(net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.BasicDialogValue.PrimitivesSubset with) booleancompareValue(Primitive with) booleangetValue()inthashCode()static YesNoSandboxLimitedno()static YesNoSandboxLimitedstatic YesNoSandboxLimitedsandbox()booleanSimplified decision model whether dialog was approved or not.static YesNoSandboxLimitedyes()Methods inherited from class net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
getButtonIndex, toString
-
Field Details
-
value
-
-
Method Details
-
yes
-
no
-
sandbox
-
readValue
-
getAllowedValues
- Overrides:
getAllowedValuesin classYesNoSandbox
-
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()
-