public class ConsoleViewContentType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ColorKey |
CONSOLE_BACKGROUND_KEY |
static ConsoleViewContentType |
ERROR_OUTPUT |
static TextAttributesKey |
ERROR_OUTPUT_KEY |
static ConsoleViewContentType |
LOG_DEBUG_OUTPUT |
static TextAttributesKey |
LOG_DEBUG_OUTPUT_KEY |
static ConsoleViewContentType |
LOG_ERROR_OUTPUT |
static TextAttributesKey |
LOG_ERROR_OUTPUT_KEY |
static TextAttributesKey |
LOG_EXPIRED_ENTRY |
static ConsoleViewContentType |
LOG_INFO_OUTPUT |
static TextAttributesKey |
LOG_INFO_OUTPUT_KEY |
static ConsoleViewContentType |
LOG_VERBOSE_OUTPUT |
static TextAttributesKey |
LOG_VERBOSE_OUTPUT_KEY |
static ConsoleViewContentType |
LOG_WARNING_OUTPUT |
static TextAttributesKey |
LOG_WARNING_OUTPUT_KEY |
static ConsoleViewContentType |
NORMAL_OUTPUT |
static TextAttributesKey |
NORMAL_OUTPUT_KEY |
static ConsoleViewContentType[] |
OUTPUT_TYPES |
static ConsoleViewContentType |
SYSTEM_OUTPUT |
static TextAttributesKey |
SYSTEM_OUTPUT_KEY |
static ConsoleViewContentType |
USER_INPUT |
static TextAttributesKey |
USER_INPUT_KEY |
Constructor and Description |
---|
ConsoleViewContentType(java.lang.String name,
TextAttributes textAttributes) |
ConsoleViewContentType(java.lang.String name,
TextAttributesKey textAttributesKey) |
Modifier and Type | Method and Description |
---|---|
TextAttributes |
getAttributes()
Returns
TextAttributes instance defining the visual representation of text. |
static ConsoleViewContentType |
getConsoleViewType(Key processOutputType) |
static java.util.Collection<ConsoleViewContentType> |
getRegisteredTypes() |
static void |
registerNewConsoleViewType(Key processOutputType,
ConsoleViewContentType attributes) |
static ConsoleViewContentType |
registerNewConsoleViewType(Key key,
TextAttributesKey attributesKey) |
java.lang.String |
toString() |
public static final ColorKey CONSOLE_BACKGROUND_KEY
public static final TextAttributesKey LOG_DEBUG_OUTPUT_KEY
public static final TextAttributesKey LOG_VERBOSE_OUTPUT_KEY
public static final TextAttributesKey LOG_INFO_OUTPUT_KEY
public static final TextAttributesKey LOG_WARNING_OUTPUT_KEY
public static final TextAttributesKey LOG_ERROR_OUTPUT_KEY
public static final TextAttributesKey LOG_EXPIRED_ENTRY
public static final TextAttributesKey NORMAL_OUTPUT_KEY
public static final TextAttributesKey ERROR_OUTPUT_KEY
public static final TextAttributesKey USER_INPUT_KEY
public static final TextAttributesKey SYSTEM_OUTPUT_KEY
public static final ConsoleViewContentType LOG_DEBUG_OUTPUT
public static final ConsoleViewContentType LOG_VERBOSE_OUTPUT
public static final ConsoleViewContentType LOG_INFO_OUTPUT
public static final ConsoleViewContentType LOG_WARNING_OUTPUT
public static final ConsoleViewContentType LOG_ERROR_OUTPUT
public static final ConsoleViewContentType NORMAL_OUTPUT
public static final ConsoleViewContentType ERROR_OUTPUT
public static final ConsoleViewContentType SYSTEM_OUTPUT
public static final ConsoleViewContentType USER_INPUT
public static final ConsoleViewContentType[] OUTPUT_TYPES
public ConsoleViewContentType(java.lang.String name, TextAttributes textAttributes)
public ConsoleViewContentType(java.lang.String name, TextAttributesKey textAttributesKey)
public java.lang.String toString()
toString
in class java.lang.Object
public TextAttributes getAttributes()
TextAttributes
instance defining the visual representation of text.
A subclass might override this method.
public static ConsoleViewContentType registerNewConsoleViewType(Key key, TextAttributesKey attributesKey)
public static void registerNewConsoleViewType(Key processOutputType, ConsoleViewContentType attributes)
public static ConsoleViewContentType getConsoleViewType(Key processOutputType)
public static java.util.Collection<ConsoleViewContentType> getRegisteredTypes()