インターフェースの使用
org.springframework.shell.jline.tui.component.StringInput.StringInputContext
StringInput.StringInputContext を使用するパッケージ
パッケージ
説明
org.springframework.shell.jline.tui.component 内の StringInput.StringInputContext 使用
修飾子と型メソッド説明StringInput.StringInputContext.empty()空のStringInput.StringInputContextを取得します。StringInput.getThisContext(@Nullable ComponentContext<?> context) StringInput.StringInputContext.of(@Nullable StringSE defaultValue, @Nullable CharacterSE maskCharacter) StringInput.StringInputContextを取得します。StringInput.StringInputContext.of(@Nullable StringSE defaultValue, @Nullable CharacterSE maskCharacter, boolean required) StringInput.StringInputContextを取得します。型 StringInput.StringInputContext のパラメーターを持つ org.springframework.shell.jline.tui.component のメソッド修飾子と型メソッド説明protected booleanStringInput.read(org.jline.keymap.BindingReader bindingReader, org.jline.keymap.KeyMap<StringSE> keyMap, StringInput.StringInputContext context) 型 StringInput.StringInputContext の型引数を持つ org.springframework.shell.jline.tui.component のコンストラクターパラメーター修飾子コンストラクター説明StringInput(org.jline.terminal.Terminal terminal, @Nullable StringSE name, @Nullable StringSE defaultValue, @Nullable FunctionSE<StringInput.StringInputContext, ListSE<org.jline.utils.AttributedString>> renderer) StringInput(org.jline.terminal.Terminal terminal, @Nullable StringSE name, @Nullable StringSE defaultValue, @Nullable FunctionSE<StringInput.StringInputContext, ListSE<org.jline.utils.AttributedString>> renderer, boolean required) org.springframework.shell.jline.tui.component.flow 内の StringInput.StringInputContext 使用
型 StringInput.StringInputContext の引数を持つ型を返す org.springframework.shell.jline.tui.component.flow のメソッド修飾子と型メソッド説明@Nullable FunctionSE<StringInput.StringInputContext,StringSE> BaseStringInput.getNext()BaseStringInput.getPostHandlers()BaseStringInput.getPreHandlers()@Nullable FunctionSE<StringInput.StringInputContext,ListSE<org.jline.utils.AttributedString>> BaseStringInput.getRenderer()型 StringInput.StringInputContext の型引数を持つ org.springframework.shell.jline.tui.component.flow のメソッドパラメーター修飾子と型メソッド説明BaseStringInput.next(FunctionSE<StringInput.StringInputContext, StringSE> next) StringInputSpec.next(FunctionSE<StringInput.StringInputContext, StringSE> next) 次のコンポーネントの ID を返す関数を定義します。BaseStringInput.postHandler(ConsumerSE<StringInput.StringInputContext> handler) StringInputSpec.postHandler(ConsumerSE<StringInput.StringInputContext> handler) 実行後のコンテキストハンドラーを追加します。BaseStringInput.preHandler(ConsumerSE<StringInput.StringInputContext> handler) StringInputSpec.preHandler(ConsumerSE<StringInput.StringInputContext> handler) 実行前のコンテキストハンドラーを追加します。BaseStringInput.renderer(FunctionSE<StringInput.StringInputContext, ListSE<org.jline.utils.AttributedString>> renderer) StringInputSpec.renderer(FunctionSE<StringInput.StringInputContext, ListSE<org.jline.utils.AttributedString>> renderer) レンダラー関数を設定します。