JabRefIcon backed by an Ikonli font glyph, rendered as a
FontIcon. The font-backed counterpart to SvgIcon. Immutable: withColor and
withSize return copies.
| Modifier and Type | Class and Description |
|---|---|
| private static class | IkonliIcon.
Holds every |
| Modifier and Type | Field and Description |
|---|---|
| private final @Nullable Color | |
| private static final int | DEFAULT_SIZE
Ikonli's own default, so an icon that was never given a size renders as it always has. |
| private final List | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SequencedSet | |
| private FontIcon | |
| public JabRefIcon | |
| public static Optional | |
| public static Optional | findIconByDescription(String description)
Finds the Ikonli icon whose pack-qualified description matches |
| public Node | |
| public boolean | |
| public String | |
| public JabRefIcon | |
| public JabRefIcon | withSize(int size)
Implements org. Returns a copy of this icon rendered at |
| color | back to summary |
|---|---|
| private final @Nullable Color color | |
| DEFAULT_SIZE | back to summary |
|---|---|
| private static final int DEFAULT_SIZE Ikonli's own default, so an icon that was never given a size renders as it always has. | |
| icons | back to summary |
|---|---|
| private final List<Ikon> icons | |
| size | back to summary |
|---|---|
| private final int size | |
| IkonliIcon | back to summary |
|---|---|
| public IkonliIcon(Ikon... icons) | |
| IkonliIcon | back to summary |
|---|---|
| public IkonliIcon(List<Ikon> icons) | |
| IkonliIcon | back to summary |
|---|---|
| public IkonliIcon(Color color, Ikon... icons) | |
| IkonliIcon | back to summary |
|---|---|
| pack-priv IkonliIcon(Color color, List<Ikon> icons) | |
| IkonliIcon | back to summary |
|---|---|
| private IkonliIcon(List<Ikon> icons, @Nullable Color color, int size) | |
| allIcons | back to summary |
|---|---|
| public static SequencedSet | |
| buildFontIcon | back to summary |
|---|---|
| private FontIcon buildFontIcon(Ikon ikon) | |
| disabled | back to summary |
|---|---|
| public JabRefIcon disabled() Implements org.
| |
| findIcon | back to summary |
|---|---|
| public static Optional Finds the Ikonli icon whose name matches | |
| findIconByDescription | back to summary |
|---|---|
| public static Optional Finds the Ikonli icon whose pack-qualified description matches | |
| getGraphicNode | back to summary |
|---|---|
| public Node getGraphicNode() Implements org.
| |
| matches | back to summary |
|---|---|
| public boolean matches(Node graphicNode) Implements org.
| |
| name | back to summary |
|---|---|
| public String name() Implements org.
| |
| withColor | back to summary |
|---|---|
| public JabRefIcon withColor(Color color) Implements org.
| |
| withSize | back to summary |
|---|---|
| public JabRefIcon withSize(int size) Implements org. Doc from org. Returns a copy of this icon rendered at Note the unit differs by backing type: for a font glyph
| |
Ikon discovered via the IkonProvider service loader. Initialization on first
access guaranteed by JVM.
| Modifier and Type | Field and Description |
|---|---|
| private static final SequencedSet | |
| private static final Map | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static SequencedSet | |
| private static Map |
| ALL | back to summary |
|---|---|
| private static final SequencedSet<Ikon> ALL | |
| BY_DESCRIPTION | back to summary |
|---|---|
| private static final Map<String, Ikon> BY_DESCRIPTION | |
| BY_NAME | back to summary |
|---|---|
| private static final Map<String, Ikon> BY_NAME | |
| IkonliIcons | back to summary |
|---|---|
| private IkonliIcons() | |
| load | back to summary |
|---|---|
| private static SequencedSet | |
| loadMap | back to summary |
|---|---|
| private static Map | |