インターフェースの使用
org.springframework.shell.jline.tui.component.flow.NumberInputSpec
NumberInputSpec を使用するパッケージ
org.springframework.shell.jline.tui.component.flow 内の NumberInputSpec 使用
修飾子と型メソッド説明BaseNumberInput.defaultValue(NumberSE defaultValue) NumberInputSpec.defaultValue(NumberSE defaultValue) デフォルト値を設定します。BaseNumberInput.getThis()名前を設定します。BaseNumberInput.next(FunctionSE<NumberInput.NumberInputContext, StringSE> next) NumberInputSpec.next(FunctionSE<NumberInput.NumberInputContext, StringSE> next) 次のコンポーネントの ID を返す関数を定義します。BaseNumberInput.numberClass(ClassSE<? extends NumberSE> clazz) NumberInputSpec.numberClass(ClassSE<? extends NumberSE> clazz) 数値のクラスを設定します。BaseNumberInput.postHandler(ConsumerSE<NumberInput.NumberInputContext> handler) NumberInputSpec.postHandler(ConsumerSE<NumberInput.NumberInputContext> handler) 実行後のコンテキストハンドラーを追加します。BaseNumberInput.preHandler(ConsumerSE<NumberInput.NumberInputContext> handler) NumberInputSpec.preHandler(ConsumerSE<NumberInput.NumberInputContext> handler) 実行前のコンテキストハンドラーを追加します。BaseNumberInput.renderer(FunctionSE<NumberInput.NumberInputContext, ListSE<org.jline.utils.AttributedString>> renderer) NumberInputSpec.renderer(FunctionSE<NumberInput.NumberInputContext, ListSE<org.jline.utils.AttributedString>> renderer) レンダラー関数を設定します。BaseNumberInput.required()NumberInputSpec.required()入力を必須に設定するBaseNumberInput.resultMode(ResultMode resultMode) NumberInputSpec.resultMode(ResultMode resultMode) 結果モードを設定します。BaseNumberInput.resultValue(NumberSE resultValue) NumberInputSpec.resultValue(NumberSE resultValue) 結果値を設定します。BaseNumberInput.storeResult(boolean store) NumberInputSpec.storeResult(boolean store) ビルダーに与えられたキーを使用して、NumberInput.NumberInputContextからの結果をComponentContextに自動的に格納します。デフォルトのレンダラーテンプレートの場所を設定します。ComponentFlow.BaseBuilder.withNumberInput(StringSE id) ComponentFlow.Builder.withNumberInput(StringSE id) 数値入力用のビルダーを取得します。