Package | Description |
---|---|
com.googlecode.lanterna | |
com.googlecode.lanterna.graphics | |
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.screen |
Modifier and Type | Method | Description |
---|---|---|
static int |
TerminalTextUtils.getColumnIndex(String s,
int stringCharacterIndex,
TabBehaviour tabBehaviour,
int firstCharacterColumnPosition) |
Given a string and a character index inside that string, find out what the column index of that character would
be if printed in a terminal.
|
Modifier and Type | Field | Description |
---|---|---|
protected TabBehaviour |
AbstractTextGraphics.tabBehaviour |
Modifier and Type | Method | Description |
---|---|---|
TabBehaviour |
AbstractTextGraphics.getTabBehaviour() |
|
TabBehaviour |
TextGraphics.getTabBehaviour() |
Retrieves the current tab behaviour, which is what the TextGraphics will use when expanding \t characters to
spaces.
|
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
AbstractTextGraphics.setTabBehaviour(TabBehaviour tabBehaviour) |
|
TextGraphics |
TextGraphics.setTabBehaviour(TabBehaviour tabBehaviour) |
Sets the behaviour to use when expanding tab characters (\t) to spaces
|
Modifier and Type | Method | Description |
---|---|---|
TabBehaviour |
TextGUIGraphics.getTabBehaviour() |
Modifier and Type | Method | Description |
---|---|---|
TextGUIGraphics |
TextGUIGraphics.setTabBehaviour(TabBehaviour tabBehaviour) |
Modifier and Type | Method | Description |
---|---|---|
TabBehaviour |
AbstractScreen.getTabBehaviour() |
|
TabBehaviour |
Screen.getTabBehaviour() |
Gets the behaviour for what to do about tab characters.
|
static TabBehaviour |
TabBehaviour.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TabBehaviour[] |
TabBehaviour.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractScreen.setTabBehaviour(TabBehaviour tabBehaviour) |
|
void |
Screen.setTabBehaviour(TabBehaviour tabBehaviour) |
Sets the behaviour for what to do about tab characters.
|
Copyright © 2020. All rights reserved.