Uses of Class
jexer.bits.CellAttributes
-
Packages that use CellAttributes Package Description jexer Jexer - Java Text User Interface libraryjexer.backend The interface between TApplication and user-facing I/O.jexer.bits Low-level data objects and utility functions that don't warrant their own separate package.jexer.terminal An ECMA-48 / ANSI X3.64 style terminal emulator.jexer.texteditor A basic text editor backend supporting word highlighting. -
-
Uses of CellAttributes in jexer
Methods in jexer that return CellAttributes Modifier and Type Method Description CellAttributesTWidget. getAttrXY(int x, int y)Get the attributes at one location, relative to this widget's location.CellAttributesTWidget. getAttrXY(int x, int y, boolean absolute)Get the attributes at one location.CellAttributesTHelpWindow. getBackground()Retrieve the background color.CellAttributesTWindow. getBackground()Retrieve the background color.CellAttributesTHelpWindow. getBorder()Retrieve the border color.CellAttributesTWindow. getBorder()Retrieve the border color.CellAttributesTHelpWindow. getBorderControls()Retrieve the color used by the window movement/sizing controls.CellAttributesTWindow. getBorderControls()Retrieve the color used by the window movement/sizing controls.Methods in jexer with parameters of type CellAttributes Modifier and Type Method Description voidTWidget. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, BorderStyle borderStyle, boolean shadow)Draw a box with a border and empty background.voidTWidget. drawForegroundBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, BorderStyle borderStyle, boolean shadow)Draw a box with a border and empty background, using only the foreground attributes.voidTWidget. hForegroundLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a horizontal line from (x, y) to (x + n, y), using only the foreground attributes.voidTWidget. hLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a horizontal line from (x, y) to (x + n, y).voidTWidget. putAll(int ch, CellAttributes attr)Fill the entire screen with one character with attributes.voidTWidget. putAttrXY(int x, int y, CellAttributes attr)Set the attributes at one location.voidTWidget. putAttrXY(int x, int y, CellAttributes attr, boolean clip)Set the attributes at one location.voidTWidget. putBackgroundAttrBox(int left, int top, int right, int bottom, CellAttributes attr)Change the background color only of a box/region of the screen.voidTWidget. putBackgroundAttrXY(int x, int y, CellAttributes attr)Set the background color only at one location.voidTWidget. putBackgroundAttrXY(int x, int y, CellAttributes attr, boolean clip)Set the background color only at one location.voidTWidget. putCharXY(int x, int y, int ch, CellAttributes attr)Render one character with attributes.voidTWidget. putForegroundCharXY(int x, int y, int ch, CellAttributes attr)Render one character, using only the foreground attributes.voidTWidget. putForegroundStringXY(int x, int y, java.lang.String str, CellAttributes attr)Render a string, using only the foreground attributes.voidTWidget. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)Render a string with attributes.voidTWidget. vLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a vertical line from (x, y) to (x, y + n). -
Uses of CellAttributes in jexer.backend
Methods in jexer.backend that return CellAttributes Modifier and Type Method Description CellAttributesLogicalScreen. getAttrXY(int x, int y)Get the attributes at one location.CellAttributesScreen. getAttrXY(int x, int y)Get the attributes at one location.Methods in jexer.backend with parameters of type CellAttributes Modifier and Type Method Description java.awt.ColorBackend. attrToBackgroundColor(CellAttributes attr)Convert a CellAttributes background color to an AWT Color.java.awt.ColorECMA48Backend. attrToBackgroundColor(CellAttributes attr)Convert a CellAttributes background color to an AWT Color.java.awt.ColorECMA48Terminal. attrToBackgroundColor(CellAttributes attr)Convert a CellAttributes background color to an AWT Color.java.awt.ColorHeadlessBackend. attrToBackgroundColor(CellAttributes attr)Convert a CellAttributes background color to an AWT Color.java.awt.ColorMultiBackend. attrToBackgroundColor(CellAttributes attr)Convert a CellAttributes background color to an AWT Color.java.awt.ColorSwingBackend. attrToBackgroundColor(CellAttributes attr)Convert a CellAttributes background color to an AWT Color.static java.awt.ColorSwingTerminal. attrToBackgroundColor(CellAttributes attr)Convert a CellAttributes background color to an AWT Color.java.awt.ColorTWindowBackend. attrToBackgroundColor(CellAttributes attr)Convert a CellAttributes background color to an AWT Color.java.awt.ColorBackend. attrToForegroundColor(CellAttributes attr)Convert a CellAttributes foreground color to an AWT Color.java.awt.ColorECMA48Backend. attrToForegroundColor(CellAttributes attr)Convert a CellAttributes foreground color to an AWT Color.java.awt.ColorECMA48Terminal. attrToForegroundColor(CellAttributes attr)Convert a CellAttributes foreground color to an AWT Color.java.awt.ColorHeadlessBackend. attrToForegroundColor(CellAttributes attr)Convert a CellAttributes foreground color to an AWT Color.java.awt.ColorMultiBackend. attrToForegroundColor(CellAttributes attr)Convert a CellAttributes foreground color to an AWT Color.java.awt.ColorSwingBackend. attrToForegroundColor(CellAttributes attr)Convert a CellAttributes foreground color to an AWT Color.static java.awt.ColorSwingTerminal. attrToForegroundColor(CellAttributes attr)Convert a CellAttributes foreground color to an AWT Color.java.awt.ColorTWindowBackend. attrToForegroundColor(CellAttributes attr)Convert a CellAttributes foreground color to an AWT Color.voidLogicalScreen. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, BorderStyle borderStyle, boolean shadow)Draw a box with a border and empty background.voidScreen. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, BorderStyle borderStyle, boolean shadow)Draw a box with a border and empty background.voidLogicalScreen. drawForegroundBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, BorderStyle borderStyle, boolean shadow)Draw a box with a border and empty background, using only the foreground attributes.voidScreen. drawForegroundBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, BorderStyle borderStyle, boolean shadow)Draw a box with a border and empty background, using only the foreground attributes.voidLogicalScreen. hForegroundLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a horizontal line from (x, y) to (x + n, y), using only the foreground attributes.voidScreen. hForegroundLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a horizontal line from (x, y) to (x + n, y), using only the foreground attributes.voidLogicalScreen. hLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a horizontal line from (x, y) to (x + n, y).voidScreen. hLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a horizontal line from (x, y) to (x + n, y).voidLogicalScreen. putAll(int ch, CellAttributes attr)Fill the entire screen with one character with attributes.voidScreen. putAll(int ch, CellAttributes attr)Fill the entire screen with one character with attributes.voidLogicalScreen. putAttrXY(int x, int y, CellAttributes attr)Set the attributes at one location.voidLogicalScreen. putAttrXY(int x, int y, CellAttributes attr, boolean clip)Set the attributes at one location.voidScreen. putAttrXY(int x, int y, CellAttributes attr)Set the attributes at one location.voidScreen. putAttrXY(int x, int y, CellAttributes attr, boolean clip)Set the attributes at one location.voidLogicalScreen. putBackgroundAttrBox(int left, int top, int right, int bottom, CellAttributes attr)Change the background color only of a box/region of the screen.voidScreen. putBackgroundAttrBox(int left, int top, int right, int bottom, CellAttributes attr)Change the background color only of a box/region of the screen.voidLogicalScreen. putBackgroundAttrXY(int x, int y, CellAttributes attr)Set the background color only at one location.voidLogicalScreen. putBackgroundAttrXY(int x, int y, CellAttributes attr, boolean clip)Set the background color only at one location.voidScreen. putBackgroundAttrXY(int x, int y, CellAttributes attr)Set the background color only at one location.voidScreen. putBackgroundAttrXY(int x, int y, CellAttributes attr, boolean clip)Set the background color only at one location.voidLogicalScreen. putCharXY(int x, int y, int ch, CellAttributes attr)Render one character with attributes.voidScreen. putCharXY(int x, int y, int ch, CellAttributes attr)Render one character with attributes.voidLogicalScreen. putForegroundCharXY(int x, int y, int ch, CellAttributes attr)Render one character, using only the foreground attributes.voidScreen. putForegroundCharXY(int x, int y, int ch, CellAttributes attr)Render one character, using only the foreground attributes.voidLogicalScreen. putForegroundStringXY(int x, int y, java.lang.String str, CellAttributes attr)Render a string, using only the foreground attributes.voidScreen. putForegroundStringXY(int x, int y, java.lang.String str, CellAttributes attr)Render a string, using only the foreground attributes.voidLogicalScreen. putFullwidthCharXY(int x, int y, int ch, CellAttributes attr)Render one fullwidth character with attributes.voidLogicalScreen. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)Render a string with attributes.voidScreen. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)Render a string with attributes.voidLogicalScreen. vForegroundLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a vertical line from (x, y) to (x, y + n), using only the foreground attributes.voidScreen. vForegroundLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a vertical line from (x, y) to (x, y + n), using only the foreground attributes.voidLogicalScreen. vLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a vertical line from (x, y) to (x, y + n).voidScreen. vLineXY(int x, int y, int n, int ch, CellAttributes attr)Draw a vertical line from (x, y) to (x, y + n). -
Uses of CellAttributes in jexer.bits
Subclasses of CellAttributes in jexer.bits Modifier and Type Class Description classCellThis class represents a single text cell or bit of image on the screen.classComplexCellComplexCell represents a multi-codepoint glyph, as commonly used in color emojis, accented characters, and more.Methods in jexer.bits that return CellAttributes Modifier and Type Method Description CellAttributesColorTheme. getColor(java.lang.String name)Retrieve the CellAttributes for a named theme color.Methods in jexer.bits with parameters of type CellAttributes Modifier and Type Method Description voidCell. setAttr(CellAttributes that)Set my field attr values to that's field.voidCell. setAttr(CellAttributes that, boolean keepImage)Set my field attr values to that's field.voidColorTheme. setColor(java.lang.String name, CellAttributes color)Set the color for a named theme color.Constructors in jexer.bits with parameters of type CellAttributes Constructor Description Cell(int ch, CellAttributes attr)Public constructor sets the character and attributes.Cell(CellAttributes attr)Public constructor sets the attributes.CellAttributes(CellAttributes that)Public constructor makes a copy from another instance.ComplexCell(int[] codePoints, CellAttributes attr)Public constructor sets multiple codepoints and attributes.ComplexCell(int codePoint, CellAttributes attr)Public constructor sets a single codepoint and attributes.ComplexCell(CellAttributes attr)Public constructor sets the attributes. -
Uses of CellAttributes in jexer.terminal
Methods in jexer.terminal with parameters of type CellAttributes Modifier and Type Method Description voidDisplayLine. setAttr(int idx, CellAttributes attr)Set the attributes (just the attributes, not the char) at the specified position to attr.Constructors in jexer.terminal with parameters of type CellAttributes Constructor Description DisplayLine(CellAttributes attr)Public constructor sets everything to drawing attributes. -
Uses of CellAttributes in jexer.texteditor
Methods in jexer.texteditor that return CellAttributes Modifier and Type Method Description CellAttributesHighlighter. getColor(java.lang.String name)Retrieve the CellAttributes for a named theme color.CellAttributesWord. getColor()Get the color used to display this word on screen.Methods in jexer.texteditor with parameters of type CellAttributes Modifier and Type Method Description voidWord. setColor(CellAttributes color)Set the color used to display this word on screen.Constructors in jexer.texteditor with parameters of type CellAttributes Constructor Description Document(java.lang.String str, CellAttributes defaultColor)Construct a new Document from an existing text string.Line(java.lang.String str, CellAttributes defaultColor)Construct a new Line from an existing text string.Line(java.lang.String str, CellAttributes defaultColor, Highlighter highlighter)Construct a new Line from an existing text string, and highlight certain strings.Word(int ch, CellAttributes defaultColor, Highlighter highlighter)Construct a word with one character.Word(CellAttributes defaultColor, Highlighter highlighter)Construct a word with an empty string.
-