Class Length
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.wizard.model.Length
-
- All Implemented Interfaces:
Serializable
public final class Length extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Length(LengthUnit unit, double value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Float
getNormalizedValue()
LengthUnit
getUnit()
double
getValue()
int
hashCode()
static Length
parseLength(String s)
String
toString()
-
-
-
Constructor Detail
-
Length
public Length(LengthUnit unit, double value)
-
-
Method Detail
-
getValue
public double getValue()
-
getNormalizedValue
public Float getNormalizedValue()
-
getUnit
public LengthUnit getUnit()
-
parseLength
public static Length parseLength(String s) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-