Class ChoiceItem
java.lang.Object
org.jline.consoleui.elements.items.impl.ChoiceItem
- All Implemented Interfaces:
ChoiceItemIF,ConsoleUIItemIF,ListItemIF
-
Constructor Summary
ConstructorsConstructorDescriptionChoiceItem(Character key, String name, String message, boolean isDefaultChoice) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jline.consoleui.elements.items.ConsoleUIItemIF
getDisabledText, isDisabled
-
Constructor Details
-
ChoiceItem
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceChoiceItemIF
-
getName
- Specified by:
getNamein interfaceConsoleUIItemIF
-
getMessage
-
getText
- Specified by:
getTextin interfaceConsoleUIItemIF
-
isSelectable
public boolean isSelectable()- Specified by:
isSelectablein interfaceConsoleUIItemIF
-
isDefaultChoice
public boolean isDefaultChoice()- Specified by:
isDefaultChoicein interfaceChoiceItemIF
-