Modifier and Type | Method and Description |
---|---|
static SGR |
SGR.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SGR[] |
SGR.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EnumSet<SGR> |
TextCharacter.getModifiers()
Returns a set of all active modifiers on this TextCharacter
|
Modifier and Type | Method and Description |
---|---|
TextCharacter |
TextCharacter.withModifier(SGR modifier)
Returns a copy of this TextCharacter with an additional SGR modifier.
|
TextCharacter |
TextCharacter.withoutModifier(SGR modifier)
Returns a copy of this TextCharacter with an SGR modifier removed.
|
Modifier and Type | Method and Description |
---|---|
TextCharacter |
TextCharacter.withModifiers(Collection<SGR> modifiers)
Returns a copy of this TextCharacter with specified list of SGR modifiers.
|
Constructor and Description |
---|
TextCharacter(char character,
TextColor foregroundColor,
TextColor backgroundColor,
SGR... styles)
Creates a new
ScreenCharacter based on a physical character, color information and optional modifiers. |
Constructor and Description |
---|
TextCharacter(char character,
TextColor foregroundColor,
TextColor backgroundColor,
EnumSet<SGR> modifiers)
Creates a new
ScreenCharacter based on a physical character, color information and a set of modifiers. |
Modifier and Type | Field and Description |
---|---|
protected EnumSet<SGR> |
AbstractTextGraphics.activeModifiers |
Modifier and Type | Method and Description |
---|---|
EnumSet<SGR> |
TextGraphics.getActiveModifiers()
Returns all the SGR codes that are currently active in the TextGraphic
|
EnumSet<SGR> |
ImmutableThemedTextGraphics.getActiveModifiers() |
EnumSet<SGR> |
AbstractTextGraphics.getActiveModifiers() |
EnumSet<SGR> |
ThemeStyle.getSGRs() |
Modifier and Type | Method and Description |
---|---|
TextGraphics |
TextGraphics.disableModifiers(SGR... modifiers)
Removes zero or more modifiers from the set of currently active modifiers
|
ImmutableThemedTextGraphics |
ImmutableThemedTextGraphics.disableModifiers(SGR... modifiers) |
TextGraphics |
AbstractTextGraphics.disableModifiers(SGR... modifiers) |
TextGraphics |
TextGraphics.enableModifiers(SGR... modifiers)
Adds zero or more modifiers to the set of currently active modifiers
|
ImmutableThemedTextGraphics |
ImmutableThemedTextGraphics.enableModifiers(SGR... modifiers) |
TextGraphics |
AbstractTextGraphics.enableModifiers(SGR... modifiers) |
TextGraphics |
TextGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers)
Puts a string on the screen at the specified position with the current colors and modifiers.
|
TextGraphics |
TextGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers)
Puts a string on the screen at the specified position with the current colors and modifiers.
|
ImmutableThemedTextGraphics |
ImmutableThemedTextGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
ImmutableThemedTextGraphics |
ImmutableThemedTextGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
TextGraphics |
AbstractTextGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
TextGraphics |
AbstractTextGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
TextGraphics |
TextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers)
Shortcut to calling:
|
TextGraphics |
TextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers)
Shortcut to calling:
|
ImmutableThemedTextGraphics |
ImmutableThemedTextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
ImmutableThemedTextGraphics |
ImmutableThemedTextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
TextGraphics |
AbstractTextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
TextGraphics |
AbstractTextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
Modifier and Type | Method and Description |
---|---|
TextGraphics |
TextGraphics.putString(int column,
int row,
String string,
Collection<SGR> extraModifiers)
Puts a string on the screen at the specified position with the current colors and modifiers.
|
TextGraphics |
ImmutableThemedTextGraphics.putString(int column,
int row,
String string,
Collection<SGR> extraModifiers) |
TextGraphics |
AbstractTextGraphics.putString(int column,
int row,
String string,
Collection<SGR> extraModifiers) |
TextGraphics |
TextGraphics.setModifiers(EnumSet<SGR> modifiers)
Sets the active modifiers to exactly the set passed in to this method.
|
ImmutableThemedTextGraphics |
ImmutableThemedTextGraphics.setModifiers(EnumSet<SGR> modifiers) |
TextGraphics |
AbstractTextGraphics.setModifiers(EnumSet<SGR> modifiers) |
Modifier and Type | Method and Description |
---|---|
EnumSet<SGR> |
TextGUIGraphics.getActiveModifiers() |
Modifier and Type | Method and Description |
---|---|
Label |
Label.addStyle(SGR sgr)
Adds an additional SGR style to use when drawing the label, in case it wasn't enabled by the theme
|
TextGUIGraphics |
TextGUIGraphics.disableModifiers(SGR... modifiers) |
TextGUIGraphics |
TextGUIGraphics.enableModifiers(SGR... modifiers) |
TextGUIGraphics |
TextGUIGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
TextGUIGraphics |
TextGUIGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
TextGUIGraphics |
TextGUIGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
TextGUIGraphics |
TextGUIGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
Label |
Label.removeStyle(SGR sgr)
Removes an additional SGR style used when drawing the label, previously added by
addStyle(..) . |
Modifier and Type | Method and Description |
---|---|
TextGraphics |
TextGUIGraphics.putString(int column,
int row,
String string,
Collection<SGR> extraModifiers) |
TextGUIGraphics |
TextGUIGraphics.setModifiers(EnumSet<SGR> modifiers) |
Modifier and Type | Method and Description |
---|---|
void |
Terminal.disableSGR(SGR sgr)
Deactivates an
SGR (Selected Graphic Rendition) code which has previously been activated through enableSGR(..) . |
void |
IOSafeTerminalAdapter.disableSGR(SGR sgr) |
void |
IOSafeTerminal.disableSGR(SGR sgr) |
void |
Terminal.enableSGR(SGR sgr)
Activates an
SGR (Selected Graphic Rendition) code. |
void |
IOSafeTerminalAdapter.enableSGR(SGR sgr) |
void |
IOSafeTerminal.enableSGR(SGR sgr) |
Modifier and Type | Method and Description |
---|---|
void |
ANSITerminal.disableSGR(SGR sgr) |
void |
ANSITerminal.enableSGR(SGR sgr) |
Modifier and Type | Method and Description |
---|---|
void |
SwingTerminalFrame.disableSGR(SGR sgr) |
void |
SwingTerminal.disableSGR(SGR sgr) |
void |
ScrollingSwingTerminal.disableSGR(SGR sgr) |
void |
ScrollingAWTTerminal.disableSGR(SGR sgr) |
void |
AWTTerminalFrame.disableSGR(SGR sgr) |
void |
AWTTerminal.disableSGR(SGR sgr) |
void |
SwingTerminalFrame.enableSGR(SGR sgr) |
void |
SwingTerminal.enableSGR(SGR sgr) |
void |
ScrollingSwingTerminal.enableSGR(SGR sgr) |
void |
ScrollingAWTTerminal.enableSGR(SGR sgr) |
void |
AWTTerminalFrame.enableSGR(SGR sgr) |
void |
AWTTerminal.enableSGR(SGR sgr) |
Copyright © 2016. All rights reserved.