Package org.jline.consoleui.elements
Class Checkbox
- java.lang.Object
-
- org.jline.consoleui.elements.AbstractPromptableElement
-
- org.jline.consoleui.elements.Checkbox
-
- All Implemented Interfaces:
PromptableElementIF
public class Checkbox extends AbstractPromptableElement
-
-
Field Summary
-
Fields inherited from class org.jline.consoleui.elements.AbstractPromptableElement
message, name
-
-
Constructor Summary
Constructors Constructor Description Checkbox(java.lang.String message, java.lang.String name, int pageSize, PageSizeType pageSizeType, java.util.List<CheckboxItemIF> checkboxItemList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CheckboxItemIF>getCheckboxItemList()java.lang.StringgetMessage()intgetPageSize()PageSizeTypegetPageSizeType()-
Methods inherited from class org.jline.consoleui.elements.AbstractPromptableElement
getName
-
-
-
-
Constructor Detail
-
Checkbox
public Checkbox(java.lang.String message, java.lang.String name, int pageSize, PageSizeType pageSizeType, java.util.List<CheckboxItemIF> checkboxItemList)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Specified by:
getMessagein interfacePromptableElementIF- Overrides:
getMessagein classAbstractPromptableElement
-
getCheckboxItemList
public java.util.List<CheckboxItemIF> getCheckboxItemList()
-
getPageSize
public int getPageSize()
-
getPageSizeType
public PageSizeType getPageSizeType()
-
-