Uses of Interface
com.googlecode.lanterna.gui2.TextGUIGraphics
-
Packages that use TextGUIGraphics Package Description com.googlecode.lanterna.gui2 com.googlecode.lanterna.gui2.menu com.googlecode.lanterna.gui2.table -
-
Uses of TextGUIGraphics in com.googlecode.lanterna.gui2
Classes in com.googlecode.lanterna.gui2 that implement TextGUIGraphics Modifier and Type Class Description classDefaultTextGUIGraphicsCreated by Martin on 2017-08-11.Methods in com.googlecode.lanterna.gui2 that return TextGUIGraphics Modifier and Type Method Description TextGUIGraphicsTextGUIGraphics. applyThemeStyle(ThemeStyle themeStyle)TextGUIGraphicsTextGUIGraphics. clearModifiers()TextGUIGraphicsTextGUIGraphics. disableModifiers(SGR... modifiers)TextGUIGraphicsDefaultWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)TextGUIGraphicsEmptyWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)TextGUIGraphicsFatWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)TextGUIGraphicsWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)Draws the window decorations for a particular window and returns a new TextGraphics that is locked to the area inside of the window decorations where the content of the window should be drawnTextGUIGraphicsTextGUIGraphics. drawImage(TerminalPosition topLeft, TextImage image)TextGUIGraphicsTextGUIGraphics. drawImage(TerminalPosition topLeft, TextImage image, TerminalPosition sourceImageTopLeft, TerminalSize sourceImageSize)TextGUIGraphicsTextGUIGraphics. drawLine(int fromX, int fromY, int toX, int toY, char character)TextGUIGraphicsTextGUIGraphics. drawLine(int fromX, int fromY, int toX, int toY, TextCharacter character)TextGUIGraphicsTextGUIGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, char character)TextGUIGraphicsTextGUIGraphics. drawLine(TerminalPosition fromPoint, TerminalPosition toPoint, TextCharacter character)TextGUIGraphicsTextGUIGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGUIGraphicsTextGUIGraphics. drawRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGUIGraphicsTextGUIGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGUIGraphicsTextGUIGraphics. drawTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGUIGraphicsTextGUIGraphics. enableModifiers(SGR... modifiers)TextGUIGraphicsTextGUIGraphics. fill(char c)TextGUIGraphicsTextGUIGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, char character)TextGUIGraphicsTextGUIGraphics. fillRectangle(TerminalPosition topLeft, TerminalSize size, TextCharacter character)TextGUIGraphicsTextGUIGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, char character)TextGUIGraphicsTextGUIGraphics. fillTriangle(TerminalPosition p1, TerminalPosition p2, TerminalPosition p3, TextCharacter character)TextGUIGraphicsTextGUIGraphics. newTextGraphics(TerminalPosition topLeftCorner, TerminalSize size)TextGUIGraphicsTextGUIGraphics. putCSIStyledString(int column, int row, java.lang.String string)TextGUIGraphicsTextGUIGraphics. putCSIStyledString(TerminalPosition position, java.lang.String string)TextGUIGraphicsTextGUIGraphics. putString(int column, int row, java.lang.String string)TextGUIGraphicsTextGUIGraphics. putString(int column, int row, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGUIGraphicsTextGUIGraphics. putString(int column, int row, java.lang.String string, java.util.Collection<SGR> extraModifiers)TextGUIGraphicsTextGUIGraphics. putString(TerminalPosition position, java.lang.String string)TextGUIGraphicsTextGUIGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGUIGraphicsTextGUIGraphics. setBackgroundColor(TextColor backgroundColor)TextGUIGraphicsTextGUIGraphics. setCharacter(int column, int row, char character)TextGUIGraphicsTextGUIGraphics. setCharacter(int column, int row, TextCharacter character)TextGUIGraphicsTextGUIGraphics. setCharacter(TerminalPosition position, char character)TextGUIGraphicsTextGUIGraphics. setCharacter(TerminalPosition position, TextCharacter character)TextGUIGraphicsTextGUIGraphics. setForegroundColor(TextColor foregroundColor)TextGUIGraphicsTextGUIGraphics. setModifiers(java.util.EnumSet<SGR> modifiers)TextGUIGraphicsTextGUIGraphics. setStyleFrom(StyleSet<?> source)TextGUIGraphicsTextGUIGraphics. setTabBehaviour(TabBehaviour tabBehaviour)Methods in com.googlecode.lanterna.gui2 with parameters of type TextGUIGraphics Modifier and Type Method Description voidAbstractBasePane. draw(TextGUIGraphics graphics)voidAbstractComponent. draw(TextGUIGraphics graphics)voidAbstractWindow. draw(TextGUIGraphics graphics)voidBasePane. draw(TextGUIGraphics graphics)Called by the GUI system (or something imitating the GUI system) to draw the root container.TextGUIGraphicsDefaultWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)TextGUIGraphicsEmptyWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)TextGUIGraphicsFatWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)voidTextGUIElement. draw(TextGUIGraphics graphics)Draws the GUI element using the supplied TextGUIGraphics object.voidWindow. draw(TextGUIGraphics graphics)Called by the GUI system (or something imitating the GUI system) to draw the window.TextGUIGraphicsWindowDecorationRenderer. draw(WindowBasedTextGUI textGUI, TextGUIGraphics graphics, Window window)Draws the window decorations for a particular window and returns a new TextGraphics that is locked to the area inside of the window decorations where the content of the window should be drawnprivate voidMultiWindowTextGUI. drawBackgroundPane(TextGUIGraphics graphics)voidAbstractListBox.DefaultListBoxRenderer. drawComponent(TextGUIGraphics graphics, T listBox)voidBorders.AbstractBorderRenderer. drawComponent(TextGUIGraphics graphics, Border component)voidButton.BorderedButtonRenderer. drawComponent(TextGUIGraphics graphics, Button button)voidButton.DefaultButtonRenderer. drawComponent(TextGUIGraphics graphics, Button button)voidButton.FlatButtonRenderer. drawComponent(TextGUIGraphics graphics, Button button)voidCheckBox.DefaultCheckBoxRenderer. drawComponent(TextGUIGraphics graphics, CheckBox component)voidComboBox.DefaultComboBoxRenderer. drawComponent(TextGUIGraphics graphics, ComboBox<V> comboBox)voidComponentRenderer. drawComponent(TextGUIGraphics graphics, T component)Using the supplied graphics object, draws the component passed in.voidPanel.DefaultPanelRenderer. drawComponent(TextGUIGraphics graphics, Panel panel)voidProgressBar.DefaultProgressBarRenderer. drawComponent(TextGUIGraphics graphics, ProgressBar component)voidProgressBar.LargeProgressBarRenderer. drawComponent(TextGUIGraphics graphics, ProgressBar component)voidScrollBar.DefaultScrollBarRenderer. drawComponent(TextGUIGraphics graphics, ScrollBar component)voidSeparator.DefaultSeparatorRenderer. drawComponent(TextGUIGraphics graphics, Separator component)voidTextBox.DefaultTextBoxRenderer. drawComponent(TextGUIGraphics graphics, TextBox component)protected abstract voidAbstractTextGUI. drawGUI(TextGUIGraphics graphics)Draws the entire GUI using aTextGUIGraphicsobjectprotected voidMultiWindowTextGUI. drawGUI(TextGUIGraphics graphics)voidAbstractListBox.ListItemRenderer. drawItem(TextGUIGraphics graphics, T listBox, int index, V item, boolean selected, boolean focused)This is the main drawing method for a single list box item, it applies the current theme to setup the colors and then callsgetLabel(..)and draws the result using the suppliedTextGUIGraphics.voidCheckBoxList.CheckBoxListItemRenderer. drawItem(TextGUIGraphics graphics, CheckBoxList<V> listBox, int index, V item, boolean selected, boolean focused)voidRadioBoxList.RadioBoxListItemRenderer. drawItem(TextGUIGraphics graphics, RadioBoxList<V> listBox, int index, V item, boolean selected, boolean focused)private voidTextBox.DefaultTextBoxRenderer. drawTextArea(TextGUIGraphics graphics, TextBox component)protected voidAbstractComponent. onAfterDrawing(TextGUIGraphics graphics)This method is called immediately after the component's renderer has finished the drawing operation. -
Uses of TextGUIGraphics in com.googlecode.lanterna.gui2.menu
Methods in com.googlecode.lanterna.gui2.menu with parameters of type TextGUIGraphics Modifier and Type Method Description voidMenuBar.DefaultMenuBarRenderer. drawComponent(TextGUIGraphics graphics, MenuBar menuBar)voidMenuItem.DefaultMenuItemRenderer. drawComponent(TextGUIGraphics graphics, MenuItem menuItem) -
Uses of TextGUIGraphics in com.googlecode.lanterna.gui2.table
Methods in com.googlecode.lanterna.gui2.table with parameters of type TextGUIGraphics Modifier and Type Method Description protected voidDefaultTableCellRenderer. afterRender(Table<V> table, V cell, int columnIndex, int rowIndex, boolean isSelected, TextGUIGraphics textGUIGraphics)Called by the cell renderer after the cell content has been drawn into the assigned area.protected voidDefaultTableCellRenderer. applyStyle(Table<V> table, V cell, int columnIndex, int rowIndex, boolean isSelected, TextGUIGraphics textGUIGraphics)Called by the cell renderer to setup all the styling (colors and SGRs) before rendering the cell.protected voidDefaultTableCellRenderer. beforeRender(Table<V> table, V cell, int columnIndex, int rowIndex, boolean isSelected, TextGUIGraphics textGUIGraphics)Called by the cell renderer to prepare the cell area before rendering the cell.voidDefaultTableCellRenderer. drawCell(Table<V> table, V cell, int columnIndex, int rowIndex, TextGUIGraphics textGUIGraphics)voidTableCellRenderer. drawCell(Table<V> table, V cell, int columnIndex, int rowIndex, TextGUIGraphics textGUIGraphics)Called by the table when it's time to draw a cell, you can see how much size is available by checking the size of thetextGUIGraphics.voidDefaultTableRenderer. drawComponent(TextGUIGraphics graphics, Table<V> table)voidTableRenderer. drawComponent(TextGUIGraphics graphics, Table<V> component)voidDefaultTableHeaderRenderer. drawHeader(Table<V> table, java.lang.String label, int index, TextGUIGraphics textGUIGraphics)private voidDefaultTableRenderer. drawHeader(TextGUIGraphics graphics, Table<V> table, java.util.List<java.lang.Integer> columnSizes)voidTableHeaderRenderer. drawHeader(Table<V> table, java.lang.String label, int index, TextGUIGraphics textGUIGraphics)Called by the table when it's time to draw a header, you can see how much size is available by checking the size of thetextGUIGraphics.private voidDefaultTableRenderer. drawRows(TextGUIGraphics graphics, Table<V> table, java.util.List<java.lang.Integer> columnSizes, int visibleRows, int visibleColumns, int renderColumns, boolean needVerticalScrollBar, boolean needHorizontalScrollBar)protected voidDefaultTableCellRenderer. render(Table<V> table, V cell, int columnIndex, int rowIndex, boolean isSelected, TextGUIGraphics textGUIGraphics)Called by the cell renderer to draw the content of the cell into the assigned area.
-