Class MinorAxisLayoutStepUtil
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.process.MinorAxisLayoutStepUtil
-
public class MinorAxisLayoutStepUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static RenderLength
FULL_WIDTH_LENGTH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
resolveNodeWidthForMinChunkCalculation(RenderBox box)
Calculates the minimum area a element will consume.static long
resolveNodeWidthOnFinish(RenderBox box, MinorAxisNodeContext nodeContext, boolean strictLegacyMode)
static long
resolveNodeWidthOnStart(RenderBox box, MinorAxisNodeContext nodeContext, long x)
static long
resolveNodeWidthOnStartForCanvasLegacy(RenderBox box, MinorAxisNodeContext nodeContext, long x)
-
-
-
Field Detail
-
FULL_WIDTH_LENGTH
public static final RenderLength FULL_WIDTH_LENGTH
-
-
Method Detail
-
resolveNodeWidthOnStart
public static long resolveNodeWidthOnStart(RenderBox box, MinorAxisNodeContext nodeContext, long x)
-
resolveNodeWidthOnStartForCanvasLegacy
public static long resolveNodeWidthOnStartForCanvasLegacy(RenderBox box, MinorAxisNodeContext nodeContext, long x)
-
resolveNodeWidthOnFinish
public static long resolveNodeWidthOnFinish(RenderBox box, MinorAxisNodeContext nodeContext, boolean strictLegacyMode)
-
resolveNodeWidthForMinChunkCalculation
public static long resolveNodeWidthForMinChunkCalculation(RenderBox box)
Calculates the minimum area a element will consume. The returned value references the border-box, the area that includes border, padding and content-box.- Parameters:
box
-- Returns:
-
-