Uses of Enum
com.googlecode.lanterna.SGR
Packages that use SGR
Package
Description
-
Uses of SGR in com.googlecode.lanterna
Fields in com.googlecode.lanterna with type parameters of type SGRMethods in com.googlecode.lanterna that return SGRModifier and TypeMethodDescriptionstatic SGR
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.Methods in com.googlecode.lanterna that return types with arguments of type SGRModifier and TypeMethodDescriptionTextCharacter.getModifiers()
Returns a set of all active modifiers on this TextCharacterMethods in com.googlecode.lanterna with parameters of type SGRModifier and TypeMethodDescriptionstatic TextCharacter[]
TextCharacter.fromCharacter
(char c, TextColor foregroundColor, TextColor backgroundColor, SGR... modifiers) static TextCharacter[]
TextCharacter.fromString
(String string, TextColor foregroundColor, TextColor backgroundColor, SGR... modifiers) TextCharacter.withModifier
(SGR modifier) Returns a copy of this TextCharacter with an additional SGR modifier.TextCharacter.withoutModifier
(SGR modifier) Returns a copy of this TextCharacter with an SGR modifier removed.Method parameters in com.googlecode.lanterna with type arguments of type SGRModifier and TypeMethodDescriptionstatic TextCharacter[]
TextCharacter.fromString
(String string, TextColor foregroundColor, TextColor backgroundColor, EnumSet<SGR> modifiers) TextCharacter.withModifiers
(Collection<SGR> modifiers) Returns a copy of this TextCharacter with specified list of SGR modifiers.Constructors in com.googlecode.lanterna with parameters of type SGRModifierConstructorDescriptionTextCharacter
(char character, TextColor foregroundColor, TextColor backgroundColor, SGR... styles) Deprecated.Use fromCharacter insteadConstructor parameters in com.googlecode.lanterna with type arguments of type SGRModifierConstructorDescriptionTextCharacter
(char character, TextColor foregroundColor, TextColor backgroundColor, EnumSet<SGR> modifiers) Deprecated.Use fromCharacter insteadprivate
TextCharacter
(String character, TextColor foregroundColor, TextColor backgroundColor, EnumSet<SGR> modifiers) Creates a newScreenCharacter
based on a physical character, color information and a set of modifiers. -
Uses of SGR in com.googlecode.lanterna.graphics
Fields in com.googlecode.lanterna.graphics with type parameters of type SGRModifier and TypeFieldDescriptionAbstractTextGraphics.activeModifiers
NullTextGraphics.activeModifiers
AbstractTheme.ThemeTreeNode.sgrMap
DefaultMutableThemeStyle.sgrs
StyleSet.Set.style
TextGraphicsWriter.style
Methods in com.googlecode.lanterna.graphics that return types with arguments of type SGRModifier and TypeMethodDescriptionAbstractTextGraphics.getActiveModifiers()
NullTextGraphics.getActiveModifiers()
StyleSet.getActiveModifiers()
Returns all the SGR codes that are currently activeStyleSet.Set.getActiveModifiers()
TextGraphicsWriter.getActiveModifiers()
AbstractTheme.StyleImpl.getSGRs()
DefaultMutableThemeStyle.getSGRs()
ThemeStyle.getSGRs()
Returns the set of SGR flags associated with this style.Methods in com.googlecode.lanterna.graphics with parameters of type SGRModifier and TypeMethodDescriptionSimpleTheme.addOverride
(Class<?> clazz, TextColor foreground, TextColor background, SGR... styles) Adds an override for a particular class, or overwrites a previously defined override.AbstractTextGraphics.disableModifiers
(SGR... modifiers) NullTextGraphics.disableModifiers
(SGR... modifiers) StyleSet.disableModifiers
(SGR... modifiers) Removes zero or more modifiers from the set of currently active modifiersStyleSet.Set.disableModifiers
(SGR... modifiers) TextGraphicsWriter.disableModifiers
(SGR... modifiers) AbstractTextGraphics.enableModifiers
(SGR... modifiers) NullTextGraphics.enableModifiers
(SGR... modifiers) StyleSet.enableModifiers
(SGR... modifiers) Adds zero or more modifiers to the set of currently active modifiersStyleSet.Set.enableModifiers
(SGR... modifiers) TextGraphicsWriter.enableModifiers
(SGR... modifiers) AbstractTextGraphics.putString
(int column, int row, String string, SGR extraModifier, SGR... optionalExtraModifiers) AbstractTextGraphics.putString
(TerminalPosition position, String string, SGR extraModifier, SGR... optionalExtraModifiers) NullTextGraphics.putString
(int column, int row, String string, SGR extraModifier, SGR... optionalExtraModifiers) NullTextGraphics.putString
(TerminalPosition position, String string, SGR extraModifier, SGR... optionalExtraModifiers) 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.putString
(TerminalPosition position, String string, SGR extraModifier, SGR... optionalExtraModifiers) Shortcut to calling:Sets the theme definition style "active"SimpleTheme.Definition.setCustom
(String name, TextColor foreground, TextColor background, SGR... styles) Adds a custom definition style to the theme using the supplied name.SimpleTheme.Definition.setInsensitive
(TextColor foreground, TextColor background, SGR... styles) Sets the theme definition style "insensitive"SimpleTheme.Definition.setPreLight
(TextColor foreground, TextColor background, SGR... styles) Sets the theme definition style "prelight"SimpleTheme.Definition.setSelected
(TextColor foreground, TextColor background, SGR... styles) Sets the theme definition style "selected"Method parameters in com.googlecode.lanterna.graphics with type arguments of type SGRModifier and TypeMethodDescriptionprivate void
AbstractTextGraphics.disableModifiers
(Collection<SGR> modifiers) private void
AbstractTextGraphics.enableModifiers
(Collection<SGR> modifiers) AbstractTextGraphics.putString
(int column, int row, String string, Collection<SGR> extraModifiers) NullTextGraphics.putString
(int column, int row, String string, Collection<SGR> extraModifiers) 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.AbstractTextGraphics.setModifiers
(EnumSet<SGR> modifiers) NullTextGraphics.setModifiers
(EnumSet<SGR> modifiers) StyleSet.Set.setModifiers
(EnumSet<SGR> modifiers) StyleSet.setModifiers
(EnumSet<SGR> modifiers) Sets the active modifiers to exactly the set passed in to this method.TextGraphicsWriter.setModifiers
(EnumSet<SGR> modifiers) Modifies the SGR modifiers of thisDefaultMutableThemeStyle
to the values passed it.Constructors in com.googlecode.lanterna.graphics with parameters of type SGRModifierConstructorDescriptionDefaultMutableThemeStyle
(TextColor foreground, TextColor background, SGR... sgrs) Creates a newDefaultMutableThemeStyle
with a specified style (foreground, background and SGR state)SimpleTheme
(TextColor foreground, TextColor background, SGR... styles) Creates a newSimpleTheme
object that uses the supplied constructor arguments as the default styleConstructor parameters in com.googlecode.lanterna.graphics with type arguments of type SGRModifierConstructorDescriptionprivate
DefaultMutableThemeStyle
(TextColor foreground, TextColor background, EnumSet<SGR> sgrs) -
Uses of SGR in com.googlecode.lanterna.gui2
Fields in com.googlecode.lanterna.gui2 with type parameters of type SGRMethods in com.googlecode.lanterna.gui2 that return types with arguments of type SGRMethods in com.googlecode.lanterna.gui2 with parameters of type SGRModifier and TypeMethodDescriptionAdds an additional SGR style to use when drawing the label, in case it wasn't enabled by the themeDefaultTextGUIGraphics.disableModifiers
(SGR... modifiers) TextGUIGraphics.disableModifiers
(SGR... modifiers) DefaultTextGUIGraphics.enableModifiers
(SGR... modifiers) TextGUIGraphics.enableModifiers
(SGR... modifiers) DefaultTextGUIGraphics.putString
(int column, int row, String string, SGR extraModifier, SGR... optionalExtraModifiers) DefaultTextGUIGraphics.putString
(TerminalPosition position, String string, SGR extraModifier, SGR... optionalExtraModifiers) TextGUIGraphics.putString
(int column, int row, String string, SGR extraModifier, SGR... optionalExtraModifiers) TextGUIGraphics.putString
(TerminalPosition position, String string, SGR extraModifier, SGR... optionalExtraModifiers) Label.removeStyle
(SGR sgr) Removes an additional SGR style used when drawing the label, previously added byaddStyle(..)
.Method parameters in com.googlecode.lanterna.gui2 with type arguments of type SGRModifier and TypeMethodDescriptionDefaultTextGUIGraphics.putString
(int column, int row, String string, Collection<SGR> extraModifiers) TextGUIGraphics.putString
(int column, int row, String string, Collection<SGR> extraModifiers) DefaultTextGUIGraphics.setModifiers
(EnumSet<SGR> modifiers) TextGUIGraphics.setModifiers
(EnumSet<SGR> modifiers) -
Uses of SGR in com.googlecode.lanterna.terminal
Methods in com.googlecode.lanterna.terminal with parameters of type SGRModifier and TypeMethodDescriptionvoid
IOSafeTerminal.disableSGR
(SGR sgr) void
IOSafeTerminalAdapter.disableSGR
(SGR sgr) void
Terminal.disableSGR
(SGR sgr) Deactivates anSGR
(Selected Graphic Rendition) code which has previously been activated throughenableSGR(..)
.void
void
void
Activates anSGR
(Selected Graphic Rendition) code. -
Uses of SGR in com.googlecode.lanterna.terminal.ansi
Methods in com.googlecode.lanterna.terminal.ansi with parameters of type SGR -
Uses of SGR in com.googlecode.lanterna.terminal.swing
Methods in com.googlecode.lanterna.terminal.swing with parameters of type SGRModifier and TypeMethodDescriptionvoid
AWTTerminal.disableSGR
(SGR sgr) void
AWTTerminalFrame.disableSGR
(SGR sgr) void
GraphicalTerminalImplementation.disableSGR
(SGR sgr) void
ScrollingAWTTerminal.disableSGR
(SGR sgr) void
ScrollingSwingTerminal.disableSGR
(SGR sgr) void
SwingTerminal.disableSGR
(SGR sgr) void
SwingTerminalFrame.disableSGR
(SGR sgr) void
void
void
void
void
void
void
-
Uses of SGR in com.googlecode.lanterna.terminal.virtual
Fields in com.googlecode.lanterna.terminal.virtual with type parameters of type SGRMethods in com.googlecode.lanterna.terminal.virtual with parameters of type SGR