Package | Description |
---|---|
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.gui2.table |
Modifier and Type | Method | Description |
---|---|---|
TextGUIGraphics |
TextGUIGraphics.applyThemeStyle(ThemeStyle themeStyle) |
|
TextGUIGraphics |
TextGUIGraphics.clearModifiers() |
|
TextGUIGraphics |
TextGUIGraphics.disableModifiers(SGR... modifiers) |
|
TextGUIGraphics |
DefaultWindowDecorationRenderer.draw(WindowBasedTextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
|
TextGUIGraphics |
EmptyWindowDecorationRenderer.draw(WindowBasedTextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
|
TextGUIGraphics |
FatWindowDecorationRenderer.draw(WindowBasedTextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
|
TextGUIGraphics |
WindowDecorationRenderer.draw(WindowBasedTextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
Draws the window decorations for a particular window and returns a new TextGraphics that is locked to the area
inside of the window decorations where the content of the window should be drawn
|
TextGUIGraphics |
TextGUIGraphics.enableModifiers(SGR... modifiers) |
|
TextGUIGraphics |
TextGUIGraphics.fill(char c) |
|
TextGUIGraphics |
TextGUIGraphics.newTextGraphics(TerminalPosition topLeftCorner,
TerminalSize size) |
|
TextGUIGraphics |
TextGUIGraphics.putString(int column,
int row,
String string) |
|
TextGUIGraphics |
TextGUIGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
|
TextGUIGraphics |
TextGUIGraphics.putString(TerminalPosition position,
String string) |
|
TextGUIGraphics |
TextGUIGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
|
TextGUIGraphics |
TextGUIGraphics.setBackgroundColor(TextColor backgroundColor) |
|
TextGUIGraphics |
TextGUIGraphics.setForegroundColor(TextColor foregroundColor) |
|
TextGUIGraphics |
TextGUIGraphics.setModifiers(EnumSet<SGR> modifiers) |
|
TextGUIGraphics |
TextGUIGraphics.setTabBehaviour(TabBehaviour tabBehaviour) |
|
TextGUIGraphics |
TextGUIGraphics.withTheme(Theme theme) |
Deprecated.
Now this method does nothing
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractBasePane.draw(TextGUIGraphics graphics) |
|
void |
AbstractComponent.draw(TextGUIGraphics graphics) |
|
void |
AbstractWindow.draw(TextGUIGraphics graphics) |
|
void |
BasePane.draw(TextGUIGraphics graphics) |
Called by the GUI system (or something imitating the GUI system) to draw the root container.
|
TextGUIGraphics |
DefaultWindowDecorationRenderer.draw(WindowBasedTextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
|
TextGUIGraphics |
EmptyWindowDecorationRenderer.draw(WindowBasedTextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
|
TextGUIGraphics |
FatWindowDecorationRenderer.draw(WindowBasedTextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
|
void |
TextGUIElement.draw(TextGUIGraphics graphics) |
Draws the GUI element using the supplied TextGUIGraphics object.
|
void |
Window.draw(TextGUIGraphics graphics) |
Called by the GUI system (or something imitating the GUI system) to draw the window.
|
TextGUIGraphics |
WindowDecorationRenderer.draw(WindowBasedTextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
Draws the window decorations for a particular window and returns a new TextGraphics that is locked to the area
inside of the window decorations where the content of the window should be drawn
|
void |
AbstractListBox.DefaultListBoxRenderer.drawComponent(TextGUIGraphics graphics,
T listBox) |
|
void |
Button.BorderedButtonRenderer.drawComponent(TextGUIGraphics graphics,
Button button) |
|
void |
Button.DefaultButtonRenderer.drawComponent(TextGUIGraphics graphics,
Button button) |
|
void |
Button.FlatButtonRenderer.drawComponent(TextGUIGraphics graphics,
Button button) |
|
void |
CheckBox.DefaultCheckBoxRenderer.drawComponent(TextGUIGraphics graphics,
CheckBox component) |
|
void |
ComboBox.DefaultComboBoxRenderer.drawComponent(TextGUIGraphics graphics,
ComboBox<V> comboBox) |
|
void |
ComponentRenderer.drawComponent(TextGUIGraphics graphics,
T component) |
Using the supplied graphics object, draws the component passed in.
|
void |
Panel.DefaultPanelRenderer.drawComponent(TextGUIGraphics graphics,
Panel panel) |
|
void |
ProgressBar.DefaultProgressBarRenderer.drawComponent(TextGUIGraphics graphics,
ProgressBar component) |
|
void |
ProgressBar.LargeProgressBarRenderer.drawComponent(TextGUIGraphics graphics,
ProgressBar component) |
|
void |
ScrollBar.DefaultScrollBarRenderer.drawComponent(TextGUIGraphics graphics,
ScrollBar component) |
|
void |
Separator.DefaultSeparatorRenderer.drawComponent(TextGUIGraphics graphics,
Separator component) |
|
void |
TextBox.DefaultTextBoxRenderer.drawComponent(TextGUIGraphics graphics,
TextBox component) |
|
protected abstract void |
AbstractTextGUI.drawGUI(TextGUIGraphics graphics) |
Draws the entire GUI using a
TextGUIGraphics object |
protected void |
MultiWindowTextGUI.drawGUI(TextGUIGraphics graphics) |
|
void |
AbstractListBox.ListItemRenderer.drawItem(TextGUIGraphics graphics,
T listBox,
int index,
V item,
boolean selected,
boolean focused) |
This is the main drawing method for a single list box item, it applies the current theme to setup the colors
and then calls
getLabel(..) and draws the result using the supplied TextGUIGraphics . |
void |
CheckBoxList.CheckBoxListItemRenderer.drawItem(TextGUIGraphics graphics,
CheckBoxList<V> listBox,
int index,
V item,
boolean selected,
boolean focused) |
|
void |
RadioBoxList.RadioBoxListItemRenderer.drawItem(TextGUIGraphics graphics,
RadioBoxList<V> listBox,
int index,
V item,
boolean selected,
boolean focused) |
|
protected void |
AbstractComponent.onAfterDrawing(TextGUIGraphics graphics) |
This method is called immediately after the component's renderer has finished the drawing operation.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultTableCellRenderer.drawCell(Table<V> table,
V cell,
int columnIndex,
int rowIndex,
TextGUIGraphics textGUIGraphics) |
|
void |
TableCellRenderer.drawCell(Table<V> table,
V cell,
int columnIndex,
int rowIndex,
TextGUIGraphics textGUIGraphics) |
Called by the table when it's time to draw a cell, you can see how much size is available by checking the size of
the
textGUIGraphics . |
void |
DefaultTableRenderer.drawComponent(TextGUIGraphics graphics,
Table<V> table) |
|
void |
TableRenderer.drawComponent(TextGUIGraphics graphics,
Table<V> component) |
|
void |
DefaultTableHeaderRenderer.drawHeader(Table<V> table,
String label,
int index,
TextGUIGraphics textGUIGraphics) |
|
void |
TableHeaderRenderer.drawHeader(Table<V> table,
String label,
int index,
TextGUIGraphics textGUIGraphics) |
Called by the table when it's time to draw a header, you can see how much size is available by checking the size
of the
textGUIGraphics . |
Copyright © 2020. All rights reserved.