Package net.sourceforge.plantuml.style
Class ValueAbstract
- java.lang.Object
-
- net.sourceforge.plantuml.style.ValueAbstract
-
- All Implemented Interfaces:
Value
- Direct Known Subclasses:
ValueColor
,ValueNull
public abstract class ValueAbstract extends java.lang.Object implements Value
-
-
Constructor Summary
Constructors Constructor Description ValueAbstract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
asBoolean()
HColor
asColor(HColorSet set)
double
asDouble()
double
asDoubleDefaultTo(double defaultValue)
int
asFontStyle()
HorizontalAlignment
asHorizontalAlignment()
int
asInt(boolean minusOneIfError)
java.lang.String
asString()
int
getPriority()
-
-
-
Method Detail
-
asDoubleDefaultTo
public double asDoubleDefaultTo(double defaultValue)
- Specified by:
asDoubleDefaultTo
in interfaceValue
-
asFontStyle
public int asFontStyle()
- Specified by:
asFontStyle
in interfaceValue
-
asHorizontalAlignment
public HorizontalAlignment asHorizontalAlignment()
- Specified by:
asHorizontalAlignment
in interfaceValue
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceValue
-
-