Uses of Class
com.googlecode.lanterna.TextCharacter
Packages that use TextCharacter
Package
Description
-
Uses of TextCharacter in com.googlecode.lanterna
Fields in com.googlecode.lanterna declared as TextCharacterMethods in com.googlecode.lanterna that return TextCharacterModifier and TypeMethodDescriptionstatic TextCharacter[]
TextCharacter.fromCharacter
(char c) static TextCharacter[]
TextCharacter.fromCharacter
(char c, TextColor foregroundColor, TextColor backgroundColor, SGR... modifiers) static TextCharacter[]
TextCharacter.fromString
(String string) static TextCharacter[]
TextCharacter.fromString
(String string, TextColor foregroundColor, TextColor backgroundColor, SGR... modifiers) static TextCharacter[]
TextCharacter.fromString
(String string, TextColor foregroundColor, TextColor backgroundColor, EnumSet<SGR> modifiers) TextCharacter.withBackgroundColor
(TextColor backgroundColor) Returns a copy of this TextCharacter with a specified background colorTextCharacter.withCharacter
(char character) Returns a new TextCharacter with the same colors and modifiers but a different underlying characterTextCharacter.withForegroundColor
(TextColor foregroundColor) Returns a copy of this TextCharacter with a specified foreground colorTextCharacter.withModifier
(SGR modifier) Returns a copy of this TextCharacter with an additional SGR modifier.TextCharacter.withModifiers
(Collection<SGR> modifiers) Returns a copy of this TextCharacter with specified list of SGR modifiers.TextCharacter.withoutModifier
(SGR modifier) Returns a copy of this TextCharacter with an SGR modifier removed.Constructors in com.googlecode.lanterna with parameters of type TextCharacterModifierConstructorDescriptionTextCharacter
(TextCharacter character) Deprecated.TextCharacters are immutable so you shouldn't need to call this -
Uses of TextCharacter in com.googlecode.lanterna.graphics
Fields in com.googlecode.lanterna.graphics declared as TextCharacterMethods in com.googlecode.lanterna.graphics that return TextCharacterModifier and TypeMethodDescriptionAbstractTextGraphics.getCharacter
(TerminalPosition position) DoublePrintingTextGraphics.getCharacter
(int columnIndex, int rowIndex) NullTextGraphics.getCharacter
(int column, int row) NullTextGraphics.getCharacter
(TerminalPosition position) SubTextGraphics.getCharacter
(int column, int row) TextGraphics.getCharacter
(int column, int row) Returns the character at the specific position in the terminal.TextGraphics.getCharacter
(TerminalPosition position) Returns the character at the specific position in the terminal.BasicTextImage.getCharacterAt
(int column, int row) BasicTextImage.getCharacterAt
(TerminalPosition position) TextImage.getCharacterAt
(int column, int row) Returns the character stored at a particular position in this imageTextImage.getCharacterAt
(TerminalPosition position) Returns the character stored at a particular position in this imageprivate TextCharacter[]
BasicTextImage.newBlankLine()
private TextCharacter
AbstractTextGraphics.newTextCharacter
(char character) Methods in com.googlecode.lanterna.graphics with parameters of type TextCharacterModifier and TypeMethodDescriptionAbstractTextGraphics.drawLine
(int fromX, int fromY, int toX, int toY, TextCharacter character) AbstractTextGraphics.drawLine
(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character) void
DefaultShapeRenderer.drawLine
(TerminalPosition p1, TerminalPosition p2, TextCharacter character) NullTextGraphics.drawLine
(int fromX, int fromY, int toX, int toY, TextCharacter character) NullTextGraphics.drawLine
(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character) void
ShapeRenderer.drawLine
(TerminalPosition p1, TerminalPosition p2, TextCharacter character) TextGraphics.drawLine
(int fromX, int fromY, int toX, int toY, TextCharacter character) Draws a line from a specified position to a specified position, using a supplied character.TextGraphics.drawLine
(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character) Draws a line from a specified position to a specified position, using a supplied TextCharacter.private void
DefaultShapeRenderer.drawLine0
(TerminalPosition start, int deltaX, int deltaY, boolean leftToRight, TextCharacter character) private void
DefaultShapeRenderer.drawLine1
(TerminalPosition start, int deltaX, int deltaY, boolean leftToRight, TextCharacter character) AbstractTextGraphics.drawRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) void
DefaultShapeRenderer.drawRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) NullTextGraphics.drawRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) void
ShapeRenderer.drawRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) TextGraphics.drawRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) Draws the outline of a rectangle with a particular TextCharacter, ignoring the current colors and modifiers of this TextGraphics.AbstractTextGraphics.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) void
DefaultShapeRenderer.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) NullTextGraphics.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) void
ShapeRenderer.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) TextGraphics.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) Draws the outline of a triangle on the screen, using a supplied character.AbstractTextGraphics.fillRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) void
DefaultShapeRenderer.fillRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) NullTextGraphics.fillRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) void
ShapeRenderer.fillRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) TextGraphics.fillRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) Takes a rectangle and fills it using a particular TextCharacter, ignoring the current colors and modifiers of this TextGraphics.AbstractTextGraphics.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) void
DefaultShapeRenderer.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) NullTextGraphics.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) void
ShapeRenderer.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) TextGraphics.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) Draws a filled triangle, using a supplied character.void
DefaultShapeRenderer.Callback.onPoint
(int column, int row, TextCharacter character) BasicTextImage.resize
(TerminalSize newSize, TextCharacter filler) TextImage.resize
(TerminalSize newSize, TextCharacter filler) Returns a copy of this image resized to a new size and using a specified filler character if the new size is larger than the old and we need to fill in empty areas.void
BasicTextImage.setAll
(TextCharacter character) void
TextImage.setAll
(TextCharacter character) Sets the text image content to one specified character (including color and style)AbstractTextGraphics.setCharacter
(TerminalPosition position, TextCharacter textCharacter) DoublePrintingTextGraphics.setCharacter
(int columnIndex, int rowIndex, TextCharacter textCharacter) NullTextGraphics.setCharacter
(int column, int row, TextCharacter character) NullTextGraphics.setCharacter
(TerminalPosition position, TextCharacter character) SubTextGraphics.setCharacter
(int columnIndex, int rowIndex, TextCharacter textCharacter) TextGraphics.setCharacter
(int column, int row, TextCharacter character) Sets the character at the current position to the specified value, without using the current colors and modifiers of this TextGraphics.TextGraphics.setCharacter
(TerminalPosition position, TextCharacter character) Sets the character at the current position to the specified value, without using the current colors and modifiers of this TextGraphics.void
BasicTextImage.setCharacterAt
(int column, int row, TextCharacter character) void
BasicTextImage.setCharacterAt
(TerminalPosition position, TextCharacter character) void
TextImage.setCharacterAt
(int column, int row, TextCharacter character) Sets the character at a specific position in the image to a particular TextCharacter.void
TextImage.setCharacterAt
(TerminalPosition position, TextCharacter character) Sets the character at a specific position in the image to a particular TextCharacter.Constructors in com.googlecode.lanterna.graphics with parameters of type TextCharacterModifierConstructorDescriptionBasicTextImage
(TerminalSize size, TextCharacter initialContent) Creates a new BasicTextImage with a given size and a TextCharacter to initially fill it withprivate
BasicTextImage
(TerminalSize size, TextCharacter[][] toCopy, TextCharacter initialContent) Creates a new BasicTextImage by copying a region of a two-dimensional array of TextCharacter:s. -
Uses of TextCharacter in com.googlecode.lanterna.gui2
Methods in com.googlecode.lanterna.gui2 that return TextCharacterModifier and TypeMethodDescriptionDefaultTextGUIGraphics.getCharacter
(int column, int row) DefaultTextGUIGraphics.getCharacter
(TerminalPosition position) Methods in com.googlecode.lanterna.gui2 with parameters of type TextCharacterModifier and TypeMethodDescriptionDefaultTextGUIGraphics.drawLine
(int fromX, int fromY, int toX, int toY, TextCharacter character) DefaultTextGUIGraphics.drawLine
(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character) TextGUIGraphics.drawLine
(int fromX, int fromY, int toX, int toY, TextCharacter character) TextGUIGraphics.drawLine
(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character) DefaultTextGUIGraphics.drawRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) TextGUIGraphics.drawRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) DefaultTextGUIGraphics.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) TextGUIGraphics.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) DefaultTextGUIGraphics.fillRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) TextGUIGraphics.fillRectangle
(TerminalPosition topLeft, TerminalSize size, TextCharacter character) DefaultTextGUIGraphics.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) TextGUIGraphics.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) DefaultTextGUIGraphics.setCharacter
(int column, int row, TextCharacter character) DefaultTextGUIGraphics.setCharacter
(TerminalPosition position, TextCharacter character) TextGUIGraphics.setCharacter
(int column, int row, TextCharacter character) TextGUIGraphics.setCharacter
(TerminalPosition position, TextCharacter character) -
Uses of TextCharacter in com.googlecode.lanterna.screen
Fields in com.googlecode.lanterna.screen declared as TextCharacterModifier and TypeFieldDescriptionstatic final TextCharacter
Screen.DEFAULT_CHARACTER
This is the character Screen implementations should use as a filler is there are areas not set to any particular character.private final TextCharacter
AbstractScreen.defaultCharacter
Methods in com.googlecode.lanterna.screen that return TextCharacterModifier and TypeMethodDescriptionAbstractScreen.getBackCharacter
(int column, int row) AbstractScreen.getBackCharacter
(TerminalPosition position) Screen.getBackCharacter
(int column, int row) Reads a character and its associated meta-data from the back-buffer and returns it encapsulated as a ScreenCharacter.Screen.getBackCharacter
(TerminalPosition position) Reads a character and its associated meta-data from the back-buffer and returns it encapsulated as a ScreenCharacter.ScreenTextGraphics.getCharacter
(int column, int row) ScreenBuffer.getCharacterAt
(int column, int row) ScreenBuffer.getCharacterAt
(TerminalPosition position) private TextCharacter
AbstractScreen.getCharacterFromBuffer
(ScreenBuffer buffer, int column, int row) AbstractScreen.getFrontCharacter
(int column, int row) AbstractScreen.getFrontCharacter
(TerminalPosition position) Screen.getFrontCharacter
(int column, int row) Reads a character and its associated meta-data from the front-buffer and returns it encapsulated as a ScreenCharacter.Screen.getFrontCharacter
(TerminalPosition position) Reads a character and its associated meta-data from the front-buffer and returns it encapsulated as a ScreenCharacter.VirtualScreen.getFrontCharacter
(TerminalPosition position) Methods in com.googlecode.lanterna.screen with parameters of type TextCharacterModifier and TypeMethodDescriptionScreenBuffer.resize
(TerminalSize newSize, TextCharacter filler) void
ScreenBuffer.setAll
(TextCharacter character) void
AbstractScreen.setCharacter
(int column, int row, TextCharacter screenCharacter) void
AbstractScreen.setCharacter
(TerminalPosition position, TextCharacter screenCharacter) void
Screen.setCharacter
(int column, int row, TextCharacter screenCharacter) Sets a character in the back-buffer to a specified value with specified colors and modifiers.void
Screen.setCharacter
(TerminalPosition position, TextCharacter screenCharacter) Sets a character in the back-buffer to a specified value with specified colors and modifiers.ScreenTextGraphics.setCharacter
(int columnIndex, int rowIndex, TextCharacter textCharacter) void
ScreenBuffer.setCharacterAt
(int column, int row, TextCharacter character) void
ScreenBuffer.setCharacterAt
(TerminalPosition position, TextCharacter character) Constructors in com.googlecode.lanterna.screen with parameters of type TextCharacterModifierConstructorDescriptionAbstractScreen
(TerminalSize initialSize, TextCharacter defaultCharacter) Creates a new Screen on top of a supplied terminal, will query the terminal for its size.ScreenBuffer
(TerminalSize size, TextCharacter filler) Creates a new ScreenBuffer with a given size and a TextCharacter to initially fill it withTerminalScreen
(Terminal terminal, TextCharacter defaultCharacter) Creates a new Screen on top of a supplied terminal, will query the terminal for its size. -
Uses of TextCharacter in com.googlecode.lanterna.terminal
Fields in com.googlecode.lanterna.terminal declared as TextCharacterFields in com.googlecode.lanterna.terminal with type parameters of type TextCharacterModifier and TypeFieldDescriptionprivate final Map
<TerminalPosition, TextCharacter> TerminalTextGraphics.writeHistory
Methods in com.googlecode.lanterna.terminal that return TextCharacterModifier and TypeMethodDescriptionTerminalTextGraphics.getCharacter
(int column, int row) TerminalTextGraphics.getCharacter
(TerminalPosition position) Methods in com.googlecode.lanterna.terminal with parameters of type TextCharacterModifier and TypeMethodDescriptionprivate void
TerminalTextGraphics.applyGraphicState
(TextCharacter textCharacter) TerminalTextGraphics.setCharacter
(int columnIndex, int rowIndex, TextCharacter textCharacter) TerminalTextGraphics.setCharacter
(TerminalPosition position, TextCharacter textCharacter) -
Uses of TextCharacter in com.googlecode.lanterna.terminal.swing
Methods in com.googlecode.lanterna.terminal.swing with parameters of type TextCharacterModifier and TypeMethodDescriptionprivate Color
GraphicalTerminalImplementation.deriveTrueBackgroundColor
(TextCharacter character, boolean atCursorLocation) private Color
GraphicalTerminalImplementation.deriveTrueForegroundColor
(TextCharacter character, boolean atCursorLocation) private void
GraphicalTerminalImplementation.drawCharacter
(Graphics g, TextCharacter character, int columnIndex, int rowIndex, Color foregroundColor, Color backgroundColor, int fontWidth, int fontHeight, int characterWidth, int scrollingOffsetInPixels, boolean drawCursor) (package private) Font
AWTTerminalFontConfiguration.getFontForCharacter
(TextCharacter character) Given a certain character, return the font to use for drawing it.protected Font
AWTTerminalImplementation.getFontForCharacter
(TextCharacter character) (package private) abstract Font
GraphicalTerminalImplementation.getFontForCharacter
(TextCharacter character) Returning the AWT font to use for the specific character.protected Font
SwingTerminalImplementation.getFontForCharacter
(TextCharacter character) -
Uses of TextCharacter in com.googlecode.lanterna.terminal.virtual
Fields in com.googlecode.lanterna.terminal.virtual declared as TextCharacterModifier and TypeFieldDescriptionprivate static final TextCharacter
TextBuffer.DOUBLE_WIDTH_CHAR_PADDING
Fields in com.googlecode.lanterna.terminal.virtual with type parameters of type TextCharacterMethods in com.googlecode.lanterna.terminal.virtual that return TextCharacterModifier and TypeMethodDescriptionDefaultVirtualTerminal.getBufferCharacter
(int column, int row) DefaultVirtualTerminal.getBufferCharacter
(TerminalPosition position) VirtualTerminal.getBufferCharacter
(int column, int row) Returns a character from this virtual terminal, relative to the top-left position of the text buffer including any backlog.VirtualTerminal.getBufferCharacter
(TerminalPosition position) Returns a character from this virtual terminal, relative to the top-left position of the text buffer including any backlog.DefaultVirtualTerminal.getCharacter
(int column, int row) DefaultVirtualTerminal.getCharacter
(TerminalPosition position) (package private) TextCharacter
TextBuffer.getCharacter
(int lineNumber, int columnIndex) VirtualTerminal.getCharacter
(int column, int row) Returns a character from the viewport at the specified coordinates.VirtualTerminal.getCharacter
(TerminalPosition position) Returns a character from the viewport at the specified coordinates.VirtualTerminalTextGraphics.getCharacter
(int column, int row) VirtualTerminalTextGraphics.getCharacter
(TerminalPosition position) VirtualTerminal.BufferLine.getCharacterAt
(int column) Returns a text character from this line in the specific columnMethods in com.googlecode.lanterna.terminal.virtual that return types with arguments of type TextCharacterModifier and TypeMethodDescription(package private) ListIterator
<List<TextCharacter>> TextBuffer.getLinesFrom
(int rowNumber) Methods in com.googlecode.lanterna.terminal.virtual with parameters of type TextCharacterModifier and TypeMethodDescription(package private) void
DefaultVirtualTerminal.putCharacter
(TextCharacter terminalCharacter) (package private) int
TextBuffer.setCharacter
(int lineNumber, int columnIndex, TextCharacter textCharacter) VirtualTerminalTextGraphics.setCharacter
(int columnIndex, int rowIndex, TextCharacter textCharacter)