public abstract static class StyleElements.DoubleElement extends Object implements StyleElements.StyleElement
| Constructor and Description |
|---|
DoubleElement(String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StyleElements.StyleElementVisitor visitor) |
abstract double |
get() |
String |
getLabel() |
double |
getValue() |
void |
onSet(Consumer<Double> set) |
abstract void |
set(double v) |
void |
update() |
public DoubleElement(String label)
public double getValue()
public String getLabel()
public void accept(StyleElements.StyleElementVisitor visitor)
accept in interface StyleElements.StyleElementpublic abstract double get()
public abstract void set(double v)
public void update()
update in interface StyleElements.StyleElementCopyright © 2015–2021 Fiji. All rights reserved.