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 CellAttributes
TWidget. getAttrXY(int x, int y)
Get the attributes at one location.CellAttributes
THelpWindow. getBackground()
Retrieve the background color.CellAttributes
TWindow. getBackground()
Retrieve the background color.CellAttributes
THelpWindow. getBorder()
Retrieve the border color.CellAttributes
TWindow. getBorder()
Retrieve the border color.CellAttributes
THelpWindow. getBorderControls()
Retrieve the color used by the window movement/sizing controls.CellAttributes
TWindow. getBorderControls()
Retrieve the color used by the window movement/sizing controls.Methods in jexer with parameters of type CellAttributes Modifier and Type Method Description void
TWidget. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background)
Draw a box with a border and empty background.void
TWidget. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, int borderType, boolean shadow)
Draw a box with a border and empty background.void
TWidget. hLineXY(int x, int y, int n, int ch, CellAttributes attr)
Draw a horizontal line from (x, y) to (x + n, y).void
TWidget. putAll(int ch, CellAttributes attr)
Fill the entire screen with one character with attributes.void
TWidget. putAttrXY(int x, int y, CellAttributes attr)
Set the attributes at one location.void
TWidget. putAttrXY(int x, int y, CellAttributes attr, boolean clip)
Set the attributes at one location.void
TWidget. putCharXY(int x, int y, int ch, CellAttributes attr)
Render one character with attributes.void
TWidget. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)
Render a string.void
TButton. setShadowColor(CellAttributes color)
Set the background color used for the button "shadow".void
TWidget. 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 CellAttributes
LogicalScreen. getAttrXY(int x, int y)
Get the attributes at one location.CellAttributes
MultiScreen. getAttrXY(int x, int y)
Get the attributes at one location.CellAttributes
Screen. 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 static java.awt.Color
SwingTerminal. attrToBackgroundColor(CellAttributes attr)
Convert a CellAttributes background color to an Swing Color.static java.awt.Color
SwingTerminal. attrToForegroundColor(CellAttributes attr)
Convert a CellAttributes foreground color to an Swing Color.void
LogicalScreen. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background)
Draw a box with a border and empty background.void
LogicalScreen. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, int borderType, boolean shadow)
Draw a box with a border and empty background.void
MultiScreen. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background)
Draw a box with a border and empty background.void
MultiScreen. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, int borderType, boolean shadow)
Draw a box with a border and empty background.void
Screen. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background)
Draw a box with a border and empty background.void
Screen. drawBox(int left, int top, int right, int bottom, CellAttributes border, CellAttributes background, int borderType, boolean shadow)
Draw a box with a border and empty background.void
LogicalScreen. hLineXY(int x, int y, int n, int ch, CellAttributes attr)
Draw a horizontal line from (x, y) to (x + n, y).void
MultiScreen. hLineXY(int x, int y, int n, int ch, CellAttributes attr)
Draw a horizontal line from (x, y) to (x + n, y).void
Screen. hLineXY(int x, int y, int n, int ch, CellAttributes attr)
Draw a horizontal line from (x, y) to (x + n, y).void
LogicalScreen. putAll(int ch, CellAttributes attr)
Fill the entire screen with one character with attributes.void
MultiScreen. putAll(int ch, CellAttributes attr)
Fill the entire screen with one character with attributes.void
Screen. putAll(int ch, CellAttributes attr)
Fill the entire screen with one character with attributes.void
LogicalScreen. putAttrXY(int x, int y, CellAttributes attr)
Set the attributes at one location.void
LogicalScreen. putAttrXY(int x, int y, CellAttributes attr, boolean clip)
Set the attributes at one location.void
MultiScreen. putAttrXY(int x, int y, CellAttributes attr)
Set the attributes at one location.void
MultiScreen. putAttrXY(int x, int y, CellAttributes attr, boolean clip)
Set the attributes at one location.void
Screen. putAttrXY(int x, int y, CellAttributes attr)
Set the attributes at one location.void
Screen. putAttrXY(int x, int y, CellAttributes attr, boolean clip)
Set the attributes at one location.void
LogicalScreen. putCharXY(int x, int y, int ch, CellAttributes attr)
Render one character with attributes.void
MultiScreen. putCharXY(int x, int y, int ch, CellAttributes attr)
Render one character with attributes.void
Screen. putCharXY(int x, int y, int ch, CellAttributes attr)
Render one character with attributes.void
LogicalScreen. putFullwidthCharXY(int x, int y, int ch, CellAttributes attr)
Render one fullwidth character with attributes.void
LogicalScreen. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)
Render a string.void
MultiScreen. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)
Render a string.void
Screen. putStringXY(int x, int y, java.lang.String str, CellAttributes attr)
Render a string.void
LogicalScreen. vLineXY(int x, int y, int n, int ch, CellAttributes attr)
Draw a vertical line from (x, y) to (x, y + n).void
MultiScreen. vLineXY(int x, int y, int n, int ch, CellAttributes attr)
Draw a vertical line from (x, y) to (x, y + n).void
Screen. 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 class
Cell
This 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 CellAttributes
ColorTheme. 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 void
Cell. setAttr(CellAttributes that)
Set my field attr values to that's field.void
Cell. setAttr(CellAttributes that, boolean keepImage)
Set my field attr values to that's field.void
ColorTheme. 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 CellAttributes
Highlighter. getColor(java.lang.String name)
Retrieve the CellAttributes for a named theme color.CellAttributes
Word. 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 void
Word. 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 void
DisplayLine. 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.
-