Uses of Class
com.googlecode.lanterna.SGR
-
-
Uses of SGR in com.googlecode.lanterna
Fields in com.googlecode.lanterna with type parameters of type SGR Modifier and Type Field Description private java.util.EnumSet<SGR>TextCharacter. modifiersMethods in com.googlecode.lanterna that return SGR Modifier and Type Method Description static SGRSGR. valueOf(java.lang.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.Methods in com.googlecode.lanterna that return types with arguments of type SGR Modifier and Type Method Description java.util.EnumSet<SGR>TextCharacter. getModifiers()Returns a set of all active modifiers on this TextCharacterprivate static java.util.EnumSet<SGR>TextCharacter. toEnumSet(SGR... modifiers)Methods in com.googlecode.lanterna with parameters of type SGR Modifier and Type Method Description static TextCharacter[]TextCharacter. fromCharacter(char c, TextColor foregroundColor, TextColor backgroundColor, SGR... modifiers)static TextCharacter[]TextCharacter. fromString(java.lang.String string, TextColor foregroundColor, TextColor backgroundColor, SGR... modifiers)private static java.util.EnumSet<SGR>TextCharacter. toEnumSet(SGR... modifiers)TextCharacterTextCharacter. withModifier(SGR modifier)Returns a copy of this TextCharacter with an additional SGR modifier.TextCharacterTextCharacter. 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 SGR Modifier and Type Method Description static TextCharacter[]TextCharacter. fromString(java.lang.String string, TextColor foregroundColor, TextColor backgroundColor, java.util.EnumSet<SGR> modifiers)TextCharacterTextCharacter. withModifiers(java.util.Collection<SGR> modifiers)Returns a copy of this TextCharacter with specified list of SGR modifiers.Constructors in com.googlecode.lanterna with parameters of type SGR Constructor Description TextCharacter(char character, TextColor foregroundColor, TextColor backgroundColor, SGR... styles)Deprecated.Use fromCharacter insteadConstructor parameters in com.googlecode.lanterna with type arguments of type SGR Constructor Description TextCharacter(char character, TextColor foregroundColor, TextColor backgroundColor, java.util.EnumSet<SGR> modifiers)Deprecated.Use fromCharacter insteadTextCharacter(java.lang.String character, TextColor foregroundColor, TextColor backgroundColor, java.util.EnumSet<SGR> modifiers)Creates a newScreenCharacterbased 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 SGR Modifier and Type Field Description protected java.util.EnumSet<SGR>AbstractTextGraphics. activeModifiersprivate java.util.EnumSet<SGR>NullTextGraphics. activeModifiersprivate java.util.Map<java.lang.String,java.util.EnumSet<SGR>>AbstractTheme.ThemeTreeNode. sgrMapprivate java.util.EnumSet<SGR>DefaultMutableThemeStyle. sgrsprivate java.util.EnumSet<SGR>StyleSet.Set. styleprivate java.util.EnumSet<SGR>TextGraphicsWriter. styleMethods in com.googlecode.lanterna.graphics that return types with arguments of type SGR Modifier and Type Method Description java.util.EnumSet<SGR>AbstractTextGraphics. getActiveModifiers()java.util.EnumSet<SGR>NullTextGraphics. getActiveModifiers()java.util.EnumSet<SGR>StyleSet. getActiveModifiers()Returns all the SGR codes that are currently activejava.util.EnumSet<SGR>StyleSet.Set. getActiveModifiers()java.util.EnumSet<SGR>TextGraphicsWriter. getActiveModifiers()java.util.EnumSet<SGR>AbstractTheme.StyleImpl. getSGRs()java.util.EnumSet<SGR>DefaultMutableThemeStyle. getSGRs()java.util.EnumSet<SGR>ThemeStyle. getSGRs()Returns the set of SGR flags associated with this style.private java.util.EnumSet<SGR>AbstractTheme.ThemeTreeNode. parseSGR(java.lang.String value)Methods in com.googlecode.lanterna.graphics with parameters of type SGR Modifier and Type Method Description SimpleTheme.DefinitionSimpleTheme. addOverride(java.lang.Class<?> clazz, TextColor foreground, TextColor background, SGR... styles)Adds an override for a particular class, or overwrites a previously defined override.TextGraphicsAbstractTextGraphics. disableModifiers(SGR... modifiers)TextGraphicsNullTextGraphics. disableModifiers(SGR... modifiers)TStyleSet. disableModifiers(SGR... modifiers)Removes zero or more modifiers from the set of currently active modifiersStyleSet.SetStyleSet.Set. disableModifiers(SGR... modifiers)TextGraphicsWriterTextGraphicsWriter. disableModifiers(SGR... modifiers)TextGraphicsAbstractTextGraphics. enableModifiers(SGR... modifiers)TextGraphicsNullTextGraphics. enableModifiers(SGR... modifiers)TStyleSet. enableModifiers(SGR... modifiers)Adds zero or more modifiers to the set of currently active modifiersStyleSet.SetStyleSet.Set. enableModifiers(SGR... modifiers)TextGraphicsWriterTextGraphicsWriter. enableModifiers(SGR... modifiers)TextGraphicsAbstractTextGraphics. putString(int column, int row, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGraphicsAbstractTextGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGraphicsNullTextGraphics. putString(int column, int row, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGraphicsNullTextGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGraphicsTextGraphics. putString(int column, int row, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)Puts a string on the screen at the specified position with the current colors and modifiers.TextGraphicsTextGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)Shortcut to calling:SimpleTheme.DefinitionSimpleTheme.Definition. setActive(TextColor foreground, TextColor background, SGR... styles)Sets the theme definition style "active"SimpleTheme.DefinitionSimpleTheme.Definition. setCustom(java.lang.String name, TextColor foreground, TextColor background, SGR... styles)Adds a custom definition style to the theme using the supplied name.SimpleTheme.DefinitionSimpleTheme.Definition. setInsensitive(TextColor foreground, TextColor background, SGR... styles)Sets the theme definition style "insensitive"SimpleTheme.DefinitionSimpleTheme.Definition. setPreLight(TextColor foreground, TextColor background, SGR... styles)Sets the theme definition style "prelight"SimpleTheme.DefinitionSimpleTheme.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 SGR Modifier and Type Method Description private voidAbstractTextGraphics. disableModifiers(java.util.Collection<SGR> modifiers)private voidAbstractTextGraphics. enableModifiers(java.util.Collection<SGR> modifiers)TextGraphicsAbstractTextGraphics. putString(int column, int row, java.lang.String string, java.util.Collection<SGR> extraModifiers)TextGraphicsNullTextGraphics. putString(int column, int row, java.lang.String string, java.util.Collection<SGR> extraModifiers)TextGraphicsTextGraphics. putString(int column, int row, java.lang.String string, java.util.Collection<SGR> extraModifiers)Puts a string on the screen at the specified position with the current colors and modifiers.TextGraphicsAbstractTextGraphics. setModifiers(java.util.EnumSet<SGR> modifiers)TextGraphicsNullTextGraphics. setModifiers(java.util.EnumSet<SGR> modifiers)StyleSet.SetStyleSet.Set. setModifiers(java.util.EnumSet<SGR> modifiers)TStyleSet. setModifiers(java.util.EnumSet<SGR> modifiers)Sets the active modifiers to exactly the set passed in to this method.TextGraphicsWriterTextGraphicsWriter. setModifiers(java.util.EnumSet<SGR> modifiers)DefaultMutableThemeStyleDefaultMutableThemeStyle. setSGRs(java.util.EnumSet<SGR> sgrs)Modifies the SGR modifiers of thisDefaultMutableThemeStyleto the values passed it.Constructors in com.googlecode.lanterna.graphics with parameters of type SGR Constructor Description DefaultMutableThemeStyle(TextColor foreground, TextColor background, SGR... sgrs)Creates a newDefaultMutableThemeStylewith a specified style (foreground, background and SGR state)SimpleTheme(TextColor foreground, TextColor background, SGR... styles)Creates a newSimpleThemeobject that uses the supplied constructor arguments as the default styleConstructor parameters in com.googlecode.lanterna.graphics with type arguments of type SGR Constructor Description DefaultMutableThemeStyle(TextColor foreground, TextColor background, java.util.EnumSet<SGR> sgrs) -
Uses of SGR in com.googlecode.lanterna.gui2
Fields in com.googlecode.lanterna.gui2 with type parameters of type SGR Modifier and Type Field Description private java.util.EnumSet<SGR>Label. additionalStylesMethods in com.googlecode.lanterna.gui2 that return types with arguments of type SGR Modifier and Type Method Description java.util.EnumSet<SGR>DefaultTextGUIGraphics. getActiveModifiers()Methods in com.googlecode.lanterna.gui2 with parameters of type SGR Modifier and Type Method Description LabelLabel. addStyle(SGR sgr)Adds an additional SGR style to use when drawing the label, in case it wasn't enabled by the themeDefaultTextGUIGraphicsDefaultTextGUIGraphics. disableModifiers(SGR... modifiers)TextGUIGraphicsTextGUIGraphics. disableModifiers(SGR... modifiers)DefaultTextGUIGraphicsDefaultTextGUIGraphics. enableModifiers(SGR... modifiers)TextGUIGraphicsTextGUIGraphics. enableModifiers(SGR... modifiers)DefaultTextGUIGraphicsDefaultTextGUIGraphics. putString(int column, int row, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)DefaultTextGUIGraphicsDefaultTextGUIGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGUIGraphicsTextGUIGraphics. putString(int column, int row, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)TextGUIGraphicsTextGUIGraphics. putString(TerminalPosition position, java.lang.String string, SGR extraModifier, SGR... optionalExtraModifiers)LabelLabel. 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 SGR Modifier and Type Method Description DefaultTextGUIGraphicsDefaultTextGUIGraphics. putString(int column, int row, java.lang.String string, java.util.Collection<SGR> extraModifiers)TextGUIGraphicsTextGUIGraphics. putString(int column, int row, java.lang.String string, java.util.Collection<SGR> extraModifiers)DefaultTextGUIGraphicsDefaultTextGUIGraphics. setModifiers(java.util.EnumSet<SGR> modifiers)TextGUIGraphicsTextGUIGraphics. setModifiers(java.util.EnumSet<SGR> modifiers) -
Uses of SGR in com.googlecode.lanterna.terminal
Methods in com.googlecode.lanterna.terminal with parameters of type SGR Modifier and Type Method Description voidIOSafeTerminal. disableSGR(SGR sgr)voidIOSafeTerminalAdapter. disableSGR(SGR sgr)voidTerminal. disableSGR(SGR sgr)Deactivates anSGR(Selected Graphic Rendition) code which has previously been activated throughenableSGR(..).voidIOSafeTerminal. enableSGR(SGR sgr)voidIOSafeTerminalAdapter. enableSGR(SGR sgr)voidTerminal. enableSGR(SGR sgr)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 Modifier and Type Method Description voidANSITerminal. disableSGR(SGR sgr)voidANSITerminal. enableSGR(SGR sgr) -
Uses of SGR in com.googlecode.lanterna.terminal.swing
Methods in com.googlecode.lanterna.terminal.swing with parameters of type SGR Modifier and Type Method Description voidAWTTerminal. disableSGR(SGR sgr)voidAWTTerminalFrame. disableSGR(SGR sgr)voidGraphicalTerminalImplementation. disableSGR(SGR sgr)voidScrollingAWTTerminal. disableSGR(SGR sgr)voidScrollingSwingTerminal. disableSGR(SGR sgr)voidSwingTerminal. disableSGR(SGR sgr)voidSwingTerminalFrame. disableSGR(SGR sgr)voidAWTTerminal. enableSGR(SGR sgr)voidAWTTerminalFrame. enableSGR(SGR sgr)voidGraphicalTerminalImplementation. enableSGR(SGR sgr)voidScrollingAWTTerminal. enableSGR(SGR sgr)voidScrollingSwingTerminal. enableSGR(SGR sgr)voidSwingTerminal. enableSGR(SGR sgr)voidSwingTerminalFrame. enableSGR(SGR sgr) -
Uses of SGR in com.googlecode.lanterna.terminal.virtual
Fields in com.googlecode.lanterna.terminal.virtual with type parameters of type SGR Modifier and Type Field Description private java.util.EnumSet<SGR>DefaultVirtualTerminal. activeModifiersMethods in com.googlecode.lanterna.terminal.virtual with parameters of type SGR Modifier and Type Method Description voidDefaultVirtualTerminal. disableSGR(SGR sgr)voidDefaultVirtualTerminal. enableSGR(SGR sgr)
-