Class MinorAxisNodeContext
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.process.util.MinorAxisNodeContext
-
- Direct Known Subclasses:
MinorAxisLogicalPageContext
public class MinorAxisNodeContext extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MinorAxisNodeContext(MinorAxisNodeContextPool pool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBlockContextWidth()
long
getContentAreaWidth()
long
getMaxChildX2()
long
getParentX1()
long
getParentX2()
long
getResolvedPreferredSize()
long
getWidth()
long
getX()
long
getX1()
long
getX2()
boolean
isOverflowX()
MinorAxisNodeContext
pop()
protected void
reuse(boolean horizontal, boolean blockLevelNode, boolean overflowX, boolean blockNode)
protected void
reuseParent(MinorAxisNodeContext context)
void
setArea(long x, long left, long right, long width)
Defines the active area for the element.void
updateParentX2(long position)
void
updateX2(long position)
-
-
-
Constructor Detail
-
MinorAxisNodeContext
protected MinorAxisNodeContext(MinorAxisNodeContextPool pool)
-
-
Method Detail
-
reuseParent
protected void reuseParent(MinorAxisNodeContext context)
-
reuse
protected void reuse(boolean horizontal, boolean blockLevelNode, boolean overflowX, boolean blockNode)
-
setArea
public void setArea(long x, long left, long right, long width)
Defines the active area for the element. Note that it is absolutely legal to define elements that have a content-area outside of the visible area (ie: sum of left and right insets is larger than the width). In that case, the element has a effective content-area width of zero. It still may generate content if the parent element has been set to 'overflow-x: true'.- Parameters:
x
-left
-right
-width
-
-
getX1
public long getX1()
-
getParentX1
public long getParentX1()
-
getX2
public long getX2()
-
getMaxChildX2
public long getMaxChildX2()
-
updateX2
public void updateX2(long position)
-
updateParentX2
public void updateParentX2(long position)
-
pop
public MinorAxisNodeContext pop()
-
getX
public long getX()
-
getWidth
public long getWidth()
-
getContentAreaWidth
public long getContentAreaWidth()
-
isOverflowX
public boolean isOverflowX()
-
getResolvedPreferredSize
public long getResolvedPreferredSize()
-
getBlockContextWidth
public long getBlockContextWidth()
-
getParentX2
public long getParentX2()
-
-