public abstract static class StyleElements.EnumElement<E> extends Object implements StyleElements.StyleElement
Constructor and Description |
---|
EnumElement(String label,
E[] values) |
Modifier and Type | Method and Description |
---|---|
void |
accept(StyleElements.StyleElementVisitor visitor) |
String |
getLabel() |
abstract E |
getValue() |
E[] |
getValues() |
void |
onSet(Consumer<E> set) |
abstract void |
setValue(E e) |
void |
update() |
public String getLabel()
public void accept(StyleElements.StyleElementVisitor visitor)
accept
in interface StyleElements.StyleElement
public void update()
update
in interface StyleElements.StyleElement
public abstract E getValue()
public abstract void setValue(E e)
public E[] getValues()
Copyright © 2015–2021 Fiji. All rights reserved.