Uses of Class
com.googlecode.lanterna.TextCharacter
-
-
Uses of TextCharacter in com.googlecode.lanterna
Fields in com.googlecode.lanterna declared as TextCharacter Modifier and Type Field Description static TextCharacterTextCharacter. DEFAULT_CHARACTERMethods in com.googlecode.lanterna that return TextCharacter Modifier and Type Method Description static TextCharacter[]TextCharacter. fromCharacter(char c)static TextCharacter[]TextCharacter. fromCharacter(char c, TextColor foregroundColor, TextColor backgroundColor, SGR... modifiers)static TextCharacter[]TextCharacter. fromString(java.lang.String string)static TextCharacter[]TextCharacter. fromString(java.lang.String string, TextColor foregroundColor, TextColor backgroundColor, SGR... modifiers)static TextCharacter[]TextCharacter. fromString(java.lang.String string, TextColor foregroundColor, TextColor backgroundColor, java.util.EnumSet<SGR> modifiers)TextCharacterTextCharacter. withBackgroundColor(TextColor backgroundColor)Returns a copy of this TextCharacter with a specified background colorTextCharacterTextCharacter. withCharacter(char character)Returns a new TextCharacter with the same colors and modifiers but a different underlying characterTextCharacterTextCharacter. withForegroundColor(TextColor foregroundColor)Returns a copy of this TextCharacter with a specified foreground colorTextCharacterTextCharacter. withModifier(SGR modifier)Returns a copy of this TextCharacter with an additional SGR modifier.TextCharacterTextCharacter. withModifiers(java.util.Collection<SGR> modifiers)Returns a copy of this TextCharacter with specified list of SGR modifiers.TextCharacterTextCharacter. withoutModifier(SGR modifier)Returns a copy of this TextCharacter with an SGR modifier removed.Constructors in com.googlecode.lanterna with parameters of type TextCharacter Constructor Description TextCharacter(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 TextCharacter Modifier and Type Field Description private TextCharacter[][]BasicTextImage. bufferMethods in com.googlecode.lanterna.graphics that return TextCharacter Modifier and Type Method Description TextCharacterAbstractTextGraphics. getCharacter(TerminalPosition position)TextCharacterDoublePrintingTextGraphics. getCharacter(int columnIndex, int rowIndex)TextCharacterNullTextGraphics. getCharacter(int column, int row)TextCharacterNullTextGraphics. getCharacter(TerminalPosition position)TextCharacterSubTextGraphics. getCharacter(int column, int row)TextCharacterTextGraphics. getCharacter(int column, int row)Returns the character at the specific position in the terminal.TextCharacterTextGraphics. getCharacter(TerminalPosition position)Returns the character at the specific position in the terminal.TextCharacterBasicTextImage. getCharacterAt(int column, int row)TextCharacterBasicTextImage. getCharacterAt(TerminalPosition position)TextCharacterTextImage. getCharacterAt(int column, int row)Returns the character stored at a particular position in this imageTextCharacterTextImage. getCharacterAt(TerminalPosition position)Returns the character stored at a particular position in this imageprivate TextCharacter[]BasicTextImage. newBlankLine()private TextCharacterAbstractTextGraphics. newTextCharacter(char character)Methods in com.googlecode.lanterna.graphics with parameters of type TextCharacter Modifier and Type Method Description TextGraphicsAbstractTextGraphics. drawLine(int fromX, int fromY, int toX, int toY, TextCharacter character)TextGraphicsAbstractTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)voidDefaultShapeRenderer. drawLine(TerminalPosition p1, TerminalPosition p2, TextCharacter character)TextGraphicsNullTextGraphics. drawLine(int fromX, int fromY, int toX, int toY, TextCharacter character)TextGraphicsNullTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)voidShapeRenderer. drawLine(TerminalPosition p1, TerminalPosition p2, TextCharacter character)TextGraphicsTextGraphics. 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.TextGraphicsTextGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)Draws a line from a specified position to a specified position, using a supplied TextCharacter.private voidDefaultShapeRenderer. drawLine0(TerminalPosition start, int deltaX, int deltaY, boolean leftToRight, TextCharacter character)private voidDefaultShapeRenderer. drawLine1(TerminalPosition start, int deltaX, int deltaY, boolean leftToRight, TextCharacter character)TextGraphicsAbstractTextGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)voidDefaultShapeRenderer. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGraphicsNullTextGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)voidShapeRenderer. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGraphicsTextGraphics. 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.TextGraphicsAbstractTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)voidDefaultShapeRenderer. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGraphicsNullTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)voidShapeRenderer. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGraphicsTextGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)Draws the outline of a triangle on the screen, using a supplied character.TextGraphicsAbstractTextGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)voidDefaultShapeRenderer. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGraphicsNullTextGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)voidShapeRenderer. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGraphicsTextGraphics. 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.TextGraphicsAbstractTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)voidDefaultShapeRenderer. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGraphicsNullTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)voidShapeRenderer. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGraphicsTextGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)Draws a filled triangle, using a supplied character.voidDefaultShapeRenderer.Callback. onPoint(int column, int row, TextCharacter character)BasicTextImageBasicTextImage. resize(TerminalSize newSize, TextCharacter filler)TextImageTextImage. 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.voidBasicTextImage. setAll(TextCharacter character)voidTextImage. setAll(TextCharacter character)Sets the text image content to one specified character (including color and style)TextGraphicsAbstractTextGraphics. setCharacter(TerminalPosition position, TextCharacter textCharacter)TextGraphicsDoublePrintingTextGraphics. setCharacter(int columnIndex, int rowIndex, TextCharacter textCharacter)TextGraphicsNullTextGraphics. setCharacter(int column, int row, TextCharacter character)TextGraphicsNullTextGraphics. setCharacter(TerminalPosition position, TextCharacter character)TextGraphicsSubTextGraphics. setCharacter(int columnIndex, int rowIndex, TextCharacter textCharacter)TextGraphicsTextGraphics. 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.TextGraphicsTextGraphics. 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.voidBasicTextImage. setCharacterAt(int column, int row, TextCharacter character)voidBasicTextImage. setCharacterAt(TerminalPosition position, TextCharacter character)voidTextImage. setCharacterAt(int column, int row, TextCharacter character)Sets the character at a specific position in the image to a particular TextCharacter.voidTextImage. 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 TextCharacter Constructor Description BasicTextImage(TerminalSize size, TextCharacter initialContent)Creates a new BasicTextImage with a given size and a TextCharacter to initially fill it withBasicTextImage(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 TextCharacter Modifier and Type Method Description TextCharacterDefaultTextGUIGraphics. getCharacter(int column, int row)TextCharacterDefaultTextGUIGraphics. getCharacter(TerminalPosition position) -
Uses of TextCharacter in com.googlecode.lanterna.screen
Fields in com.googlecode.lanterna.screen declared as TextCharacter Modifier and Type Field Description static TextCharacterScreen. DEFAULT_CHARACTERThis is the character Screen implementations should use as a filler is there are areas not set to any particular character.private TextCharacterAbstractScreen. defaultCharacterMethods in com.googlecode.lanterna.screen that return TextCharacter Modifier and Type Method Description TextCharacterAbstractScreen. getBackCharacter(int column, int row)TextCharacterAbstractScreen. getBackCharacter(TerminalPosition position)TextCharacterScreen. getBackCharacter(int column, int row)Reads a character and its associated meta-data from the back-buffer and returns it encapsulated as a ScreenCharacter.TextCharacterScreen. getBackCharacter(TerminalPosition position)Reads a character and its associated meta-data from the back-buffer and returns it encapsulated as a ScreenCharacter.TextCharacterScreenTextGraphics. getCharacter(int column, int row)TextCharacterScreenBuffer. getCharacterAt(int column, int row)TextCharacterScreenBuffer. getCharacterAt(TerminalPosition position)private TextCharacterAbstractScreen. getCharacterFromBuffer(ScreenBuffer buffer, int column, int row)TextCharacterAbstractScreen. getFrontCharacter(int column, int row)TextCharacterAbstractScreen. getFrontCharacter(TerminalPosition position)TextCharacterScreen. getFrontCharacter(int column, int row)Reads a character and its associated meta-data from the front-buffer and returns it encapsulated as a ScreenCharacter.TextCharacterScreen. getFrontCharacter(TerminalPosition position)Reads a character and its associated meta-data from the front-buffer and returns it encapsulated as a ScreenCharacter.TextCharacterVirtualScreen. getFrontCharacter(TerminalPosition position)Methods in com.googlecode.lanterna.screen with parameters of type TextCharacter Modifier and Type Method Description ScreenBufferScreenBuffer. resize(TerminalSize newSize, TextCharacter filler)voidScreenBuffer. setAll(TextCharacter character)voidAbstractScreen. setCharacter(int column, int row, TextCharacter screenCharacter)voidAbstractScreen. setCharacter(TerminalPosition position, TextCharacter screenCharacter)voidScreen. setCharacter(int column, int row, TextCharacter screenCharacter)Sets a character in the back-buffer to a specified value with specified colors and modifiers.voidScreen. setCharacter(TerminalPosition position, TextCharacter screenCharacter)Sets a character in the back-buffer to a specified value with specified colors and modifiers.TextGraphicsScreenTextGraphics. setCharacter(int columnIndex, int rowIndex, TextCharacter textCharacter)voidScreenBuffer. setCharacterAt(int column, int row, TextCharacter character)voidScreenBuffer. setCharacterAt(TerminalPosition position, TextCharacter character)Constructors in com.googlecode.lanterna.screen with parameters of type TextCharacter Constructor Description AbstractScreen(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 TextCharacter Modifier and Type Field Description private TextCharacterTerminalTextGraphics. lastCharacterFields in com.googlecode.lanterna.terminal with type parameters of type TextCharacter Modifier and Type Field Description private java.util.Map<TerminalPosition,TextCharacter>TerminalTextGraphics. writeHistoryMethods in com.googlecode.lanterna.terminal that return TextCharacter Modifier and Type Method Description TextCharacterTerminalTextGraphics. getCharacter(int column, int row)TextCharacterTerminalTextGraphics. getCharacter(TerminalPosition position)Methods in com.googlecode.lanterna.terminal with parameters of type TextCharacter Modifier and Type Method Description private voidTerminalTextGraphics. applyGraphicState(TextCharacter textCharacter)TextGraphicsTerminalTextGraphics. setCharacter(int columnIndex, int rowIndex, TextCharacter textCharacter)TextGraphicsTerminalTextGraphics. 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 TextCharacter Modifier and Type Method Description private java.awt.ColorGraphicalTerminalImplementation. deriveTrueBackgroundColor(TextCharacter character, boolean atCursorLocation)private java.awt.ColorGraphicalTerminalImplementation. deriveTrueForegroundColor(TextCharacter character, boolean atCursorLocation)private voidGraphicalTerminalImplementation. drawCharacter(java.awt.Graphics g, TextCharacter character, int columnIndex, int rowIndex, java.awt.Color foregroundColor, java.awt.Color backgroundColor, int fontWidth, int fontHeight, int characterWidth, int scrollingOffsetInPixels, boolean drawCursor)(package private) java.awt.FontAWTTerminalFontConfiguration. getFontForCharacter(TextCharacter character)Given a certain character, return the font to use for drawing it.protected java.awt.FontAWTTerminalImplementation. getFontForCharacter(TextCharacter character)(package private) abstract java.awt.FontGraphicalTerminalImplementation. getFontForCharacter(TextCharacter character)Returning the AWT font to use for the specific character.protected java.awt.FontSwingTerminalImplementation. getFontForCharacter(TextCharacter character) -
Uses of TextCharacter in com.googlecode.lanterna.terminal.virtual
Fields in com.googlecode.lanterna.terminal.virtual declared as TextCharacter Modifier and Type Field Description private static TextCharacterTextBuffer. DOUBLE_WIDTH_CHAR_PADDINGFields in com.googlecode.lanterna.terminal.virtual with type parameters of type TextCharacter Modifier and Type Field Description private java.util.LinkedList<java.util.List<TextCharacter>>TextBuffer. linesMethods in com.googlecode.lanterna.terminal.virtual that return TextCharacter Modifier and Type Method Description TextCharacterDefaultVirtualTerminal. getBufferCharacter(int column, int row)TextCharacterDefaultVirtualTerminal. getBufferCharacter(TerminalPosition position)TextCharacterVirtualTerminal. 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.TextCharacterVirtualTerminal. getBufferCharacter(TerminalPosition position)Returns a character from this virtual terminal, relative to the top-left position of the text buffer including any backlog.TextCharacterDefaultVirtualTerminal. getCharacter(int column, int row)TextCharacterDefaultVirtualTerminal. getCharacter(TerminalPosition position)(package private) TextCharacterTextBuffer. getCharacter(int lineNumber, int columnIndex)TextCharacterVirtualTerminal. getCharacter(int column, int row)Returns a character from the viewport at the specified coordinates.TextCharacterVirtualTerminal. getCharacter(TerminalPosition position)Returns a character from the viewport at the specified coordinates.TextCharacterVirtualTerminalTextGraphics. getCharacter(int column, int row)TextCharacterVirtualTerminalTextGraphics. getCharacter(TerminalPosition position)TextCharacterVirtualTerminal.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 TextCharacter Modifier and Type Method Description (package private) java.util.ListIterator<java.util.List<TextCharacter>>TextBuffer. getLinesFrom(int rowNumber)Methods in com.googlecode.lanterna.terminal.virtual with parameters of type TextCharacter Modifier and Type Method Description (package private) voidDefaultVirtualTerminal. putCharacter(TextCharacter terminalCharacter)(package private) intTextBuffer. setCharacter(int lineNumber, int columnIndex, TextCharacter textCharacter)TextGraphicsVirtualTerminalTextGraphics. setCharacter(int columnIndex, int rowIndex, TextCharacter textCharacter)
-