Package | Description |
---|---|
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.gui2.table |
Modifier and Type | Method and Description |
---|---|
TextGUIGraphics |
TextGUIGraphics.applyThemeStyle(ThemeStyle themeStyle) |
TextGUIGraphics |
TextGUIGraphics.clearModifiers() |
TextGUIGraphics |
TextGUIGraphics.disableModifiers(SGR... modifiers) |
TextGUIGraphics |
WindowDecorationRenderer.draw(TextGUI 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 |
EmptyWindowDecorationRenderer.draw(TextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
TextGUIGraphics |
DefaultWindowDecorationRenderer.draw(TextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
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)
Returns a new
TextGUIGraphics object that has another theme attached to it |
Modifier and Type | Method and Description |
---|---|
void |
Window.draw(TextGUIGraphics graphics)
Called by the GUI system (or something imitating the GUI system) to draw the window.
|
void |
TextGUIElement.draw(TextGUIGraphics graphics)
Draws the GUI element using the supplied TextGUIGraphics object.
|
void |
BasePane.draw(TextGUIGraphics graphics)
Called by the GUI system (or something imitating the GUI system) to draw the root container.
|
void |
AbstractWindow.draw(TextGUIGraphics graphics) |
void |
AbstractComponent.draw(TextGUIGraphics graphics) |
void |
AbstractBasePane.draw(TextGUIGraphics graphics) |
TextGUIGraphics |
WindowDecorationRenderer.draw(TextGUI 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 |
EmptyWindowDecorationRenderer.draw(TextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
TextGUIGraphics |
DefaultWindowDecorationRenderer.draw(TextGUI textGUI,
TextGUIGraphics graphics,
Window window) |
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 |
ScrollBar.DefaultScrollBarRenderer.drawComponent(TextGUIGraphics graphics,
ScrollBar component) |
void |
Separator.DefaultSeparatorRenderer.drawComponent(TextGUIGraphics graphics,
Separator component) |
void |
ComponentRenderer.drawComponent(TextGUIGraphics graphics,
T component)
Using the supplied graphics object, draws the component passed in.
|
void |
AbstractListBox.DefaultListBoxRenderer.drawComponent(TextGUIGraphics graphics,
T listBox) |
void |
TextBox.DefaultTextBoxRenderer.drawComponent(TextGUIGraphics graphics,
TextBox component) |
protected void |
MultiWindowTextGUI.drawGUI(TextGUIGraphics graphics) |
protected abstract void |
AbstractTextGUI.drawGUI(TextGUIGraphics graphics)
Draws the entire GUI using a
TextGUIGraphics object |
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 . |
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 and Description |
---|---|
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 |
DefaultTableCellRenderer.drawCell(Table<V> table,
V cell,
int columnIndex,
int rowIndex,
TextGUIGraphics textGUIGraphics) |
void |
TableRenderer.drawComponent(TextGUIGraphics graphics,
Table<V> component) |
void |
DefaultTableRenderer.drawComponent(TextGUIGraphics graphics,
Table<V> table) |
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 . |
void |
DefaultTableHeaderRenderer.drawHeader(Table<V> table,
String label,
int index,
TextGUIGraphics textGUIGraphics) |
Copyright © 2016. All rights reserved.