Uses of Enum
org.aesh.terminal.utils.TerminalTheme
Packages that use TerminalTheme
-
Uses of TerminalTheme in org.aesh.terminal
Methods in org.aesh.terminal that return TerminalThemeModifier and TypeMethodDescriptionTerminalFeatures.queryThemeMode(long timeoutMs) Query the terminal for its current theme mode using the CSI ?Methods in org.aesh.terminal that return types with arguments of type TerminalThemeModifier and TypeMethodDescriptionEventDecoder.getThemeChangeHandler()Get the current theme change handler.AbstractConnection.themeChangeHandler()default Consumer<TerminalTheme> Connection.themeChangeHandler()Get the current theme change handler.Method parameters in org.aesh.terminal with type arguments of type TerminalThemeModifier and TypeMethodDescriptionvoidTerminalFeatures.enableThemeChangeNotification(Consumer<TerminalTheme> handler) Enable unsolicited theme change notifications with a handler.voidAbstractConnection.setThemeChangeHandler(Consumer<TerminalTheme> handler) default voidConnection.setThemeChangeHandler(Consumer<TerminalTheme> handler) Set a handler to be called when the terminal's theme changes.voidEventDecoder.setThemeChangeHandler(Consumer<TerminalTheme> themeChangeHandler) Set the handler for theme change DSR notifications. -
Uses of TerminalTheme in org.aesh.terminal.utils
Methods in org.aesh.terminal.utils that return TerminalThemeModifier and TypeMethodDescriptionstatic TerminalThemeTerminalColorCapability.detectThemeFromEnvironment()Detect terminal theme from environment variables.static TerminalThemeTerminalTheme.fromGrayscale(int gray) Determine theme from a grayscale value.static TerminalThemeTerminalTheme.fromRGB(int red, int green, int blue) Determine theme from RGB background color values.TerminalColorCapability.getTheme()Get the detected terminal theme.static TerminalThemeANSI.parseThemeDsrResponse(int[] input) Parse a theme mode DSR response.static TerminalThemeReturns the enum constant of this type with the specified name.static TerminalTheme[]TerminalTheme.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.aesh.terminal.utils with parameters of type TerminalThemeModifier and TypeMethodDescriptionTerminalColorCapability.Builder.theme(TerminalTheme theme) Set the terminal theme.Constructors in org.aesh.terminal.utils with parameters of type TerminalThemeModifierConstructorDescriptionTerminalColorCapability(ColorDepth colorDepth, TerminalTheme theme) Create a new TerminalColorCapability with color depth and theme.TerminalColorCapability(ColorDepth colorDepth, TerminalTheme theme, int[] foregroundRGB, int[] backgroundRGB) Create a new TerminalColorCapability with all detected values.TerminalColorCapability(ColorDepth colorDepth, TerminalTheme theme, int[] foregroundRGB, int[] backgroundRGB, int[] cursorRGB, Map<Integer, int[]> paletteColors) Create a new TerminalColorCapability with all detected values including cursor and palette.