public class HighlightDisplayLevel
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
HighlightDisplayLevel.ColoredIcon |
Modifier and Type | Field and Description |
---|---|
static HighlightDisplayLevel |
DO_NOT_SHOW |
static HighlightDisplayLevel |
ERROR |
static HighlightDisplayLevel |
GENERIC_SERVER_ERROR_OR_WARNING |
static HighlightDisplayLevel |
INFO
Deprecated.
use
WEAK_WARNING instead |
static HighlightDisplayLevel |
NON_SWITCHABLE_ERROR |
static HighlightDisplayLevel |
NON_SWITCHABLE_WARNING |
static HighlightDisplayLevel |
WARNING |
static HighlightDisplayLevel |
WEAK_WARNING |
Constructor and Description |
---|
HighlightDisplayLevel(HighlightSeverity severity) |
HighlightDisplayLevel(HighlightSeverity severity,
javax.swing.Icon icon) |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Icon |
createIconByKey(TextAttributesKey key) |
static javax.swing.Icon |
createIconByMask(java.awt.Color renderColor) |
static HighlightDisplayLevel |
find(HighlightSeverity severity) |
static HighlightDisplayLevel |
find(java.lang.String name) |
static int |
getEmptyIconDim() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getName() |
HighlightSeverity |
getSeverity() |
boolean |
isNonSwitchable() |
static void |
registerSeverity(HighlightSeverity severity,
TextAttributesKey key,
javax.swing.Icon icon) |
java.lang.String |
toString() |
public static final HighlightDisplayLevel GENERIC_SERVER_ERROR_OR_WARNING
public static final HighlightDisplayLevel ERROR
public static final HighlightDisplayLevel WARNING
public static final HighlightDisplayLevel DO_NOT_SHOW
@Deprecated public static final HighlightDisplayLevel INFO
WEAK_WARNING
insteadpublic static final HighlightDisplayLevel WEAK_WARNING
public static final HighlightDisplayLevel NON_SWITCHABLE_ERROR
public static final HighlightDisplayLevel NON_SWITCHABLE_WARNING
public HighlightDisplayLevel(HighlightSeverity severity, javax.swing.Icon icon)
public HighlightDisplayLevel(HighlightSeverity severity)
public static HighlightDisplayLevel find(java.lang.String name)
public static HighlightDisplayLevel find(HighlightSeverity severity)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
public javax.swing.Icon getIcon()
public HighlightSeverity getSeverity()
public boolean isNonSwitchable()
public static void registerSeverity(HighlightSeverity severity, TextAttributesKey key, javax.swing.Icon icon)
public static int getEmptyIconDim()
public static javax.swing.Icon createIconByKey(TextAttributesKey key)
public static javax.swing.Icon createIconByMask(java.awt.Color renderColor)