Bridges three CSS properties (which font icons already honor) onto this node:
-fx-icon-color → setColor(Paint)
-glyph-size (Ikonli alias used in existing theme CSS) → setSize(double)
-fx-icon-size (absolute, e.g. .action-icon) → setSize(double)
-fx-font-size (em, e.g. .mainToolbar at 1.7em) → setSize(double), resolved
against the ambient context font so it matches neighboring font icons
Tagged with the glyph-icon and ikonli-font-icon style classes so existing selectors match it.
Works whether used bare (via JabRefIcon#getGraphicNode(), as in the toolbar/menus) or inside a
JabRefIconView. -fx-icon-size, when present, takes precedence over -fx-font-size.
| Modifier and Type | Field and Description |
|---|---|
| private static final List | |
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final CssMetaData | |
| private static final CssMetaData |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static List | getClassCssMetaData()
Hides tools. Gets the |
| public List | getCssMetaData()
Overrides tools. Implements javafx. This method should delegate to |
| CSS_META_DATA | back to summary |
|---|---|
| private static final List<CssMetaData<? extends Styleable, ?>> CSS_META_DATA | |
| FONT_SIZE | back to summary |
|---|---|
| private static final CssMetaData<JabRefSvgIcon, Number> FONT_SIZE | |
| GLYPH_SIZE | back to summary |
|---|---|
| private static final CssMetaData<JabRefSvgIcon, Number> GLYPH_SIZE | |
| ICON_COLOR | back to summary |
|---|---|
| private static final CssMetaData<JabRefSvgIcon, Paint> ICON_COLOR | |
| ICON_SIZE | back to summary |
|---|---|
| private static final CssMetaData<JabRefSvgIcon, Number> ICON_SIZE | |
| JabRefSvgIcon | back to summary |
|---|---|
| public JabRefSvgIcon(String path, double size) | |
| getClassCssMetaData | back to summary |
|---|---|
| public static List Hides tools. Doc from tools. Gets the | |
| getCssMetaData | back to summary |
|---|---|
| public List Overrides tools. Implements javafx. Doc from javafx. This method should delegate to
| |