BibTeXTokenCategory (from the Veneer syntax highlighter) to the CSS style
class used to render it in the JavaFX CodeArea.
The enum constant names intentionally mirror
io.github.kusoroadeolu.veneer.BibTeXSyntaxHighlighter.BibTeXTokenCategory so that
BibTeXHighlighter can resolve a category to its style class via Enum#valueOf.
The actual colors and font styles for each class (e.g. .bibtex-keyword) are defined
in the theme stylesheets (jabref-theme.css on themes.jabref.org), not here, so that they can be customized per theme without touching Java code.
| Modifier and Type | Field and Description |
|---|---|
| public static final BibTeXStyleClass | |
| public static final BibTeXStyleClass | |
| public static final BibTeXStyleClass | |
| public static final BibTeXStyleClass | |
| public static final BibTeXStyleClass | |
| public static final BibTeXStyleClass | |
| public static final BibTeXStyleClass | |
| public static final BibTeXStyleClass | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the CSS style class nameReturns the CSS style class name to apply to a text segment of this category,
e.g. |
| public static BibTeXStyleClass | |
| public static BibTeXStyleClass[] |
| CITE_KEY | back to summary |
|---|---|
| public static final BibTeXStyleClass CITE_KEY | |
| COMMENT | back to summary |
|---|---|
| public static final BibTeXStyleClass COMMENT | |
| DEFAULT | back to summary |
|---|---|
| public static final BibTeXStyleClass DEFAULT | |
| FIELD_NAME | back to summary |
|---|---|
| public static final BibTeXStyleClass FIELD_NAME | |
| KEYWORD | back to summary |
|---|---|
| public static final BibTeXStyleClass KEYWORD | |
| MACRO | back to summary |
|---|---|
| public static final BibTeXStyleClass MACRO | |
| NUMBER | back to summary |
|---|---|
| public static final BibTeXStyleClass NUMBER | |
| STRING | back to summary |
|---|---|
| public static final BibTeXStyleClass STRING | |
| styleClass | back to summary |
|---|---|
| private final String styleClass | |
| BibTeXStyleClass | back to summary |
|---|---|
| private BibTeXStyleClass(String styleClass) | |
| getStyleClass | back to summary |
|---|---|
| public String getStyleClass() Returns the CSS style class name to apply to a text segment of this category,
e.g.
| |
| valueOf | back to summary |
|---|---|
| public static BibTeXStyleClass valueOf(String name) | |
| values | back to summary |
|---|---|
| public static BibTeXStyleClass[] values() | |