Uses of Enum
org.aesh.terminal.utils.ColorDepth
Packages that use ColorDepth
-
Uses of ColorDepth in org.aesh.terminal
Methods in org.aesh.terminal that return ColorDepthModifier and TypeMethodDescriptiondefault ColorDepthConnection.getColorDepth()Get the color depth of this terminal connection.default ColorDepthDevice.getColorDepth()Get the color depth of this device based on terminfo capabilities.Device.TerminalType.getDefaultColorDepth()Get the default/native color depth for this terminal type.DeviceAttributes.inferColorDepth()Infer the color depth from DA1 features. -
Uses of ColorDepth in org.aesh.terminal.utils
Methods in org.aesh.terminal.utils that return ColorDepthModifier and TypeMethodDescriptionstatic ColorDepthTerminalEnvironment.detectColorDepth()Get the detected color depth (convenience method).static ColorDepthTerminalColorCapability.detectColorDepthFromEnvironment()Detect color depth from environment variables.static ColorDepthColorDepth.fromColorCount(int colors) Determine the color depth from the number of supported colors.TerminalColorCapability.getColorDepth()Get the detected color depth capability.TerminalEnvironment.getDefaultColorDepth()Get the default color depth for this terminal.static ColorDepthReturns the enum constant of this type with the specified name.static ColorDepth[]ColorDepth.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 ColorDepthModifier and TypeMethodDescriptionTerminalColorCapability.Builder.colorDepth(ColorDepth colorDepth) Set the color depth capability.Constructors in org.aesh.terminal.utils with parameters of type ColorDepthModifierConstructorDescriptionTerminalColorCapability(ColorDepth colorDepth) Create a new TerminalColorCapability with only color depth.TerminalColorCapability(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.