インターフェース SingleItemSelector.SingleItemSelectorContext<T,I extends Nameable & Matchable & Itemable<T>>
- すべてのスーパーインターフェース:
AbstractSelectorComponent.SelectorComponentContext<T,,I, SingleItemSelector.SingleItemSelectorContext<T, I>> ComponentContext<SingleItemSelector.SingleItemSelectorContext<T,I>>
- 含まれているクラス:
- SingleItemSelector < T、I は Nameable & Matchable & Enableable & Selectable & Itemable < T >> を継承します
public static interface SingleItemSelector.SingleItemSelectorContext<T,I extends Nameable & Matchable & Itemable<T>>
extends AbstractSelectorComponent.SelectorComponentContext<T,I,SingleItemSelector.SingleItemSelectorContext<T,I>>
コンテキスト
SingleItemSelector。方法の概要
修飾子と型メソッド説明static <C,I extends Nameable & Matchable & Itemable<C>>
SingleItemSelector.SingleItemSelectorContext<C,I> empty()空のSingleItemSelector.SingleItemSelectorContextを作成します。static <C,I extends Nameable & Matchable & Itemable<C>>
SingleItemSelector.SingleItemSelectorContext<C,I> empty(FunctionSE<C, StringSE> itemMapper) 結果項目を取得します。getValue()値を取得します。インターフェース org.springframework.shell.jline.tui.component.support.AbstractSelectorComponent.SelectorComponentContext から継承されたメソッド
getCursorRow, getInput, getItems, getItemStates, getItemStateView, getName, getResultItems, isResult, setCursorRow, setInput, setItems, setItemStates, setItemStateView, setName, setResultItemsインターフェース org.springframework.shell.jline.tui.component.context.ComponentContext から継承されたメソッド
containsKey, get, get, getTerminalWidth, put, setTerminalWidth, stream, toTemplateModel
メソッドの詳細
getResultItem
OptionalSE<I> getResultItem()結果項目を取得します。- 戻り値:
- 結果項目
getValue
OptionalSE<StringSE> getValue()値を取得します。- 戻り値:
- 価値
empty
static <C,I extends Nameable & Matchable & Itemable<C>> SingleItemSelector.SingleItemSelectorContext<C,I> empty()空のSingleItemSelector.SingleItemSelectorContextを作成します。- 型パラメーター:
C- コンテキストの型- 戻り値:
- 空のコンテキスト
empty
static <C,I extends Nameable & Matchable & Itemable<C>> SingleItemSelector.SingleItemSelectorContext<C,I> empty(FunctionSE<C, StringSE> itemMapper) - 戻り値:
- コンテキスト