public class FontFamilyParameter extends DynamicStringEnumParameter
Modifier and Type | Class and Description |
---|---|
static class |
FontFamilyParameter.Deserializer
Deserializes
FontFamilyParameter |
static class |
FontFamilyParameter.Serializer
Serializes
FontFamilyParameter |
Modifier and Type | Field and Description |
---|---|
static List<String> |
AVAILABLE_FONTS |
Constructor and Description |
---|
FontFamilyParameter() |
FontFamilyParameter(DynamicStringEnumParameter other) |
FontFamilyParameter(String value) |
Modifier and Type | Method and Description |
---|---|
Icon |
renderIcon(String value)
Function that renders the icon.
|
String |
renderLabel(String value)
Function that renders the label.
|
Font |
toFont(int style,
int size) |
getAllowedValues, getSearchString, getValue, isEditable, renderTooltip, setAllowedValues, setValue
public FontFamilyParameter()
public FontFamilyParameter(DynamicStringEnumParameter other)
public FontFamilyParameter(String value)
public String renderLabel(String value)
DynamicEnumParameter
renderLabel
in class DynamicEnumParameter<String>
value
- the valuepublic Icon renderIcon(String value)
DynamicEnumParameter
renderIcon
in class DynamicEnumParameter<String>
value
- the valuepublic Font toFont(int style, int size)
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.