public class OptionalColorParameter extends OptionalParameter<Color>
Color
OptionalParameter.Deserializer<T>, OptionalParameter.Serializer
Constructor and Description |
---|
OptionalColorParameter()
Creates a new instance
|
OptionalColorParameter(Color color,
boolean enabled) |
OptionalColorParameter(OptionalColorParameter other)
Creates a copy
|
Modifier and Type | Method and Description |
---|---|
Color |
setNewInstance()
Adds a new instance of the content class
Override this method for types that cannot be default-constructed
|
equals, getContent, getContentClass, getContentOrDefault, getTextDescription, hashCode, isEnabled, setContent, setEnabled, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTextDescriptionOf
public OptionalColorParameter()
public OptionalColorParameter(Color color, boolean enabled)
public OptionalColorParameter(OptionalColorParameter other)
other
- the originalpublic Color setNewInstance()
OptionalParameter
setNewInstance
in class OptionalParameter<Color>
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.