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 |
---|---|
boolean |
contains(T value) |
boolean |
equals(Object o) |
Set<T> |
getAllowedValues() |
Set<T> |
getValues() |
int |
hashCode() |
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 tooltippublic Icon renderIcon(T value)
value
- the valuepublic boolean contains(T value)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.