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