Class YesCancel
java.lang.Object
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.BasicDialogValue.PrimitivesSubset
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.Yes
net.adoptopenjdk.icedteaweb.ui.swing.dialogresults.YesCancel
- All Implemented Interfaces:
DialogResult
- Direct Known Subclasses:
YesCancelSkip
-
Field Summary
Fields inherited from class BasicDialogValue.PrimitivesSubset
value -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class BasicDialogValue.PrimitivesSubset
checkValue, compareValue, compareValue, equals, getValue, hashCode, toBoolean, writeValue
-
Constructor Details
-
YesCancel
-
-
Method Details
-
yes
-
cancel
-
readValue
-
getButtonIndex
public int getButtonIndex()Description copied from interface:DialogResultthe index of the button. By convention 0 = Yes. 1 = No, 2 = Cancel/sandbox- Specified by:
getButtonIndexin interfaceDialogResult- Overrides:
getButtonIndexin classYes- Returns:
- button to be preselected in dialogue
-
getAllowedValues
- Overrides:
getAllowedValuesin classYes
-