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 TypeInterfaceDescriptioninterface
Expanded TextGraphics that adds methods to interact with themesClasses in com.googlecode.lanterna.graphics that implement TextGraphicsModifier and TypeClassDescriptionclass
This class hold the default logic for drawing the basic text graphic as exposed by TextGraphic.class
This TextGraphics implementation wraps another TextGraphics and forwards all operations to it, but with a few differences.(package private) class
TextGraphics implementation that does nothing, but has a pre-defined size(package private) class
This implementation of TextGraphics will take a 'proper' object and composite a view on top of it, by using a top-left position and a size.Fields in com.googlecode.lanterna.graphics declared as TextGraphicsModifier and TypeFieldDescriptionprivate final TextGraphics
TextGraphicsWriter.backend
private final TextGraphics
DoublePrintingTextGraphics.underlyingTextGraphics
private final TextGraphics
SubTextGraphics.underlyingTextGraphics
Methods in com.googlecode.lanterna.graphics that return TextGraphicsModifier and TypeMethodDescriptionAbstractTextGraphics.clearModifiers()
NullTextGraphics.clearModifiers()
AbstractTextGraphics.disableModifiers
(SGR... modifiers) NullTextGraphics.disableModifiers
(SGR... modifiers) AbstractTextGraphics.drawImage
(TerminalPosition topLeft, TextImage image) AbstractTextGraphics.drawImage
(TerminalPosition topLeft, TextImage image, TerminalPosition sourceImageTopLeft, TerminalSize sourceImageSize) NullTextGraphics.drawImage
(TerminalPosition topLeft, TextImage image) NullTextGraphics.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) NullTextGraphics.drawLine
(int fromX, int fromY, int toX, int toY, char character) NullTextGraphics.drawLine
(int fromX, int fromY, int toX, int toY, TextCharacter character) NullTextGraphics.drawLine
(TerminalPosition fromPoint, TerminalPosition toPoint, char character) NullTextGraphics.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) NullTextGraphics.drawRectangle
(TerminalPosition topLeft, TerminalSize size, char character) NullTextGraphics.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) NullTextGraphics.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character) NullTextGraphics.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) NullTextGraphics.enableModifiers
(SGR... modifiers) AbstractTextGraphics.fill
(char c) NullTextGraphics.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) NullTextGraphics.fillRectangle
(TerminalPosition topLeft, TerminalSize size, char character) NullTextGraphics.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) NullTextGraphics.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character) NullTextGraphics.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()
NullTextGraphics.newTextGraphics
(TerminalPosition topLeftCorner, TerminalSize size) 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) NullTextGraphics.putCSIStyledString
(int column, int row, String string) NullTextGraphics.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) NullTextGraphics.putString
(int column, int row, String string, SGR extraModifier, SGR... optionalExtraModifiers) NullTextGraphics.putString
(int column, int row, String string, Collection<SGR> extraModifiers) NullTextGraphics.putString
(TerminalPosition position, String string) NullTextGraphics.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) NullTextGraphics.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) NullTextGraphics.setCharacter
(int column, int row, char character) NullTextGraphics.setCharacter
(int column, int row, TextCharacter character) NullTextGraphics.setCharacter
(TerminalPosition position, char character) NullTextGraphics.setCharacter
(TerminalPosition position, TextCharacter character) SubTextGraphics.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) NullTextGraphics.setForegroundColor
(TextColor foregroundColor) AbstractTextGraphics.setModifiers
(EnumSet<SGR> modifiers) NullTextGraphics.setModifiers
(EnumSet<SGR> modifiers) AbstractTextGraphics.setStyleFrom
(StyleSet<?> source) NullTextGraphics.setStyleFrom
(StyleSet<?> source) AbstractTextGraphics.setTabBehaviour
(TabBehaviour tabBehaviour) NullTextGraphics.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 newDoublePrintingTextGraphics
on top of a suppliedTextGraphics
(package private)
SubTextGraphics
(TextGraphics underlyingTextGraphics, TerminalPosition topLeft, TerminalSize writableAreaSize) TextGraphicsWriter
(TextGraphics backend) -
Uses of TextGraphics in com.googlecode.lanterna.gui2
Subinterfaces of TextGraphics in com.googlecode.lanterna.gui2Modifier and TypeInterfaceDescriptioninterface
TextGraphics implementation used by TextGUI when doing any drawing operation.Classes in com.googlecode.lanterna.gui2 that implement TextGraphicsFields in com.googlecode.lanterna.gui2 declared as TextGraphicsMethods in com.googlecode.lanterna.gui2 with parameters of type TextGraphicsModifier and TypeMethodDescriptionstatic void
Borders.joinLinesWithFrame
(TextGraphics graphics) This method will attempt to join line drawing characters with the outermost bottom and top rows and left and right columns.Constructors in com.googlecode.lanterna.gui2 with parameters of type TextGraphicsModifierConstructorDescription(package private)
DefaultTextGUIGraphics
(TextGUI textGUI, TextGraphics backend) -
Uses of TextGraphics in com.googlecode.lanterna.screen
Classes in com.googlecode.lanterna.screen that implement TextGraphicsModifier and TypeClassDescription(package private) class
This is an implementation of TextGraphics that targets the output to a 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()
ScreenTextGraphics.setCharacter
(int columnIndex, int rowIndex, TextCharacter textCharacter) Methods in com.googlecode.lanterna.screen with parameters of type TextGraphicsModifier and TypeMethodDescriptionvoid
VirtualScreen.DefaultFrameRenderer.drawFrame
(TextGraphics graphics, TerminalSize realSize, TerminalSize virtualSize, TerminalPosition virtualScrollPosition) void
VirtualScreen.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
Classes in com.googlecode.lanterna.terminal that implement TextGraphicsModifier and TypeClassDescription(package private) class
This is the terminal's implementation of TextGraphics.Methods in com.googlecode.lanterna.terminal that return TextGraphicsModifier and TypeMethodDescriptionTerminalTextGraphics.drawLine
(TerminalPosition fromPoint, TerminalPosition toPoint, char character) TerminalTextGraphics.drawRectangle
(TerminalPosition topLeft, TerminalSize size, char character) TerminalTextGraphics.drawTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character) TerminalTextGraphics.fillRectangle
(TerminalPosition topLeft, TerminalSize size, char character) TerminalTextGraphics.fillTriangle
(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character) AbstractTerminal.newTextGraphics()
IOSafeTerminalAdapter.newTextGraphics()
Terminal.newTextGraphics()
Creates a new TextGraphics object that uses this Terminal directly when outputting.TerminalTextGraphics.setCharacter
(int columnIndex, int rowIndex, TextCharacter textCharacter) TerminalTextGraphics.setCharacter
(TerminalPosition position, TextCharacter textCharacter) -
Uses of TextGraphics in com.googlecode.lanterna.terminal.swing
Methods in com.googlecode.lanterna.terminal.swing that return TextGraphicsModifier and TypeMethodDescriptionAWTTerminal.newTextGraphics()
AWTTerminalFrame.newTextGraphics()
GraphicalTerminalImplementation.newTextGraphics()
ScrollingAWTTerminal.newTextGraphics()
ScrollingSwingTerminal.newTextGraphics()
SwingTerminal.newTextGraphics()
SwingTerminalFrame.newTextGraphics()
-
Uses of TextGraphics in com.googlecode.lanterna.terminal.virtual
Classes in com.googlecode.lanterna.terminal.virtual that implement TextGraphicsModifier and TypeClassDescription(package private) class
Implementation ofTextGraphics
forVirtualTerminal
Methods in com.googlecode.lanterna.terminal.virtual that return TextGraphicsModifier and TypeMethodDescriptionDefaultVirtualTerminal.newTextGraphics()
VirtualTerminalTextGraphics.setCharacter
(int columnIndex, int rowIndex, TextCharacter textCharacter)