Package org.jline.consoleui.elements
Class ConfirmChoice
- java.lang.Object
-
- org.jline.consoleui.elements.AbstractPromptableElement
-
- org.jline.consoleui.elements.ConfirmChoice
-
- All Implemented Interfaces:
PromptableElementIF
public class ConfirmChoice extends AbstractPromptableElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfirmChoice.ConfirmationValue
-
Field Summary
-
Fields inherited from class org.jline.consoleui.elements.AbstractPromptableElement
message, name
-
-
Constructor Summary
Constructors Constructor Description ConfirmChoice(java.lang.String message, java.lang.String name)
ConfirmChoice(java.lang.String message, java.lang.String name, ConfirmChoice.ConfirmationValue defaultConfirmation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfirmChoice.ConfirmationValue
getDefaultConfirmation()
-
Methods inherited from class org.jline.consoleui.elements.AbstractPromptableElement
getMessage, getName
-
-
-
-
Constructor Detail
-
ConfirmChoice
public ConfirmChoice(java.lang.String message, java.lang.String name)
-
ConfirmChoice
public ConfirmChoice(java.lang.String message, java.lang.String name, ConfirmChoice.ConfirmationValue defaultConfirmation)
-
-
Method Detail
-
getDefaultConfirmation
public ConfirmChoice.ConfirmationValue getDefaultConfirmation()
-
-