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 TypeMethodDescriptionbooleandoubleasDouble()doubleasDoubleDefaultTo(double defaultValue) intintasInt(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:
asDoubleDefaultToin interfaceValue
-
asBoolean
public boolean asBoolean() -
asFontStyle
public int asFontStyle()- Specified by:
asFontStylein interfaceValue
-
asHorizontalAlignment
- Specified by:
asHorizontalAlignmentin interfaceValue
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceValue
-