Class RenderLength
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.model.RenderLength
-
public final class RenderLength extends Object
Creation-Date: 09.07.2006, 21:03:12- Author:
- Thomas Morgner
-
-
Field Summary
Fields Modifier and Type Field Description static RenderLength
AUTO
static RenderLength
EMPTY
-
Constructor Summary
Constructors Constructor Description RenderLength(long value, boolean percentage)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RenderLength
createFromRaw(double rawValue)
static RenderLength
createPercentage(double rawValue)
boolean
equals(Object o)
long
getValue()
int
hashCode()
boolean
isPercentage()
long
resolve(long parent)
long
resolve(long parent, long auto)
static long
resolveLength(long parent, double rawvalue)
RenderLength
resolveToRenderLength(long parent)
String
toString()
-
-
-
Field Detail
-
AUTO
public static final RenderLength AUTO
-
EMPTY
public static final RenderLength EMPTY
-
-
Method Detail
-
getValue
public long getValue()
-
isPercentage
public boolean isPercentage()
-
resolve
public long resolve(long parent)
-
resolve
public long resolve(long parent, long auto)
-
resolveLength
public static long resolveLength(long parent, double rawvalue)
-
createFromRaw
public static RenderLength createFromRaw(double rawValue)
-
createPercentage
public static RenderLength createPercentage(double rawValue)
-
resolveToRenderLength
public RenderLength resolveToRenderLength(long parent)
-
-