public abstract class DynamicSetParameter<T> extends Object
DynamicEnumParameterSettings
to define a supplier for the
items. Alternatively, use allowedValues to supply items.
allowedValues is preferred. If allowedValues is null, you have to use DynamicEnumParameterSettings
.Constructor and Description |
---|
DynamicSetParameter()
Creates a new instance with null value
|
DynamicSetParameter(DynamicSetParameter<T> other) |
DynamicSetParameter(Set<T> values) |
Modifier and Type | Method and Description |
---|---|
Set<T> |
getAllowedValues() |
Set<T> |
getValues() |
boolean |
isCollapsed() |
Icon |
renderIcon(T value)
Function that renders the icon.
|
String |
renderLabel(T value)
Function that renders the label.
|
String |
renderTooltip(T value)
Function that renders the tooltip.
|
void |
setAllowedValues(List<T> allowedValues) |
void |
setAllowedValues(Set<T> allowedValues) |
void |
setCollapsed(boolean collapsed) |
void |
setValues(Set<T> values) |
public DynamicSetParameter()
public DynamicSetParameter(DynamicSetParameter<T> other)
public boolean isCollapsed()
public void setCollapsed(boolean collapsed)
public String renderLabel(T value)
value
- the valuepublic String renderTooltip(T value)
value
- the tooltipCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.