public class MinorAxisNodeContext extends Object
Modifier | Constructor and Description |
---|---|
protected |
MinorAxisNodeContext(MinorAxisNodeContextPool pool) |
Modifier and Type | Method and 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) |
protected MinorAxisNodeContext(MinorAxisNodeContextPool pool)
protected void reuseParent(MinorAxisNodeContext context)
protected void reuse(boolean horizontal, boolean blockLevelNode, boolean overflowX, boolean blockNode)
public void setArea(long x, long left, long right, long width)
x
- left
- right
- width
- public long getX1()
public long getParentX1()
public long getX2()
public long getMaxChildX2()
public void updateX2(long position)
public void updateParentX2(long position)
public MinorAxisNodeContext pop()
public long getX()
public long getWidth()
public long getContentAreaWidth()
public boolean isOverflowX()
public long getResolvedPreferredSize()
public long getBlockContextWidth()
public long getParentX2()
Copyright © 2017 Hitachi Vantara. All rights reserved.