org.pentaho.reporting.engine.classic.wizard.model
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
Todo: Document Me
- Author:
- Thomas Morgner
- See Also:
- Serialized Form
Length
public Length(LengthUnit unit,
double value)
getValue
public double getValue()
getNormalizedValue
public Float getNormalizedValue()
getUnit
public LengthUnit getUnit()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
parseLength
public static Length parseLength(String s)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
toString
public String toString()
- Overrides:
toString
in class Object