Class SelectorList.DefaultSelectorList<T extends Nameable>
java.lang.Object
org.springframework.shell.component.support.SelectorList.DefaultSelectorList<T>
- All Implemented Interfaces:
SelectorList<T>
- Enclosing interface:
- SelectorList<T extends Nameable>
public static class SelectorList.DefaultSelectorList<T extends Nameable>
extends Object
implements SelectorList<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.shell.component.support.SelectorList
SelectorList.BaseProjectionItem<T extends Nameable>, SelectorList.DefaultSelectorList<T extends Nameable>, SelectorList.ProjectionItem<T> -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultSelectorList
public DefaultSelectorList(int max)
-
-
Method Details
-
reset
- Specified by:
resetin interfaceSelectorList<T extends Nameable>
-
getSelected
- Specified by:
getSelectedin interfaceSelectorList<T extends Nameable>
-
scrollUp
public void scrollUp()- Specified by:
scrollUpin interfaceSelectorList<T extends Nameable>
-
scrollDown
public void scrollDown()- Specified by:
scrollDownin interfaceSelectorList<T extends Nameable>
-
getProjection
- Specified by:
getProjectionin interfaceSelectorList<T extends Nameable>
-