クラス AbstractTextComponent<T,C extends AbstractTextComponent.TextComponentContext <T,C>>
java.lang.ObjectSE
org.springframework.shell.component.support.AbstractComponent<C>
org.springframework.shell.component.support.AbstractTextComponent<T,C>
- 実装されているすべてのインターフェース:
org.springframework.beans.factory.Aware,org.springframework.context.ResourceLoaderAware
- 既知の直属サブクラス
ConfirmationInput、PathInput、PathSearch、StringInput
public abstract class AbstractTextComponent<T,C extends AbstractTextComponent.TextComponentContext<T,C>>
extends AbstractComponent<C>
単純なテキスト入力で動作するコンポーネントの基本クラス。
ネストされたクラスの要約
ネストされたクラス修飾子と型クラス説明static classAbstractTextComponent.BaseTextComponentContext<T,C extends AbstractTextComponent.TextComponentContext<T, C>> static interfaceフィールドのサマリー
クラス org.springframework.shell.component.support.AbstractComponent から継承されたフィールド
OPERATION_BACKSPACE, OPERATION_CHAR, OPERATION_DOWN, OPERATION_EXIT, OPERATION_SELECT, OPERATION_UNICODE, OPERATION_UPコンストラクターの概要
コンストラクターコンストラクター説明AbstractTextComponent(org.jline.terminal.Terminal terminal) AbstractTextComponent(org.jline.terminal.Terminal terminal, StringSE name) AbstractTextComponent(org.jline.terminal.Terminal terminal, StringSE name, FunctionSE<C, ListSE<org.jline.utils.AttributedString>> renderer) 方法の概要
修飾子と型メソッド説明protected voidbindKeyMap(org.jline.keymap.KeyMap<StringSE> keyMap) キーマップをバインドします。protected StringSEgetName()名前を取得します。protected CrunInternal(C context) public run メソッドから呼び出される内部ロジックを実行します。クラス org.springframework.shell.component.support.AbstractComponent から継承されたメソッド
addPostRunHandler, addPreRunHandler, getTemplateExecutor, getTerminal, getThisContext, hasTty, loop, read, render, renderTemplateResource, run, runPostRunHandlers, runPreRunHandlers, setPrintResults, setRenderer, setResourceLoader, setTemplateExecutor, setTemplateLocation
コンストラクターの詳細
AbstractTextComponent
public AbstractTextComponent(org.jline.terminal.Terminal terminal) AbstractTextComponent
AbstractTextComponent
public AbstractTextComponent(org.jline.terminal.Terminal terminal, StringSE name, FunctionSE<C, ListSE<org.jline.utils.AttributedString>> renderer)
メソッドの詳細
bindKeyMap
クラスからコピーされた説明:AbstractComponentキーマップをバインドします。- 次で指定:
- クラス
AbstractComponent<C extends AbstractTextComponent.TextComponentContext<T,のC>> bindKeyMap
runInternal
クラスからコピーされた説明:AbstractComponentpublic run メソッドから呼び出される内部ロジックを実行します。- 次で指定:
- クラス
AbstractComponent<C extends AbstractTextComponent.TextComponentContext<T,のC>> runInternal - パラメーター:
context- コンテキスト- 戻り値:
- コンテキスト
getName
名前を取得します。- 戻り値:
- 名前