public class SyntaxStyles
extends java.lang.Object
SyntaxStyle instances for painting colorized text.| Constructor and Description |
|---|
SyntaxStyles(@NotNull SyntaxStyle[] styles)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull SyntaxStyle |
getStyle(byte id)
Returns a style for a token id.
|
public SyntaxStyles(@NotNull
@NotNull SyntaxStyle[] styles)
null.styles - the styles to store@NotNull public @NotNull SyntaxStyle getStyle(byte id)
id - the token id