Uses of Interface
com.googlecode.lanterna.graphics.TextGraphics
Packages that use TextGraphics
Package
Description
-
Uses of TextGraphics in com.googlecode.lanterna.graphics
Subinterfaces of TextGraphics in com.googlecode.lanterna.graphicsModifier and TypeInterfaceDescriptioninterfaceExpanded TextGraphics that adds methods to interact with themesClasses in com.googlecode.lanterna.graphics that implement TextGraphicsModifier and TypeClassDescriptionclassThis class hold the default logic for drawing the basic text graphic as exposed by TextGraphic.classThis TextGraphics implementation wraps another TextGraphics and forwards all operations to it, but with a few differences.Methods in com.googlecode.lanterna.graphics that return TextGraphicsModifier and TypeMethodDescriptionAbstractTextGraphics.clearModifiers()AbstractTextGraphics.disableModifiers(SGR... modifiers) AbstractTextGraphics.drawImage(TerminalPosition topLeft, TextImage image) AbstractTextGraphics.drawImage(TerminalPosition topLeft, TextImage image, TerminalPosition sourceImageTopLeft, TerminalSize sourceImageSize) TextGraphics.drawImage(TerminalPosition topLeft, TextImage image) Takes a TextImage and draws it on the surface this TextGraphics is targeting, given the coordinates on the target that is specifying where the top-left corner of the image should be drawn.TextGraphics.drawImage(TerminalPosition topLeft, TextImage image, TerminalPosition sourceImageTopLeft, TerminalSize sourceImageSize) Takes a TextImage and draws it on the surface this TextGraphics is targeting, given the coordinates on the target that is specifying where the top-left corner of the image should be drawn.AbstractTextGraphics.drawLine(int fromX, int fromY, int toX, int toY, char character) AbstractTextGraphics.drawLine(int fromX, int fromY, int toX, int toY, TextCharacter character) AbstractTextGraphics.drawLine(TerminalPosition fromPosition, TerminalPosition toPoint, char character) AbstractTextGraphics.drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character) TextGraphics.drawLine(int fromX, int fromY, int toX, int toY, char character) Draws a line from a specified position to a specified position, using a supplied 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, char 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.AbstractTextGraphics.drawRectangle(TerminalPosition topLeft, TerminalSize size, char character) AbstractTextGraphics.drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character) TextGraphics.drawRectangle(TerminalPosition topLeft, TerminalSize size, char character) Draws the outline of a rectangle with a particular character (and the currently active colors and modifiers).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, char character) AbstractTextGraphics.drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) TextGraphics.drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character) Draws the outline of a triangle on the screen, using a supplied 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.enableModifiers(SGR... modifiers) AbstractTextGraphics.fill(char c) TextGraphics.fill(char c) Fills the entire writable area with a single character, using current foreground color, background color and modifiers.AbstractTextGraphics.fillRectangle(TerminalPosition topLeft, TerminalSize size, char character) AbstractTextGraphics.fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character) TextGraphics.fillRectangle(TerminalPosition topLeft, TerminalSize size, char character) Takes a rectangle and fills it with a particular character (and the currently active colors and modifiers).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, char character) AbstractTextGraphics.fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) TextGraphics.fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character) Draws a filled triangle, using a supplied character.TextGraphics.fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character) Draws a filled triangle, using a supplied character.AbstractTextGraphics.newTextGraphics(TerminalPosition topLeftCorner, TerminalSize size) BasicTextImage.newTextGraphics()TextGraphics.newTextGraphics(TerminalPosition topLeftCorner, TerminalSize size) Creates a new TextGraphics of the same type as this one, using the same underlying subsystem.TextImage.newTextGraphics()Creates a TextGraphics object that targets this TextImage for all its drawing operations.AbstractTextGraphics.putCSIStyledString(int column, int row, String string) AbstractTextGraphics.putCSIStyledString(TerminalPosition position, String string) TextGraphics.putCSIStyledString(int column, int row, String string) Puts a string on the screen at the specified position with the current colors and modifiers.TextGraphics.putCSIStyledString(TerminalPosition position, String string) Puts a string on the screen at the specified position with the current colors and modifiers.AbstractTextGraphics.putString(int column, int row, String string, SGR extraModifier, SGR... optionalExtraModifiers) AbstractTextGraphics.putString(int column, int row, String string, Collection<SGR> extraModifiers) AbstractTextGraphics.putString(TerminalPosition position, String string) AbstractTextGraphics.putString(TerminalPosition position, String string, SGR extraModifier, SGR... optionalExtraModifiers) Puts a string on the screen at the specified position with the current colors and modifiers.TextGraphics.putString(int column, int row, String string, SGR extraModifier, SGR... optionalExtraModifiers) Puts a string on the screen at the specified position with the current colors and modifiers.TextGraphics.putString(int column, int row, String string, Collection<SGR> extraModifiers) Puts a string on the screen at the specified position with the current colors and modifiers.TextGraphics.putString(TerminalPosition position, String string) Shortcut to calling:TextGraphics.putString(TerminalPosition position, String string, SGR extraModifier, SGR... optionalExtraModifiers) Shortcut to calling:AbstractTextGraphics.setBackgroundColor(TextColor backgroundColor) AbstractTextGraphics.setCharacter(int column, int row, char character) AbstractTextGraphics.setCharacter(TerminalPosition position, char character) AbstractTextGraphics.setCharacter(TerminalPosition position, TextCharacter textCharacter) DoublePrintingTextGraphics.setCharacter(int columnIndex, int rowIndex, TextCharacter textCharacter) TextGraphics.setCharacter(int column, int row, char character) Sets the character at the current position to the specified valueTextGraphics.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, char character) Sets the character at the current position to the specified valueTextGraphics.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.AbstractTextGraphics.setForegroundColor(TextColor foregroundColor) AbstractTextGraphics.setModifiers(EnumSet<SGR> modifiers) AbstractTextGraphics.setStyleFrom(StyleSet<?> source) AbstractTextGraphics.setTabBehaviour(TabBehaviour tabBehaviour) TextGraphics.setTabBehaviour(TabBehaviour tabBehaviour) Sets the behaviour to use when expanding tab characters (\t) to spacesConstructors in com.googlecode.lanterna.graphics with parameters of type TextGraphicsModifierConstructorDescriptionDoublePrintingTextGraphics(TextGraphics underlyingTextGraphics) Creates a newDoublePrintingTextGraphicson top of a suppliedTextGraphicsTextGraphicsWriter(TextGraphics backend) -
Uses of TextGraphics in com.googlecode.lanterna.gui2
Subinterfaces of TextGraphics in com.googlecode.lanterna.gui2Modifier and TypeInterfaceDescriptioninterfaceTextGraphics implementation used by TextGUI when doing any drawing operation.Classes in com.googlecode.lanterna.gui2 that implement TextGraphicsMethods in com.googlecode.lanterna.gui2 with parameters of type TextGraphicsModifier and TypeMethodDescriptionstatic voidBorders.joinLinesWithFrame(TextGraphics graphics) This method will attempt to join line drawing characters with the outermost bottom and top rows and left and right columns. -
Uses of TextGraphics in com.googlecode.lanterna.screen
Methods in com.googlecode.lanterna.screen that return TextGraphicsModifier and TypeMethodDescriptionAbstractScreen.newTextGraphics()Screen.newTextGraphics()Creates a new TextGraphics objects that is targeting this Screen for writing to.ScreenBuffer.newTextGraphics()Methods in com.googlecode.lanterna.screen with parameters of type TextGraphicsModifier and TypeMethodDescriptionvoidVirtualScreen.FrameRenderer.drawFrame(TextGraphics graphics, TerminalSize realSize, TerminalSize virtualSize, TerminalPosition virtualScrollPosition) Drawn the 'frame', meaning anything that is outside the viewport (title, scrollbar, etc) -
Uses of TextGraphics in com.googlecode.lanterna.terminal
Methods in com.googlecode.lanterna.terminal that return TextGraphicsModifier and TypeMethodDescriptionAbstractTerminal.newTextGraphics()IOSafeTerminalAdapter.newTextGraphics()Terminal.newTextGraphics()Creates a new TextGraphics object that uses this Terminal directly when outputting. -
Uses of TextGraphics in com.googlecode.lanterna.terminal.swing
Methods in com.googlecode.lanterna.terminal.swing that return TextGraphicsModifier and TypeMethodDescriptionAWTTerminal.newTextGraphics()AWTTerminalFrame.newTextGraphics()ScrollingAWTTerminal.newTextGraphics()ScrollingSwingTerminal.newTextGraphics()SwingTerminal.newTextGraphics()SwingTerminalFrame.newTextGraphics() -
Uses of TextGraphics in com.googlecode.lanterna.terminal.virtual
Methods in com.googlecode.lanterna.terminal.virtual that return TextGraphics