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
-
Method Summary
-
Constructor Details
-
DefaultSelectorList
public DefaultSelectorList(int max)
-
-
Method Details
-
reset
- Specified by:
reset
in interfaceSelectorList<T extends Nameable>
-
getSelected
- Specified by:
getSelected
in interfaceSelectorList<T extends Nameable>
-
scrollUp
public void scrollUp()- Specified by:
scrollUp
in interfaceSelectorList<T extends Nameable>
-
scrollDown
public void scrollDown()- Specified by:
scrollDown
in interfaceSelectorList<T extends Nameable>
-
getProjection
- Specified by:
getProjection
in interfaceSelectorList<T extends Nameable>
-