Package | Description |
---|---|
ca.randolf.fx.textmode |
TextRegion is a high-performance pixel-perfect JavaFX text-mode region that
accurately resembles the look-and-feel of Unix and DOS screens that were
popular in the 1980s. In particular, the font's appearance has been
accurately re-created, the cursor's behaviour has been implemented with the
utmost attention to function and timing, and has support for both AVATAR
(AVT/0+) and ANSI code sequences. New features are also introduced
to modernize this extensive implementation of text mode, such as support
for full RGB colour support with transparency (RGBA).
|
Modifier and Type | Method and Description |
---|---|
Chr |
Chr.clone()
Instantiate a new Chr object that is a duplicate of this one.
|
Chr |
TextRegion.peek()
Returns the Chr at the current cursor position.
|
Chr |
TextRegion.peek(int r,
int c)
Returns the Chr at the specified cursor position.
|
Chr |
Chr.set(int... cmds)
Alters the value of any number of parameters (in any order).
|
Chr |
Chr.setChanged(boolean changed)
Sets the internal "changed" flag (this setting is normally only managed by
the owning TextRegion object).
|
Chr |
Chr.setColours(int bg_argb_int,
int fg_argb_int)
Specify both the background and foreground colours (formatted as ARGB
integers).
|
static Chr |
Chr.zero(int bg_argb_int,
int fg_argb_int)
Instantiate a new Chr object that is character 0 using the specified
background and foreground colours (formatted as ARGB integers).
|
static Chr |
Chr.zero(int bg_argb_int,
int fg_argb_int,
boolean underline,
boolean strike,
boolean blink,
boolean transparent,
boolean reverse,
boolean hidden)
Instantiate a new Chr object that is character 0 using the specified
background and foreground colours (formatted as ARGB integers), and various
other attributes (which should normally all be "FALSE" by default).
|
static Chr |
Chr.zero(TextRegion tr)
Instantiate a new Chr object that is character 0 using the specified
background and foreground colours (formatted as ARGB integers).
|