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.teditor A basic text editor backend supporting word highlighting.jexer.tterminal An ECMA-48 / ANSI X3.64 style terminal emulator. -
-
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.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)Draw a box with a border and empty background.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. 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. putCharXY(int x, int y, int ch, CellAttributes attr)Render one character with attributes.voidTWidget. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)Render a string.voidTButton. setShadowColor(CellAttributes color)Set the background color used for the button "shadow".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)Draw a box with a border and empty background.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)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. 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. 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. 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.voidScreen. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)Render a string.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.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. -
Uses of CellAttributes in jexer.teditor
Methods in jexer.teditor 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.teditor 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.teditor 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. -
Uses of CellAttributes in jexer.tterminal
Methods in jexer.tterminal 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.tterminal with parameters of type CellAttributes Constructor Description DisplayLine(CellAttributes attr)Public constructor sets everything to drawing attributes.
-