public abstract static class StyleElements.ColorElement extends Object implements StyleElements.StyleElement
Constructor and Description |
---|
ColorElement(String label) |
Modifier and Type | Method and Description |
---|---|
void |
accept(StyleElements.StyleElementVisitor visitor) |
abstract Color |
getColor() |
String |
getLabel() |
void |
onSet(Consumer<Color> set) |
abstract void |
setColor(Color c) |
void |
update() |
public ColorElement(String label)
public String getLabel()
public void accept(StyleElements.StyleElementVisitor visitor)
accept
in interface StyleElements.StyleElement
public void update()
update
in interface StyleElements.StyleElement
public abstract Color getColor()
public abstract void setColor(Color c)
Copyright © 2015–2021 Fiji. All rights reserved.