Package | Description |
---|---|
com.googlecode.lanterna.gui | |
com.googlecode.lanterna.gui.component |
Modifier and Type | Method and Description |
---|---|
TextGraphics |
TextGraphics.subAreaGraphics(TerminalPosition terminalPosition)
Creates a new TextGraphics object using the same area or smaller.
|
TextGraphics |
TextGraphics.subAreaGraphics(TerminalPosition topLeft,
TerminalSize subAreaSize)
Creates a new TextGraphics object using the same area or smaller.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultBackgroundRenderer.drawBackground(TextGraphics textGraphics) |
void |
GUIScreenBackgroundRenderer.drawBackground(TextGraphics textGraphics) |
abstract void |
Border.drawBorder(TextGraphics graphics,
TerminalSize actualSize,
String title) |
void |
Border.Standard.drawBorder(TextGraphics graphics,
TerminalSize actualSize,
String title) |
void |
Border.Bevel.drawBorder(TextGraphics graphics,
TerminalSize actualSize,
String title) |
void |
Border.Invisible.drawBorder(TextGraphics graphics,
TerminalSize actualSize,
String title) |
void |
Component.repaint(TextGraphics graphics)
This is the main 'paint' method for a component, it's called when
lanterna wants the component to re-draw itself.
|
Modifier and Type | Method and Description |
---|---|
protected TextGraphics |
AbstractComponent.transformAccordingToAlignment(TextGraphics graphics,
TerminalSize preferredSize)
Will create a sub-graphic area according to the alignment, if the assigned size is larger
than the preferred size.
|
Modifier and Type | Method and Description |
---|---|
protected void |
EditArea.drawDisplay(TextGraphics g) |
protected void |
AbstractListBox.printItem(TextGraphics graphics,
int x,
int y,
int index)
Draws an item in the ListBox at specific coordinates.
|
protected void |
TextArea.printItem(TextGraphics graphics,
int x,
int y,
String text) |
void |
TextArea.repaint(TextGraphics graphics) |
void |
EditArea.repaint(TextGraphics graphics) |
void |
SpinningActivityIndicator.repaint(TextGraphics graphics) |
void |
Separator.repaint(TextGraphics graphics) |
void |
Table.repaint(TextGraphics graphics) |
void |
TextBox.repaint(TextGraphics graphics) |
void |
ProgressBar.repaint(TextGraphics graphics) |
void |
Button.repaint(TextGraphics graphics) |
void |
Label.repaint(TextGraphics graphics) |
void |
CommonCheckBox.repaint(TextGraphics graphics) |
void |
EmptySpace.repaint(TextGraphics graphics) |
void |
AbstractListBox.repaint(TextGraphics graphics) |
void |
Panel.repaint(TextGraphics graphics) |
protected TextGraphics |
AbstractComponent.transformAccordingToAlignment(TextGraphics graphics,
TerminalSize preferredSize)
Will create a sub-graphic area according to the alignment, if the assigned size is larger
than the preferred size.
|
Copyright © 2014. All Rights Reserved.