Package net.sourceforge.plantuml.style
Class ValueAbstract
java.lang.Object
net.sourceforge.plantuml.style.ValueAbstract
- All Implemented Interfaces:
Value
- Direct Known Subclasses:
ValueColor
,ValueNull
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
asDouble()
double
asDoubleDefaultTo
(double defaultValue) int
int
asInt
(boolean minusOneIfError) asString()
int
-
Constructor Details
-
ValueAbstract
public ValueAbstract()
-
-
Method Details
-
asString
-
asColor
-
asInt
public int asInt(boolean minusOneIfError) -
asDouble
public double asDouble() -
asDoubleDefaultTo
public double asDoubleDefaultTo(double defaultValue) - Specified by:
asDoubleDefaultTo
in interfaceValue
-
asBoolean
public boolean asBoolean() -
asFontStyle
public int asFontStyle()- Specified by:
asFontStyle
in interfaceValue
-
asHorizontalAlignment
- Specified by:
asHorizontalAlignment
in interfaceValue
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceValue
-