public abstract class AbstractTextComponent<T,C extends AbstractTextComponent.TextComponentContext<T,C>> extends AbstractComponent<C>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | AbstractTextComponent.BaseTextComponentContext<T,C extends AbstractTextComponent.TextComponentContext<T,C>> | 
| static interface  | AbstractTextComponent.TextComponentContext<T,C extends AbstractTextComponent.TextComponentContext<T,C>> | 
OPERATION_BACKSPACE, OPERATION_CHAR, OPERATION_DOWN, OPERATION_EXIT, OPERATION_SELECT, OPERATION_UP| Constructor and Description | 
|---|
| AbstractTextComponent(org.jline.terminal.Terminal terminal) | 
| AbstractTextComponent(org.jline.terminal.Terminal terminal,
                     String name) | 
| AbstractTextComponent(org.jline.terminal.Terminal terminal,
                     String name,
                     Function<C,List<org.jline.utils.AttributedString>> renderer) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | bindKeyMap(org.jline.keymap.KeyMap<String> keyMap)Bind key map. | 
| protected String | getName()Gets a name. | 
| protected C | runInternal(C context)Run internal logic called from public run method. | 
addPostRunHandler, addPreRunHandler, getTemplateExecutor, getTerminal, getThisContext, hasTty, loop, read, render, renderTemplateResource, run, runPostRunHandlers, runPreRunHandlers, setPrintResults, setRenderer, setResourceLoader, setTemplateExecutor, setTemplateLocationpublic AbstractTextComponent(org.jline.terminal.Terminal terminal)
public AbstractTextComponent(org.jline.terminal.Terminal terminal,
                             String name)
protected void bindKeyMap(org.jline.keymap.KeyMap<String> keyMap)
AbstractComponentbindKeyMap in class AbstractComponent<C extends AbstractTextComponent.TextComponentContext<T,C>>protected C runInternal(C context)
AbstractComponentrunInternal in class AbstractComponent<C extends AbstractTextComponent.TextComponentContext<T,C>>context - the contextprotected String getName()
Copyright © 2022. All rights reserved.