Class ProcessUtility
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.process.util.ProcessUtility
-
public class ProcessUtility extends Object
Creation-Date: 16.07.2007, 13:42:43- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
computeBlockContextWidth(RenderNode box)
Returns the computed block-context width.static long
computeLength(long min, long max, long pref)
static boolean
hasBorderEdge(StyleSheet style)
static boolean
isContent(RenderBox element, boolean ellipseAsBackground, boolean shapesAsContent)
static BorderEdge
produceBorderEdge(StyleSheet style)
static long
resolveComputedWidth(RenderBox box)
-
-
-
Method Detail
-
computeBlockContextWidth
public static long computeBlockContextWidth(RenderNode box)
Returns the computed block-context width. This width is a content-size width - so it excludes paddings and borders. (See CSS3-BOX 4.2; http://www.w3.org/TR/css3-box/#containing)- Parameters:
box
- the box for which the block-context width should be computed.- Returns:
- the block context width.
-
isContent
public static boolean isContent(RenderBox element, boolean ellipseAsBackground, boolean shapesAsContent)
-
hasBorderEdge
public static boolean hasBorderEdge(StyleSheet style)
-
produceBorderEdge
public static BorderEdge produceBorderEdge(StyleSheet style)
-
computeLength
public static long computeLength(long min, long max, long pref)
-
resolveComputedWidth
public static long resolveComputedWidth(RenderBox box)
-
-