クラス InputView
java.lang.ObjectSE
org.springframework.shell.jline.tui.component.view.control.AbstractControl
org.springframework.shell.jline.tui.component.view.control.AbstractView
org.springframework.shell.jline.tui.component.view.control.BoxView
org.springframework.shell.jline.tui.component.view.control.InputView
InputView はテキスト入力として使用されます。- 作成者:
- Janne Valkealahti, Piotr Olaszewski
ネストされたクラスの概要
ネストされたクラス修飾子と型クラス説明static final recordstatic final recordコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明protected voiddrawInternal(Screen screen) 場合によっては、ボックス上部の境界でこのビューとタイトルの周囲にボックスを描画します。現在既知の入力テキストを取得します。登録された実行可能なコマンドをイベントループにディスパッチすることでキーを処理します。protected voidAbstractView.init()から呼び出される内部 init メソッド。クラス org.springframework.shell.jline.tui.component.view.control.BoxView から継承されたメソッド
drawBackground, getBackgroundStyle, getInnerRect, isShowBorder, setBackgroundColor, setBorderPadding, setFocusedTitleColor, setFocusedTitleStyle, setRect, setShowBorder, setTitle, setTitleAlign, setTitleColor, setTitleStyleクラス org.springframework.shell.jline.tui.component.view.control.AbstractView から継承されたメソッド
destroy, dispatch, dispatchKeyRunCommand, dispatchMouseRunCommand, dispatchRunnable, draw, focus, getDrawFunction, getEventLoop, getHotKeyBindings, getHotKeyHandler, getKeyBindings, getLayer, getMouseBindings, getMouseHandler, getViewCommands, getViewService, hasFocus, init, onDestroy, registerHotKeyBinding, registerHotKeyBinding, registerHotKeyBinding, registerKeyBinding, registerKeyBinding, registerKeyBinding, registerMouseBinding, registerMouseBinding, registerMouseBinding, registerViewCommand, runViewCommand, setDrawFunction, setEventLoop, setLayer, setViewService, shortcutクラス org.springframework.shell.jline.tui.component.view.control.AbstractControl から継承されたメソッド
getRect, getThemeName, getThemeResolver, resolveThemeBackground, resolveThemeForeground, resolveThemeSpinner, resolveThemeStyle, setThemeName, setThemeResolverクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.shell.jline.tui.component.view.control.Control から継承されたメソッド
getRect, setThemeName, setThemeResolver
コンストラクターの詳細
InputView
public InputView()
メソッドの詳細
initInternal
protected void initInternal()クラスからコピーされた説明:AbstractViewAbstractView.init()から呼び出される内部 init メソッド。何か役に立つことを行うためにオーバーライドします。通常、キーとマウスのバインドはこのメソッドから登録されます。- オーバーライド:
- クラス
AbstractViewのinitInternal
getKeyHandler
クラスからコピーされた説明:AbstractView登録された実行可能なコマンドをイベントループにディスパッチすることでキーを処理します。オーバーライドしてデフォルトの動作を変更します。- 次で指定:
- インターフェース
ViewのgetKeyHandler - オーバーライド:
- クラス
AbstractViewのgetKeyHandler - 戻り値:
- ビューキーハンドラー
- 関連事項:
drawInternal
クラスからコピーされた説明:BoxView場合によっては、ボックス上部の境界でこのビューとタイトルの周囲にボックスを描画します。定義されている場合は、draw functionも呼び出します。- オーバーライド:
- クラス
BoxViewのdrawInternal - パラメーター:
screen- スクリーン
getInputText
現在既知の入力テキストを取得します。- 戻り値:
- 現在の入力テキスト